-
Notifications
You must be signed in to change notification settings - Fork 863
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
Refactor benchmark script for LLM benchmark integration #2897
Conversation
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.
Thanks @mreso for the great work. Only one question:
Will this PR break existing benchmark dashboard pipeline b/c auto-benchmark.py is built based on benchmark-ab.py? Can we test it to see if there are any changes needed in auto-benchmark.py?
@lxning auto-benchmark.py is using benchmark-ab.py as a script. The refactor does not alter the external behavior of the script. It only adds the option to use locust instead of ab. The output format (of the final ab-report.txt) is equivalent. We discussed the format of the intermediate results in our meeting last week and concluded these are not used anywhere. Did you find a place where they are used? I've asked @agunapal to test some of his use cases for benchmark-ab.py in order to make sure the external behavior is the same. |
Sorry, haven't been able to find time to test this yet. |
Verified that the auto_benchmark script works as before.
|
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.
LGTM. As discussed, we need to monitor the dashboard to check nothing breaks once this is merged.
Description
This PR refactors the benchmark script for easier integration of an LLM benchmark
Type of change
Please delete options that are not relevant.
Feature/Issue validation/testing
Please describe the Unit or Integration tests that you ran to verify your changes and relevant result summary. Provide instructions so it can be reproduced.
Please also list any relevant details for your test configuration.
Checklist: