-
Notifications
You must be signed in to change notification settings - Fork 317
enable batch_size auto for model eval #2675
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
Conversation
Stack from ghstack (oldest at bottom): |
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/2675
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Summary: enables passing `--batch_size auto` to model eval script on LLaMa 3.1 8B and wikitext + hellaswag, this reduces the runtime from 13 minutes to 4.5 minutes on my machines (a 2.9x speedup) Test Plan: ``` with-proxy time python benchmarks/_models/eval_hf_models.py --model_id meta-llama/Llama-3.1-8B --tasks wikitext hellaswag --batch_size auto ``` Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 9a91dd6 ghstack-comment-id: 3151916665 Pull Request resolved: #2675
Summary: enables passing `--batch_size auto` to model eval script on LLaMa 3.1 8B and wikitext + hellaswag, this reduces the runtime from 13 minutes to 4.5 minutes on my machines (a 2.9x speedup) Test Plan: ``` with-proxy time python benchmarks/_models/eval_hf_models.py --model_id meta-llama/Llama-3.1-8B --tasks wikitext hellaswag --batch_size auto ``` Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: 91c5dd0 ghstack-comment-id: 3151916665 Pull Request resolved: #2675
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.
int still works right?
Summary: enables passing `--batch_size auto` to model eval script on LLaMa 3.1 8B and wikitext + hellaswag, this reduces the runtime from 13 minutes to 4.5 minutes on my machines (a 2.9x speedup) Test Plan: ``` with-proxy time python benchmarks/_models/eval_hf_models.py --model_id meta-llama/Llama-3.1-8B --tasks wikitext hellaswag --batch_size auto ``` Reviewers: Subscribers: Tasks: Tags: ghstack-source-id: d4da3ce ghstack-comment-id: 3151916665 Pull Request resolved: #2675
yes, it does |
Summary:
enables passing
--batch_size auto
to model eval scripton LLaMa 3.1 8B and wikitext + hellaswag, this reduces the runtime from
13 minutes to 4.5 minutes on my machines (a 2.9x speedup)
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags: