
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
bdee6d2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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": "0", | |
"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": true, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.1", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 718.811136, | |
"max_global_vram": 1185.415168, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.18639697265625, | |
"mean": 7.18639697265625, | |
"stdev": 0.0, | |
"p50": 7.18639697265625, | |
"p90": 7.18639697265625, | |
"p95": 7.18639697265625, | |
"p99": 7.18639697265625, | |
"values": [ | |
7.18639697265625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.966252207756043e-07, | |
"ram": 4.758179919657361e-07, | |
"gpu": 1.7352791659985822e-06, | |
"total": 3.1077223787399226e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 918.482944, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 137, | |
"total": 1.0022829794883727, | |
"mean": 0.007315934156849436, | |
"stdev": 0.0004512043854417093, | |
"p50": 0.007250944137573242, | |
"p90": 0.007505510330200195, | |
"p95": 0.007788544082641601, | |
"p99": 0.009657824363708475, | |
"values": [ | |
0.010388480186462403, | |
0.010222592353820802, | |
0.00852070426940918, | |
0.00764415979385376, | |
0.007697408199310303, | |
0.00801689624786377, | |
0.007729152202606201, | |
0.0070563840866088865, | |
0.007024640083312988, | |
0.007028736114501953, | |
0.007039999961853028, | |
0.007004159927368164, | |
0.007005184173583984, | |
0.0070256638526916505, | |
0.007011328220367432, | |
0.007049215793609619, | |
0.007427072048187256, | |
0.00865379238128662, | |
0.007772160053253174, | |
0.007388160228729248, | |
0.007404543876647949, | |
0.007314432144165039, | |
0.007278592109680176, | |
0.007323616027832032, | |
0.00729804801940918, | |
0.007270400047302246, | |
0.007286784172058106, | |
0.007303167819976806, | |
0.00727347183227539, | |
0.007266304016113281, | |
0.007252992153167725, | |
0.007234560012817383, | |
0.007235583782196045, | |
0.00724070405960083, | |
0.007260159969329834, | |
0.007241727828979493, | |
0.007198719978332519, | |
0.007235583782196045, | |
0.0072499198913574215, | |
0.00723967981338501, | |
0.007250944137573242, | |
0.00722431993484497, | |
0.007211008071899414, | |
0.007241727828979493, | |
0.007238656044006348, | |
0.007293951988220215, | |
0.007322624206542969, | |
0.007329792022705078, | |
0.007368768215179443, | |
0.007304192066192627, | |
0.008421376228332519, | |
0.007520256042480469, | |
0.0073697280883789065, | |
0.00749567985534668, | |
0.007325695991516113, | |
0.007370751857757568, | |
0.007258111953735351, | |
0.007287807941436767, | |
0.007261248111724854, | |
0.007270400047302246, | |
0.007233535766601563, | |
0.007243775844573975, | |
0.007553023815155029, | |
0.007426047801971435, | |
0.007404543876647949, | |
0.0074700798988342285, | |
0.0072724480628967286, | |
0.007394303798675537, | |
0.007364607810974121, | |
0.007250944137573242, | |
0.007260159969329834, | |
0.007286784172058106, | |
0.00727347183227539, | |
0.0072980160713195805, | |
0.007370751857757568, | |
0.007223296165466309, | |
0.007763967990875244, | |
0.007323647975921631, | |
0.007307263851165771, | |
0.007250944137573242, | |
0.007219200134277344, | |
0.007228415966033935, | |
0.007245823860168457, | |
0.007256063938140869, | |
0.007226367950439453, | |
0.007231488227844239, | |
0.007302144050598145, | |
0.007222271919250488, | |
0.007181312084197998, | |
0.007216127872467041, | |
0.007222335815429687, | |
0.007244768142700195, | |
0.007292928218841553, | |
0.007854080200195313, | |
0.007274496078491211, | |
0.007334911823272705, | |
0.007280640125274658, | |
0.007274496078491211, | |
0.007250944137573242, | |
0.007206912040710449, | |
0.007217152118682861, | |
0.007323647975921631, | |
0.006996992111206054, | |
0.007334911823272705, | |
0.007251967906951904, | |
0.007293951988220215, | |
0.00724889612197876, | |
0.007301087856292725, | |
0.00719974422454834, | |
0.007163904190063477, | |
0.007181312084197998, | |
0.007002111911773682, | |
0.0069550080299377445, | |
0.007130112171173096, | |
0.006923264026641846, | |
0.006944767951965332, | |
0.006933472156524658, | |
0.00695084810256958, | |
0.006947840213775635, | |
0.006945792198181152, | |
0.007345151901245117, | |
0.006975488185882568, | |
0.006914048194885254, | |
0.007016448020935059, | |
0.006949888229370117, | |
0.006946815967559815, | |
0.00693555212020874, | |
0.007222271919250488, | |
0.007209983825683594, | |
0.007229440212249756, | |
0.007174143791198731, | |
0.0071495680809020995, | |
0.00708403205871582, | |
0.00698473596572876, | |
0.006971392154693603, | |
0.006968319892883301, | |
0.006939648151397705 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 136.6879442270219 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.59559158196196e-08, | |
"ram": 4.699219176630329e-08, | |
"gpu": 1.6567646104349412e-07, | |
"total": 2.9862456862941696e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3348686.2939297077 | |
} | |
} | |
} | |
} |