-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added prompt based testing of text generation models #452
Conversation
Disabling deepspeed prompt case for now
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MohitIntel Thanks for opening this PR as this is truly needed! I think we should measure the throughput and the accuracy in the same test (kind of the same as it is done for training). How long does it take to generate 1024 tokens with this prompt?
@regisss , I enabled accuracy check in the latest commit. The total time for running prompt based perf and accuracy tests for both bloomz-7b1 and llama-v2-13b-hf is nearly 26 minutes. Here is the timing breakdown for generating 1024 tokens: |
@MohitIntel Could we reduce the size of the prompt and the number of tokens to generate? 128 for both could be good enough no? |
What does this PR do?
Enables prompt based tests for text generation models and compares the performance with baseline numbers.