IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
5688bc2
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": 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", | |
"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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1387.597824, | |
"max_global_vram": 11.137024, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.37152 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.724330078125, | |
"mean": 7.724330078125, | |
"stdev": 0.0, | |
"p50": 7.724330078125, | |
"p90": 7.724330078125, | |
"p95": 7.724330078125, | |
"p99": 7.724330078125, | |
"values": [ | |
7.724330078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1513.275392, | |
"max_global_vram": 11.137024, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 499.5072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 123, | |
"total": 1.0031430969238282, | |
"mean": 0.008155634934340067, | |
"stdev": 0.000756080682784084, | |
"p50": 0.008066534042358398, | |
"p90": 0.008382821273803711, | |
"p95": 0.008452102088928222, | |
"p99": 0.010802285728454592, | |
"values": [ | |
0.008452134132385254, | |
0.008078055381774902, | |
0.008163015365600585, | |
0.00865021324157715, | |
0.008270054817199708, | |
0.008210535049438477, | |
0.008175813674926757, | |
0.008211334228515626, | |
0.008155653953552246, | |
0.00811117458343506, | |
0.008066534042358398, | |
0.008056614875793457, | |
0.007975975036621093, | |
0.007956134796142577, | |
0.007945895195007324, | |
0.007972455024719239, | |
0.007935495853424072, | |
0.007919976234436035, | |
0.007942855834960938, | |
0.007962375164031983, | |
0.008019174575805664, | |
0.007929415225982665, | |
0.007950214862823487, | |
0.00791773509979248, | |
0.007975174903869628, | |
0.007947014808654786, | |
0.007975494861602784, | |
0.011325883865356445, | |
0.008217413902282715, | |
0.007827176094055175, | |
0.007849736213684082, | |
0.007926054954528809, | |
0.007938694953918458, | |
0.007912614822387695, | |
0.007939014911651611, | |
0.007939014911651611, | |
0.007960454940795898, | |
0.007965734958648682, | |
0.007945895195007324, | |
0.007958374977111816, | |
0.00797021484375, | |
0.007950214862823487, | |
0.007962695121765137, | |
0.007953414916992188, | |
0.00791773509979248, | |
0.007903335094451904, | |
0.008229093551635742, | |
0.00836989402770996, | |
0.008275493621826172, | |
0.00836125373840332, | |
0.008241254806518555, | |
0.007936295986175537, | |
0.007913256168365478, | |
0.007946535110473633, | |
0.008145255088806152, | |
0.008222694396972657, | |
0.007892775058746337, | |
0.00805421543121338, | |
0.008578693389892578, | |
0.008407973289489746, | |
0.00844205379486084, | |
0.008317733764648437, | |
0.008449254035949707, | |
0.008271333694458007, | |
0.008175813674926757, | |
0.008195653915405273, | |
0.008250213623046876, | |
0.008235013961791993, | |
0.008195814132690429, | |
0.008343334197998048, | |
0.008215014457702636, | |
0.008234213829040528, | |
0.008240453720092774, | |
0.008215173721313477, | |
0.00819725513458252, | |
0.008281893730163574, | |
0.008226055145263672, | |
0.008217414855957032, | |
0.00819261360168457, | |
0.008208933830261231, | |
0.00819245433807373, | |
0.008246213912963866, | |
0.008193254470825195, | |
0.008362374305725097, | |
0.008296613693237304, | |
0.008329093933105469, | |
0.008278694152832031, | |
0.008289894104003907, | |
0.008263653755187988, | |
0.008241733551025391, | |
0.008279173851013184, | |
0.008317573547363281, | |
0.008299333572387695, | |
0.007913094997406006, | |
0.007880935192108154, | |
0.007893575191497802, | |
0.007916295051574707, | |
0.007899335861206055, | |
0.007911975860595704, | |
0.00794109582901001, | |
0.007909095764160157, | |
0.007904934883117675, | |
0.0079286150932312, | |
0.007904934883117675, | |
0.007893895149230957, | |
0.007906215190887451, | |
0.007931015014648438, | |
0.007886054992675782, | |
0.007906694889068604, | |
0.00810013484954834, | |
0.00789597511291504, | |
0.007890375137329101, | |
0.007878695011138916, | |
0.00791389513015747, | |
0.007885095119476318, | |
0.007911015033721923, | |
0.008538533210754394, | |
0.008945892333984375, | |
0.014498515129089356, | |
0.0043287849426269535, | |
0.008430374145507813, | |
0.008451813697814942, | |
0.008386053085327149 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 122.61461039525028 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |