IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
ce3150c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+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": 1078.08768, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45803.80672, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.48901953125, | |
"mean": 8.48901953125, | |
"stdev": 0.0, | |
"p50": 8.48901953125, | |
"p90": 8.48901953125, | |
"p95": 8.48901953125, | |
"p99": 8.48901953125, | |
"values": [ | |
8.48901953125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1195.651072, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 234491.74016, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 0.9954288239479069, | |
"mean": 0.0074285733130440785, | |
"stdev": 0.0008572700528106351, | |
"p50": 0.00733286190032959, | |
"p90": 0.007774045896530152, | |
"p95": 0.00823495659828186, | |
"p99": 0.009572284727096536, | |
"values": [ | |
0.007848941802978515, | |
0.007636462211608887, | |
0.0075124621391296385, | |
0.007287182807922363, | |
0.007549262046813965, | |
0.007410061836242676, | |
0.008417099952697753, | |
0.0072639818191528325, | |
0.007193902969360352, | |
0.007193902969360352, | |
0.007156463146209717, | |
0.007106223106384277, | |
0.007166862964630127, | |
0.007198862075805664, | |
0.007176143169403076, | |
0.0071500630378723146, | |
0.007120623111724854, | |
0.007177262783050537, | |
0.00715198278427124, | |
0.00715358304977417, | |
0.007175181865692139, | |
0.0071647830009460445, | |
0.007158223152160644, | |
0.007153742790222168, | |
0.007119022846221924, | |
0.0071316628456115725, | |
0.007133102893829345, | |
0.00712574291229248, | |
0.010141256332397462, | |
0.007793262004852295, | |
0.007193902015686035, | |
0.007196302890777588, | |
0.007329742908477783, | |
0.007332781791687012, | |
0.007300942897796631, | |
0.007343341827392578, | |
0.007359982013702393, | |
0.007299502849578857, | |
0.0072956628799438475, | |
0.007331023216247559, | |
0.0072537422180175785, | |
0.007280783176422119, | |
0.007310542106628418, | |
0.007337263107299805, | |
0.007357262134552002, | |
0.007333582878112793, | |
0.007318062782287598, | |
0.0073324618339538575, | |
0.007301103115081787, | |
0.00730638313293457, | |
0.007306222915649414, | |
0.007310381889343262, | |
0.0073140630722045895, | |
0.007310222148895264, | |
0.007323503017425537, | |
0.007286221981048584, | |
0.007319983005523682, | |
0.007330381870269775, | |
0.007272303104400635, | |
0.007313422203063965, | |
0.007334383010864258, | |
0.007348621845245361, | |
0.007439661979675293, | |
0.007337102890014649, | |
0.007291341781616211, | |
0.007310702800750733, | |
0.007305741786956787, | |
0.00732990312576294, | |
0.007332942008972168, | |
0.007376943111419678, | |
0.0073839821815490725, | |
0.007336781978607178, | |
0.007406542778015137, | |
0.007362862110137939, | |
0.00734702205657959, | |
0.007389263153076172, | |
0.007326221942901611, | |
0.007355662822723388, | |
0.007396943092346191, | |
0.0073895821571350094, | |
0.007364942073822022, | |
0.00735230302810669, | |
0.014871164321899414, | |
0.0024183950424194337, | |
0.006105744838714599, | |
0.007332302093505859, | |
0.007322543144226075, | |
0.007349421977996826, | |
0.007319182872772217, | |
0.007345582008361816, | |
0.007327182769775391, | |
0.007321422100067139, | |
0.007360462188720703, | |
0.007352622985839843, | |
0.007343982219696045, | |
0.007335342884063721, | |
0.007313261985778809, | |
0.007315823078155518, | |
0.007334862232208252, | |
0.007360622882843017, | |
0.0072969431877136235, | |
0.0073343820571899416, | |
0.007337742805480957, | |
0.007337902069091797, | |
0.007317421913146972, | |
0.007368943214416504, | |
0.007368301868438721, | |
0.007359982967376709, | |
0.00729550313949585, | |
0.007311983108520508, | |
0.007327662944793701, | |
0.007353102207183838, | |
0.00733646297454834, | |
0.007368941783905029, | |
0.007539981842041015, | |
0.008273099899291992, | |
0.008262700080871582, | |
0.008261581420898438, | |
0.008322380065917968, | |
0.007882221221923828, | |
0.007717260837554932, | |
0.007728302001953125, | |
0.007745901107788086, | |
0.008025260925292968, | |
0.008220620155334472, | |
0.008014060020446778, | |
0.0077777419090271, | |
0.007765421867370606, | |
0.007702540874481201, | |
0.007591981887817383, | |
0.007419501781463623, | |
0.0073164629936218264, | |
0.007378702163696289, | |
0.007350061893463135 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 134.6153504662957 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |