
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
1ef2c55
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.1", | |
"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.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 802.934784, | |
"max_global_vram": 1192.7552, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07221759796142578 | |
], | |
"count": 1, | |
"total": 0.07221759796142578, | |
"mean": 0.07221759796142578, | |
"p50": 0.07221759796142578, | |
"p90": 0.07221759796142578, | |
"p95": 0.07221759796142578, | |
"p99": 0.07221759796142578, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1089.155072, | |
"max_global_vram": 1203.24096, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.03808 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006319104194641113, | |
0.0060661759376525876, | |
0.006037504196166992, | |
0.006329343795776367, | |
0.006337535858154297, | |
0.006304736137390137, | |
0.006315008163452148, | |
0.006294528007507324, | |
0.006273024082183838, | |
0.006307839870452881, | |
0.00625977611541748, | |
0.00633241605758667, | |
0.006329343795776367, | |
0.006184959888458252, | |
0.006164480209350586, | |
0.0061931519508361815, | |
0.006329343795776367, | |
0.006281216144561768, | |
0.006240255832672119, | |
0.006304768085479737, | |
0.006211584091186524, | |
0.0063211522102355954, | |
0.0062259202003479, | |
0.006724607944488525, | |
0.006557695865631104, | |
0.006376448154449463, | |
0.006512639999389648, | |
0.006411263942718506, | |
0.006747136116027832, | |
0.006978559970855713, | |
0.006309887886047363, | |
0.0062863359451293946, | |
0.006288383960723877, | |
0.006318079948425293, | |
0.006638591766357422, | |
0.006346752166748047, | |
0.00624128007888794, | |
0.006328320026397705, | |
0.006307839870452881, | |
0.006322175979614258, | |
0.00616755199432373, | |
0.0061931519508361815, | |
0.006238207817077636, | |
0.006205376148223877, | |
0.0062791681289672855, | |
0.0063272957801818845, | |
0.006391808032989502, | |
0.006246399879455566, | |
0.006230016231536865, | |
0.006266880035400391, | |
0.006288383960723877, | |
0.00628223991394043, | |
0.006218751907348633, | |
0.0062679038047790524, | |
0.006239232063293457, | |
0.006271999835968017, | |
0.006384640216827392, | |
0.006405119895935059, | |
0.006354944229125976, | |
0.006405119895935059, | |
0.006346720218658447, | |
0.006372352123260498, | |
0.0062566399574279785, | |
0.006359039783477783, | |
0.0063211522102355954, | |
0.0062791681289672855, | |
0.006198272228240966, | |
0.006243328094482422, | |
0.006307839870452881, | |
0.006114304065704346, | |
0.006139904022216797, | |
0.00606822395324707, | |
0.005951488018035888, | |
0.006206463813781738, | |
0.006255616188049316, | |
0.00607539176940918, | |
0.0059391999244689945, | |
0.0058757119178771975, | |
0.00597811222076416, | |
0.006044672012329101, | |
0.0059699201583862304, | |
0.0060282878875732426, | |
0.006127615928649902, | |
0.006245376110076905, | |
0.006188032150268555, | |
0.006261760234832763, | |
0.006498271942138672, | |
0.006285312175750732, | |
0.005975039958953857, | |
0.005863423824310303, | |
0.005822463989257813, | |
0.0060293121337890625, | |
0.00582041597366333, | |
0.006054912090301514, | |
0.006293504238128662, | |
0.005857279777526855, | |
0.0058336958885192875, | |
0.00586137580871582, | |
0.005780479907989502, | |
0.006025216102600098, | |
0.005829631805419922, | |
0.005895167827606201, | |
0.00581324815750122, | |
0.005937151908874512, | |
0.005816319942474365, | |
0.005853184223175049, | |
0.005814271926879883, | |
0.005826560020446778, | |
0.005791744232177734, | |
0.005832704067230224, | |
0.005803008079528809, | |
0.005964799880981446, | |
0.005848063945770264, | |
0.005825535774230957, | |
0.005843967914581299, | |
0.005832704067230224, | |
0.006037504196166992, | |
0.005864480018615723, | |
0.005970943927764893, | |
0.005853184223175049, | |
0.005891071796417236, | |
0.005835775852203369, | |
0.005814271926879883, | |
0.005827583789825439, | |
0.005844992160797119, | |
0.005817344188690185, | |
0.0058009600639343266, | |
0.005797887802124023, | |
0.005810175895690918, | |
0.005824512004852295, | |
0.005819392204284668, | |
0.00581324815750122, | |
0.005772287845611572, | |
0.005847040176391601, | |
0.005834752082824707, | |
0.005848063945770264, | |
0.0058726401329040525, | |
0.005835775852203369, | |
0.0058122239112854005, | |
0.005848063945770264, | |
0.005804031848907471, | |
0.005795839786529541, | |
0.005830719947814942, | |
0.0058009600639343266, | |
0.005837823867797852, | |
0.005884928226470947, | |
0.005856256008148194, | |
0.005826560020446778, | |
0.005832704067230224, | |
0.005944320201873779, | |
0.005881855964660645, | |
0.0058388481140136715, | |
0.005899263858795166, | |
0.0058388481140136715, | |
0.005835775852203369, | |
0.005806079864501953, | |
0.0058429441452026365, | |
0.0059391999244689945, | |
0.005888000011444092, | |
0.00586137580871582, | |
0.005774335861206055, | |
0.005922815799713135, | |
0.0058388481140136715, | |
0.0059136319160461425 | |
], | |
"count": 164, | |
"total": 0.9977968640327454, | |
"mean": 0.006084127219711862, | |
"p50": 0.006049792051315308, | |
"p90": 0.006346742582321167, | |
"p95": 0.006405119895935059, | |
"p99": 0.006732943367958069, | |
"stdev": 0.00024505832989400354, | |
"stdev_": 4.027830468436674 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 164.3621120807791 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.877773437300104e-08, | |
"ram": 3.7582280665366875e-08, | |
"gpu": 1.340768574219605e-07, | |
"total": 2.404368724603284e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4159095.856501785 | |
} | |
} | |
} | |
} |