-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
add npu_group_size
for transformers_int4_npu_win
in all-in-one benchmark api
#12316
Conversation
small bugfix
@@ -2193,6 +2198,8 @@ def run_pipeline_parallel_gpu(repo_id, | |||
optimize_model = conf['optimize_model'] | |||
if 'group_size' in conf: | |||
group_size = conf['group_size'] |
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.
remove above if.
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.
others LGTM.
npu_group_size
for transformers_int4_npu_win
npu_group_size
for transformers_int4_npu_win
in all-in-one benchmark api
@@ -214,7 +214,8 @@ def run_model(repo_id, test_api, in_out_pairs, local_model_hub=None, warm_up=1, | |||
round(result[in_out_pair][-1][5], 2), | |||
result[in_out_pair][-1][6] if any(keyword in test_api for keyword in ['int4_gpu', 'int4_fp16_gpu_win', 'int4_loadlowbit_gpu', 'int4_fp16_loadlowbit_gpu', 'fp16_gpu', 'deepspeed_optimize_model_gpu']) and not lookahead else 'N/A', | |||
streaming if 'win' in test_api else 'N/A', | |||
use_fp16_torch_dtype if 'pipeline_parallel_gpu' in test_api else 'N/A'], | |||
use_fp16_torch_dtype if 'pipeline_parallel_gpu' in test_api else 'N/A', | |||
group_size], |
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.
Should we make group_size value "N/A" for other test_api? Maybe confusing
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.
Good point, we will fix this in next PR . 😊
small bugfix
Description
1. Why the change?
2. User API changes
3. Summary of the change
4. How to test?
1234
). And paste your action link here once it has been successfully finished.5. New dependencies
- Dependency1
- Dependency2
- ...
- Dependency1 and license1
- Dependency2 and license2
- ...