Small fix to all-in-one benchmark scripts (#12317)
This commit is contained in:
parent
48123af463
commit
20755e8077
1 changed files with 22 additions and 20 deletions
|
|
@ -215,7 +215,7 @@ def run_model(repo_id, test_api, in_out_pairs, local_model_hub=None, warm_up=1,
|
|||
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',
|
||||
group_size],
|
||||
group_size if 'transformers_int4_npu_win' in test_api else 'N/A'],
|
||||
)
|
||||
|
||||
|
||||
|
|
@ -2196,6 +2196,8 @@ if __name__ == '__main__':
|
|||
task = conf['task']
|
||||
if 'optimize_model' in conf:
|
||||
optimize_model = conf['optimize_model']
|
||||
if 'group_size' in conf:
|
||||
group_size = conf['group_size']
|
||||
if 'npu_group_size' in conf:
|
||||
group_size = conf['npu_group_size']
|
||||
lookahead = False
|
||||
|
|
|
|||
Loading…
Reference in a new issue