
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
00cfcfa
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+cu124", | |
"_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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.225-213.878.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.0", | |
"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.13.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.766848, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07140249633789063 | |
], | |
"count": 1, | |
"total": 0.07140249633789063, | |
"mean": 0.07140249633789063, | |
"p50": 0.07140249633789063, | |
"p90": 0.07140249633789063, | |
"p95": 0.07140249633789063, | |
"p99": 0.07140249633789063, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1089.1264, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0061972479820251464, | |
0.006064127922058105, | |
0.005988351821899414, | |
0.006062079906463623, | |
0.006005760192871094, | |
0.005997600078582764, | |
0.005988351821899414, | |
0.0059699201583862304, | |
0.005942272186279297, | |
0.005996543884277344, | |
0.006014976024627685, | |
0.006061056137084961, | |
0.005989376068115234, | |
0.006006720066070556, | |
0.005881855964660645, | |
0.005836800098419189, | |
0.005834752082824707, | |
0.005943295955657959, | |
0.005971968173980713, | |
0.005997568130493164, | |
0.0060631041526794435, | |
0.006371327877044678, | |
0.006255616188049316, | |
0.006212607860565185, | |
0.006277120113372803, | |
0.00628326416015625, | |
0.0060631041526794435, | |
0.0060282878875732426, | |
0.0060631041526794435, | |
0.006038527965545654, | |
0.006024191856384278, | |
0.005984255790710449, | |
0.0059996161460876465, | |
0.00588592004776001, | |
0.005945343971252442, | |
0.006021120071411133, | |
0.006554624080657959, | |
0.006346752166748047, | |
0.0062228479385375976, | |
0.007696383953094482, | |
0.006821887969970703, | |
0.007164927959442138, | |
0.006136832237243653, | |
0.006252543926239014, | |
0.0061931519508361815, | |
0.006244351863861084, | |
0.00638976001739502, | |
0.00637337589263916, | |
0.0062638077735900875, | |
0.006189055919647217, | |
0.006260672092437744, | |
0.006245376110076905, | |
0.005983232021331787, | |
0.006341631889343262, | |
0.006318079948425293, | |
0.006338560104370118, | |
0.006227968215942382, | |
0.006423552036285401, | |
0.006457344055175781, | |
0.006401023864746094, | |
0.006416384220123291, | |
0.006243328094482422, | |
0.006090752124786377, | |
0.006024191856384278, | |
0.006025216102600098, | |
0.005957632064819336, | |
0.006025216102600098, | |
0.006003712177276611, | |
0.005904384136199951, | |
0.005808127880096436, | |
0.005942272186279297, | |
0.005896192073822021, | |
0.005852159976959229, | |
0.005788671970367432, | |
0.005824512004852295, | |
0.00563097620010376, | |
0.005753856182098388, | |
0.006198272228240966, | |
0.006043647766113281, | |
0.005825535774230957, | |
0.005848063945770264, | |
0.005875679969787597, | |
0.005850111961364746, | |
0.00608358383178711, | |
0.00603545618057251, | |
0.006053887844085694, | |
0.006201344013214111, | |
0.006159359931945801, | |
0.006180863857269287, | |
0.0062873601913452145, | |
0.006091775894165039, | |
0.005870528221130371, | |
0.00601804780960083, | |
0.005895167827606201, | |
0.005984255790710449, | |
0.005898240089416504, | |
0.005979135990142822, | |
0.005898240089416504, | |
0.005907455921173096, | |
0.005810175895690918, | |
0.005856256008148194, | |
0.0058122239112854005, | |
0.005817344188690185, | |
0.005932032108306885, | |
0.005846015930175781, | |
0.005880832195281982, | |
0.00586956787109375, | |
0.005836800098419189, | |
0.005783552169799804, | |
0.005808127880096436, | |
0.00582144021987915, | |
0.005811200141906738, | |
0.0057794561386108395, | |
0.005831679821014404, | |
0.0057794561386108395, | |
0.005823488235473633, | |
0.005775360107421875, | |
0.005831744194030762, | |
0.005817344188690185, | |
0.00582041597366333, | |
0.005859327793121338, | |
0.0058122239112854005, | |
0.005826560020446778, | |
0.005787648200988769, | |
0.005818367958068848, | |
0.005780479907989502, | |
0.0058418879508972165, | |
0.005824512004852295, | |
0.005882880210876465, | |
0.005843999862670898, | |
0.005827583789825439, | |
0.005814271926879883, | |
0.00581324815750122, | |
0.005823488235473633, | |
0.005812160015106201, | |
0.005807104110717773, | |
0.005826591968536377, | |
0.005819392204284668, | |
0.005787648200988769, | |
0.005825535774230957, | |
0.005804031848907471, | |
0.005814271926879883, | |
0.005810175895690918, | |
0.005805056095123291, | |
0.005834752082824707, | |
0.005795839786529541, | |
0.005805056095123291, | |
0.005825535774230957, | |
0.00582041597366333, | |
0.005787648200988769, | |
0.005858304023742676, | |
0.0057794561386108395, | |
0.005830656051635743, | |
0.005795839786529541, | |
0.005829631805419922, | |
0.005797887802124023, | |
0.005818367958068848, | |
0.005826560020446778, | |
0.005814271926879883, | |
0.005822463989257813, | |
0.005811200141906738, | |
0.005843967914581299, | |
0.005816319942474365, | |
0.005834752082824707, | |
0.005806079864501953, | |
0.00587775993347168, | |
0.00581324815750122 | |
], | |
"count": 167, | |
"total": 1.0003474583625793, | |
"mean": 0.0059901045410932895, | |
"p50": 0.005896192073822021, | |
"p90": 0.006279577732086181, | |
"p95": 0.006384844779968262, | |
"p99": 0.006938521566390993, | |
"stdev": 0.0002541006724012809, | |
"stdev_": 4.242007308188039 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 166.94199460790782 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.998380319443874e-08, | |
"ram": 3.8211948141835894e-08, | |
"gpu": 1.335311525764698e-07, | |
"total": 2.417269039127444e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4136899.880871215 | |
} | |
} | |
} | |
} |