Skip to content

Add timings for the prompt evaluation #478

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Mar 25, 2023

Conversation

slaren
Copy link
Member

@slaren slaren commented Mar 24, 2023

This should help measure the prompt processing times, which will be useful when optimizing this part.

This is pretty much a hack since it assumes that anything with batch size > 1 is part of the prompt, but I don't see any other way to tell the difference from llama.cpp at the moment, which is where the other timings are measured and printed at the moment. Another option would be adding the timings to main.cpp instead.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants