
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
458e68d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+cu124", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"model_type": "bert", | |
"model": "google-bert/bert-base-uncased", | |
"processor": "google-bert/bert-base-uncased", | |
"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": 783.781888, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.43343310546875, | |
"mean": 7.43343310546875, | |
"stdev": 0.0, | |
"p50": 7.43343310546875, | |
"p90": 7.43343310546875, | |
"p95": 7.43343310546875, | |
"p99": 7.43343310546875, | |
"values": [ | |
7.43343310546875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.302771874995446e-07, | |
"ram": 4.941072716675517e-07, | |
"gpu": 1.689445795999972e-06, | |
"total": 3.1138302551670683e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.368192, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 189, | |
"total": 1.0028473286628719, | |
"mean": 0.005306070522025778, | |
"stdev": 0.000266633962863712, | |
"p50": 0.005186560153961181, | |
"p90": 0.005529600143432617, | |
"p95": 0.005963366508483886, | |
"p99": 0.006420917911529542, | |
"values": [ | |
0.00621670389175415, | |
0.006210559844970703, | |
0.006091807842254639, | |
0.005983232021331787, | |
0.005987328052520752, | |
0.0059391999244689945, | |
0.0059658241271972655, | |
0.00587775993347168, | |
0.006418464183807373, | |
0.005537792205810547, | |
0.005239808082580567, | |
0.005210112094879151, | |
0.005186560153961181, | |
0.005214208126068115, | |
0.005195775985717774, | |
0.00517632007598877, | |
0.005203968048095703, | |
0.005149695873260498, | |
0.005184512138366699, | |
0.0051701760292053225, | |
0.005214208126068115, | |
0.005194752216339111, | |
0.00515993595123291, | |
0.005169151782989502, | |
0.0051701760292053225, | |
0.005190656185150146, | |
0.005153791904449463, | |
0.005150720119476319, | |
0.00516096019744873, | |
0.005135359764099121, | |
0.00517632007598877, | |
0.005150720119476319, | |
0.005186560153961181, | |
0.005183487892150879, | |
0.005163008213043213, | |
0.005169151782989502, | |
0.005163008213043213, | |
0.0051773438453674315, | |
0.005180416107177735, | |
0.005135359764099121, | |
0.005153791904449463, | |
0.005119999885559082, | |
0.005164031982421875, | |
0.005130239963531494, | |
0.005169151782989502, | |
0.00515993595123291, | |
0.005149695873260498, | |
0.005187583923339844, | |
0.005144576072692871, | |
0.005145599842071533, | |
0.005145599842071533, | |
0.005153791904449463, | |
0.00515993595123291, | |
0.005138432025909424, | |
0.005178368091583252, | |
0.0051333122253417966, | |
0.005179391860961914, | |
0.005129216194152832, | |
0.005158912181854248, | |
0.005130239963531494, | |
0.005122047901153564, | |
0.005299200057983398, | |
0.005327871799468994, | |
0.005278719902038574, | |
0.0053678078651428224, | |
0.005326848030090332, | |
0.0053350400924682614, | |
0.005361663818359375, | |
0.005227519989013672, | |
0.005156864166259765, | |
0.005171199798583984, | |
0.0051404800415039064, | |
0.005154816150665284, | |
0.005139455795288086, | |
0.005175295829772949, | |
0.005156864166259765, | |
0.005165056228637695, | |
0.00517632007598877, | |
0.005153791904449463, | |
0.00515993595123291, | |
0.005156864166259765, | |
0.005156864166259765, | |
0.005180416107177735, | |
0.0051363840103149415, | |
0.005173247814178467, | |
0.005145599842071533, | |
0.005164031982421875, | |
0.005148672103881836, | |
0.005253119945526123, | |
0.005154816150665284, | |
0.005155839920043945, | |
0.005175295829772949, | |
0.00643891191482544, | |
0.006236159801483154, | |
0.006586368083953857, | |
0.005586944103240967, | |
0.005403647899627686, | |
0.005355519771575928, | |
0.005315584182739258, | |
0.005337088108062744, | |
0.005354496002197265, | |
0.005305344104766845, | |
0.005371903896331787, | |
0.005412864208221436, | |
0.005321728229522705, | |
0.005527552127838135, | |
0.005400576114654541, | |
0.005322751998901368, | |
0.0053340158462524415, | |
0.005292031764984131, | |
0.00531763219833374, | |
0.005281792163848877, | |
0.005314559936523438, | |
0.0052971520423889164, | |
0.005150720119476319, | |
0.005148672103881836, | |
0.0051363840103149415, | |
0.005155839920043945, | |
0.005150720119476319, | |
0.005163008213043213, | |
0.005179391860961914, | |
0.005275648117065429, | |
0.005328896045684814, | |
0.0053944320678710935, | |
0.005882880210876465, | |
0.005499904155731201, | |
0.005350399971008301, | |
0.005130239963531494, | |
0.005153791904449463, | |
0.005493760108947754, | |
0.00530841588973999, | |
0.0053350400924682614, | |
0.0054906878471374515, | |
0.005278719902038574, | |
0.005327871799468994, | |
0.005292031764984131, | |
0.0053043198585510255, | |
0.005312511920928955, | |
0.005311488151550293, | |
0.005291007995605469, | |
0.005332992076873779, | |
0.005321728229522705, | |
0.00531660795211792, | |
0.005295104026794434, | |
0.005169151782989502, | |
0.005127168178558349, | |
0.005156864166259765, | |
0.00511078405380249, | |
0.005155839920043945, | |
0.005124095916748047, | |
0.005157887935638428, | |
0.005787648200988769, | |
0.005959680080413818, | |
0.005414912223815918, | |
0.005282815933227539, | |
0.005185535907745361, | |
0.005172224044799805, | |
0.005149695873260498, | |
0.005149695873260498, | |
0.005121024131774903, | |
0.005173247814178467, | |
0.005139455795288086, | |
0.005302271842956543, | |
0.00515174388885498, | |
0.005132287979125977, | |
0.005153791904449463, | |
0.0051476478576660155, | |
0.005371903896331787, | |
0.0056483840942382815, | |
0.005370880126953125, | |
0.005322751998901368, | |
0.005350399971008301, | |
0.005755904197692871, | |
0.005377024173736572, | |
0.005321728229522705, | |
0.005380095958709717, | |
0.005292031764984131, | |
0.005368832111358642, | |
0.0053944320678710935, | |
0.0053637118339538575, | |
0.0054651198387145996, | |
0.005213183879852295, | |
0.0051476478576660155, | |
0.005201920032501221, | |
0.005192704200744629, | |
0.005158912181854248, | |
0.005189631938934326, | |
0.005153791904449463, | |
0.005178368091583252 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 188.46338280822832 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.393966139112918e-08, | |
"ram": 3.481732918626523e-08, | |
"gpu": 1.264143783118284e-07, | |
"total": 2.251713688892228e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4441061.956202649 | |
} | |
} | |
} | |
} |