
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base/benchmark.json with huggingface_hub
d3ebbee
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_multiple-choice_FacebookAI/roberta-base", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 786.92352, | |
"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.34833642578125, | |
"mean": 7.34833642578125, | |
"stdev": 0.0, | |
"p50": 7.34833642578125, | |
"p90": 7.34833642578125, | |
"p95": 7.34833642578125, | |
"p99": 7.34833642578125, | |
"values": [ | |
7.34833642578125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.806748826381119e-07, | |
"ram": 4.6593457062151005e-07, | |
"gpu": 0.0, | |
"total": 1.346609453259622e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1082.564608, | |
"max_global_vram": 1195.900928, | |
"max_process_vram": 0.0, | |
"max_reserved": 555.74528, | |
"max_allocated": 509.038592 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 130, | |
"total": 1.001601089954376, | |
"mean": 0.007704623768879818, | |
"stdev": 0.00035782797459465196, | |
"p50": 0.007804927825927734, | |
"p90": 0.00796743688583374, | |
"p95": 0.008116684722900391, | |
"p99": 0.008806215553283687, | |
"values": [ | |
0.008967167854309082, | |
0.01002188777923584, | |
0.008170495986938477, | |
0.008094719886779785, | |
0.008013824462890624, | |
0.00841215991973877, | |
0.007914495944976807, | |
0.007832575798034667, | |
0.007881696224212647, | |
0.00788479995727539, | |
0.007878655910491944, | |
0.007841792106628418, | |
0.007853055953979492, | |
0.007938047885894776, | |
0.007862271785736084, | |
0.007966720104217529, | |
0.00790937614440918, | |
0.007885824203491211, | |
0.007855103969573975, | |
0.007862271785736084, | |
0.0078919677734375, | |
0.008006655693054199, | |
0.007875584125518798, | |
0.008040448188781739, | |
0.0078919677734375, | |
0.00787660789489746, | |
0.007856128215789794, | |
0.007894015789031983, | |
0.007907328128814697, | |
0.007837696075439453, | |
0.0077916159629821775, | |
0.007813119888305664, | |
0.007914495944976807, | |
0.007857151985168457, | |
0.00785100793838501, | |
0.00786636781692505, | |
0.007886847972869874, | |
0.007964672088623047, | |
0.007949312210083008, | |
0.007911424160003662, | |
0.007845888137817383, | |
0.00782643222808838, | |
0.00783564805984497, | |
0.007921664237976075, | |
0.00797388792037964, | |
0.007561215877532959, | |
0.00754585599899292, | |
0.007464928150177002, | |
0.007435264110565186, | |
0.007520256042480469, | |
0.007493631839752197, | |
0.007759871959686279, | |
0.008345600128173827, | |
0.007863296031951903, | |
0.007836639881134033, | |
0.007848959922790527, | |
0.007816192150115966, | |
0.00783564805984497, | |
0.007817215919494629, | |
0.007903232097625732, | |
0.007922688007354736, | |
0.00788479995727539, | |
0.008134655952453614, | |
0.007869440078735352, | |
0.007857151985168457, | |
0.007898111820220948, | |
0.007536640167236328, | |
0.007825407981872558, | |
0.007796735763549805, | |
0.007742464065551758, | |
0.007392255783081054, | |
0.007294976234436036, | |
0.007439424037933349, | |
0.0074414081573486324, | |
0.007226367950439453, | |
0.007116799831390381, | |
0.00710038423538208, | |
0.007211008071899414, | |
0.007707647800445557, | |
0.007896063804626464, | |
0.007816192150115966, | |
0.00789299201965332, | |
0.008043519973754883, | |
0.007863296031951903, | |
0.008350720405578613, | |
0.00778547191619873, | |
0.0074967041015625, | |
0.0074700798988342285, | |
0.007478271961212158, | |
0.00743936014175415, | |
0.007412735939025879, | |
0.007444479942321777, | |
0.007444479942321777, | |
0.007432191848754883, | |
0.00739737606048584, | |
0.007449600219726562, | |
0.0074291200637817386, | |
0.007431168079376221, | |
0.007444479942321777, | |
0.007419904232025146, | |
0.007420991897583008, | |
0.007408639907836914, | |
0.007427072048187256, | |
0.007371776103973389, | |
0.007391232013702393, | |
0.007366655826568603, | |
0.007417856216430664, | |
0.007400447845458984, | |
0.007373824119567871, | |
0.007445504188537597, | |
0.007417856216430664, | |
0.007395328044891358, | |
0.0073820161819458, | |
0.00739737606048584, | |
0.0074076480865478515, | |
0.007384064197540283, | |
0.007408639907836914, | |
0.007367680072784424, | |
0.0073697280883789065, | |
0.007377920150756836, | |
0.00740556812286377, | |
0.0073431038856506346, | |
0.007416831970214844, | |
0.007419904232025146, | |
0.007607295989990235, | |
0.007428127765655518, | |
0.007323647975921631, | |
0.007372799873352051, | |
0.007354368209838867, | |
0.007377920150756836 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 129.7921910267905 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 8.564367328637304e-08, | |
"ram": 4.682297571816494e-08, | |
"gpu": 1.60397810172663e-07, | |
"total": 2.92864459177201e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3414548.8421827876 | |
} | |
} | |
} | |
} |