IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ea81fe3
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model_type": "roberta", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "5", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"no_weights": true, | |
"device_map": null, | |
"torch_dtype": null, | |
"eval_mode": true, | |
"to_bettertransformer": false, | |
"low_cpu_mem_usage": null, | |
"attn_implementation": null, | |
"cache_implementation": null, | |
"autocast_enabled": false, | |
"autocast_dtype": null, | |
"torch_compile": false, | |
"torch_compile_target": "forward", | |
"torch_compile_config": {}, | |
"quantization_scheme": null, | |
"quantization_config": {}, | |
"deepspeed_inference": false, | |
"deepspeed_inference_config": {}, | |
"peft_type": null, | |
"peft_config": {} | |
}, | |
"scenario": { | |
"name": "inference", | |
"_target_": "optimum_benchmark.scenarios.inference.scenario.InferenceScenario", | |
"iterations": 1, | |
"duration": 1, | |
"warmup_runs": 1, | |
"input_shapes": { | |
"batch_size": 1, | |
"num_choices": 2, | |
"sequence_length": 2 | |
}, | |
"new_tokens": null, | |
"memory": true, | |
"latency": true, | |
"energy": false, | |
"forward_kwargs": {}, | |
"generate_kwargs": { | |
"max_new_tokens": 2, | |
"min_new_tokens": 2 | |
}, | |
"call_kwargs": { | |
"num_inference_steps": 2 | |
} | |
}, | |
"launcher": { | |
"name": "process", | |
"_target_": "optimum_benchmark.launchers.process.launcher.ProcessLauncher", | |
"device_isolation": true, | |
"device_isolation_action": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 956.29312, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 44702.662656, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.8360126953125, | |
"mean": 7.8360126953125, | |
"stdev": 0.0, | |
"p50": 7.8360126953125, | |
"p90": 7.8360126953125, | |
"p95": 7.8360126953125, | |
"p99": 7.8360126953125, | |
"values": [ | |
7.8360126953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1080.623104, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 224010.305536, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.999614639759064, | |
"mean": 0.007459810744470625, | |
"stdev": 0.0010353584994323393, | |
"p50": 0.007204780101776123, | |
"p90": 0.008059865951538086, | |
"p95": 0.00810196123123169, | |
"p99": 0.009603094367980933, | |
"values": [ | |
0.008128617286682129, | |
0.008044938087463378, | |
0.008242856979370118, | |
0.008012936592102051, | |
0.007721098899841308, | |
0.007073101043701172, | |
0.00708814001083374, | |
0.007106860160827636, | |
0.017699630737304687, | |
0.003567349910736084, | |
0.007121260166168213, | |
0.007104939937591552, | |
0.007083020210266113, | |
0.007052460193634033, | |
0.007116940021514893, | |
0.007098380088806152, | |
0.007072940826416015, | |
0.00709614086151123, | |
0.007835658073425292, | |
0.00827885627746582, | |
0.008183337211608887, | |
0.00808637809753418, | |
0.007921737194061279, | |
0.007447178840637207, | |
0.007704938888549805, | |
0.00764317798614502, | |
0.00747101879119873, | |
0.0071420598030090335, | |
0.00717165994644165, | |
0.007473099231719971, | |
0.007118859767913818, | |
0.007138700008392334, | |
0.0071465401649475095, | |
0.007165259838104248, | |
0.007107019901275635, | |
0.007153419971466064, | |
0.010255331039428712, | |
0.007717098236083984, | |
0.007209740161895752, | |
0.007431179046630859, | |
0.007220139980316162, | |
0.007402379035949707, | |
0.007376618862152099, | |
0.007496298789978028, | |
0.0073287801742553714, | |
0.007289259910583496, | |
0.007252299785614013, | |
0.007341739177703858, | |
0.007444778919219971, | |
0.007173900127410889, | |
0.007191979885101318, | |
0.007168779850006104, | |
0.007362699031829834, | |
0.007428779125213623, | |
0.007216460227966308, | |
0.007179019927978515, | |
0.007651817798614502, | |
0.007331980228424072, | |
0.007406219959259033, | |
0.0073614192008972165, | |
0.007137420177459716, | |
0.007161900043487549, | |
0.0071940598487854005, | |
0.0072236590385437015, | |
0.007152780055999756, | |
0.007181739807128907, | |
0.007197579860687256, | |
0.007171820163726807, | |
0.007191819190979004, | |
0.00719950008392334, | |
0.007152140140533447, | |
0.007155980110168457, | |
0.007155179977416992, | |
0.007174379825592041, | |
0.007169579982757569, | |
0.007171339988708496, | |
0.007143340110778809, | |
0.007132619857788086, | |
0.007207499980926514, | |
0.0071819000244140625, | |
0.007171979904174805, | |
0.007161099910736084, | |
0.007188458919525146, | |
0.007200139999389649, | |
0.007173580169677734, | |
0.007199339866638184, | |
0.007162059783935547, | |
0.007211658954620361, | |
0.007198219776153565, | |
0.00719182014465332, | |
0.007177740097045898, | |
0.007192619800567627, | |
0.007156620025634766, | |
0.007140140056610108, | |
0.007196139812469482, | |
0.00721261978149414, | |
0.00719294023513794, | |
0.007226378917694092, | |
0.007186059951782227, | |
0.007213739871978759, | |
0.0071751799583435055, | |
0.007182859897613526, | |
0.007195819854736328, | |
0.007223179817199707, | |
0.007176939964294434, | |
0.007199659824371338, | |
0.0072033400535583495, | |
0.00722141981124878, | |
0.007151659965515137, | |
0.0071537399291992185, | |
0.007652778148651123, | |
0.008043977737426758, | |
0.008030056953430176, | |
0.008068937301635742, | |
0.00805805778503418, | |
0.008104456901550292, | |
0.0077450981140136715, | |
0.007369259834289551, | |
0.007505418777465821, | |
0.008058857917785645, | |
0.00807389736175537, | |
0.00810061740875244, | |
0.008060297966003417, | |
0.008091176986694336, | |
0.008039816856384278, | |
0.00806093692779541, | |
0.0076734180450439456, | |
0.00797453784942627, | |
0.007474218845367432, | |
0.00751517915725708, | |
0.007183179855346679, | |
0.007206220149993897, | |
0.0072191801071167, | |
0.007352458953857422 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.05165817929387 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |