IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5ef0bf2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "multiple-choice", | |
"library": "transformers", | |
"model": "FacebookAI/roberta-base", | |
"processor": "FacebookAI/roberta-base", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"model_kwargs": {}, | |
"processor_kwargs": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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": "error", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "48414f58841d7ba7c7fd42d74fd524d1d23c3081", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1004.208128, | |
"max_global_vram": 1878.827008, | |
"max_process_vram": 228049.38752, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.507712 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 127, | |
"total": 0.9951523995399472, | |
"mean": 0.007835845665668879, | |
"stdev": 0.0003667269054130144, | |
"p50": 0.007817292213439941, | |
"p90": 0.008298092651367188, | |
"p95": 0.008320076847076417, | |
"p99": 0.008539843158721923, | |
"values": [ | |
0.008319851875305175, | |
0.008122252464294434, | |
0.008099532127380371, | |
0.008139212608337403, | |
0.008297133445739745, | |
0.007940011978149414, | |
0.00752593183517456, | |
0.007538890838623047, | |
0.007845612049102783, | |
0.00760833215713501, | |
0.007337131023406982, | |
0.008168972969055176, | |
0.008051692008972168, | |
0.008012492179870606, | |
0.00801745319366455, | |
0.007790572166442871, | |
0.00776337194442749, | |
0.007515531063079834, | |
0.0070140910148620604, | |
0.007462730884552002, | |
0.007954572200775147, | |
0.007975051879882813, | |
0.007995212078094482, | |
0.007651371955871582, | |
0.007866732120513916, | |
0.007688332080841065, | |
0.007624971866607666, | |
0.00784033203125, | |
0.009369133949279785, | |
0.008593132972717285, | |
0.00831665325164795, | |
0.008301612854003906, | |
0.008310253143310548, | |
0.008297133445739745, | |
0.008298571586608888, | |
0.008291533470153808, | |
0.008271212577819825, | |
0.008249932289123536, | |
0.008321771621704102, | |
0.008261452674865723, | |
0.008235372543334962, | |
0.008260812759399414, | |
0.00823777198791504, | |
0.008283852577209472, | |
0.008260652542114258, | |
0.008320173263549805, | |
0.008282732009887696, | |
0.008246413230895996, | |
0.00831665325164795, | |
0.008275531768798828, | |
0.008323851585388184, | |
0.008263532638549804, | |
0.007661612033843994, | |
0.007682092189788818, | |
0.007817771911621094, | |
0.007698252201080323, | |
0.0075443310737609865, | |
0.007353930950164795, | |
0.0073742508888244625, | |
0.007363370895385742, | |
0.007572651863098145, | |
0.00815521240234375, | |
0.008297773361206054, | |
0.007999852180480957, | |
0.007298091888427735, | |
0.007331050872802734, | |
0.0073742508888244625, | |
0.007420812129974365, | |
0.0073241710662841795, | |
0.007358891010284424, | |
0.007360971927642822, | |
0.007323370933532715, | |
0.007366570949554443, | |
0.0073440117835998535, | |
0.007381930828094483, | |
0.007349451065063476, | |
0.0073284912109375, | |
0.007328811168670654, | |
0.007436171054840088, | |
0.007594091892242432, | |
0.007652011871337891, | |
0.007367530822753906, | |
0.0073926510810852055, | |
0.007780811786651611, | |
0.007856331825256347, | |
0.0077251319885253905, | |
0.00760673189163208, | |
0.0076358518600463865, | |
0.007716492176055908, | |
0.007681291103363037, | |
0.007760011196136475, | |
0.007802092075347901, | |
0.007879693031311035, | |
0.007978251934051514, | |
0.007802092075347901, | |
0.007883371829986573, | |
0.007764172077178955, | |
0.007678572177886963, | |
0.00767169189453125, | |
0.00736897087097168, | |
0.0076302518844604495, | |
0.007918571949005127, | |
0.007834571838378906, | |
0.007865131855010987, | |
0.008158252716064454, | |
0.008333612442016601, | |
0.008388172149658204, | |
0.008154732704162598, | |
0.007817292213439941, | |
0.00779393196105957, | |
0.007879851818084717, | |
0.007839372158050537, | |
0.007872491836547852, | |
0.007897451877593994, | |
0.0078083319664001465, | |
0.007811212062835694, | |
0.007828970909118653, | |
0.00792769193649292, | |
0.007858251094818115, | |
0.0077129721641540526, | |
0.007877131938934327, | |
0.007757452011108399, | |
0.007694091796875, | |
0.0074115309715271, | |
0.007455531120300293, | |
0.007368011951446533, | |
0.00745441198348999 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 127.61864419832708 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |