IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
06f8b92
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.0.dev20231010+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": "6", | |
"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": 957.067264, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 45264.879616, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.1591474609375, | |
"mean": 8.1591474609375, | |
"stdev": 0.0, | |
"p50": 8.1591474609375, | |
"p90": 8.1591474609375, | |
"p95": 8.1591474609375, | |
"p99": 8.1591474609375, | |
"values": [ | |
8.1591474609375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.011648, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 224903.74144, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 132, | |
"total": 1.0011543745994573, | |
"mean": 0.007584502837874673, | |
"stdev": 0.0004292566322914227, | |
"p50": 0.007838650941848754, | |
"p90": 0.007963692092895509, | |
"p95": 0.008122539520263669, | |
"p99": 0.008589225034713745, | |
"values": [ | |
0.008274251937866212, | |
0.008283371925354005, | |
0.008418412208557128, | |
0.008536011695861816, | |
0.008411372184753418, | |
0.007856491088867188, | |
0.00783889102935791, | |
0.0078384108543396, | |
0.00861313247680664, | |
0.0072984108924865725, | |
0.007314410209655762, | |
0.007367209911346435, | |
0.007254089832305908, | |
0.007227369785308838, | |
0.007247210025787354, | |
0.007194089889526367, | |
0.007196170806884766, | |
0.007229290008544922, | |
0.00724144983291626, | |
0.007247529983520508, | |
0.007233130931854248, | |
0.007244969844818115, | |
0.007247529983520508, | |
0.007240970134735108, | |
0.007234410762786865, | |
0.007214089870452881, | |
0.007253449916839599, | |
0.007285610198974609, | |
0.008720172882080077, | |
0.007212649822235107, | |
0.007037769794464111, | |
0.007066249847412109, | |
0.0070680098533630374, | |
0.007064169883728028, | |
0.007062089920043945, | |
0.007052330017089844, | |
0.0070816102027893065, | |
0.00721136999130249, | |
0.007110889911651611, | |
0.007176169872283936, | |
0.007104810237884522, | |
0.007099370002746582, | |
0.007094890117645264, | |
0.007053770065307617, | |
0.007066569805145264, | |
0.007092010021209716, | |
0.007109449863433838, | |
0.007066249847412109, | |
0.007102250099182129, | |
0.0070590500831604, | |
0.007071209907531738, | |
0.007064010143280029, | |
0.007040649890899658, | |
0.007068809986114502, | |
0.007021289825439453, | |
0.007852651119232178, | |
0.007250569820404053, | |
0.007023849964141846, | |
0.007028329849243164, | |
0.00738336992263794, | |
0.007909292221069337, | |
0.00791697120666504, | |
0.007924971103668212, | |
0.007927530765533448, | |
0.007848491191864013, | |
0.007868171215057373, | |
0.007905611991882324, | |
0.007927051067352295, | |
0.00788081121444702, | |
0.007910891056060791, | |
0.007946731090545655, | |
0.007884811878204346, | |
0.007883211135864258, | |
0.007943370819091796, | |
0.007887371063232422, | |
0.007950571060180664, | |
0.007928492069244385, | |
0.007919530868530273, | |
0.00798737096786499, | |
0.007976810932159423, | |
0.007964332103729248, | |
0.007934091091156005, | |
0.007928811073303222, | |
0.007943850994110107, | |
0.007888011932373047, | |
0.00793121099472046, | |
0.007913451194763183, | |
0.007898090839385986, | |
0.007938090801239014, | |
0.00787585210800171, | |
0.007908811092376709, | |
0.007916491031646728, | |
0.007904651165008545, | |
0.007888970851898193, | |
0.00794353199005127, | |
0.007928811073303222, | |
0.007920011043548584, | |
0.007955690860748292, | |
0.007896811008453368, | |
0.007011849880218506, | |
0.006990409851074218, | |
0.007066090106964112, | |
0.007064330101013184, | |
0.00714976978302002, | |
0.007043529987335205, | |
0.007074570178985596, | |
0.007078410148620606, | |
0.00754417085647583, | |
0.007887051105499268, | |
0.00790337085723877, | |
0.007912812232971191, | |
0.00736097002029419, | |
0.007671531200408936, | |
0.007963691234588623, | |
0.007922251224517823, | |
0.007937451839447022, | |
0.0076105699539184574, | |
0.007929932117462159, | |
0.007933771133422852, | |
0.007998411178588866, | |
0.007883851051330566, | |
0.00796369218826294, | |
0.007943211078643798, | |
0.007977130889892579, | |
0.007946731090545655, | |
0.007974731922149658, | |
0.007945291042327881, | |
0.007930410861968993, | |
0.007345769882202148, | |
0.007323369979858398, | |
0.007384009838104248, | |
0.007315210819244385 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 131.84779825070507 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |