
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
53fbb8e
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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"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": 783.048704, | |
"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.5482939453125, | |
"mean": 7.5482939453125, | |
"stdev": 0.0, | |
"p50": 7.5482939453125, | |
"p90": 7.5482939453125, | |
"p95": 7.5482939453125, | |
"p99": 7.5482939453125, | |
"values": [ | |
7.5482939453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.651207652773844e-07, | |
"ram": 4.910971607832088e-07, | |
"gpu": 1.706112476000058e-06, | |
"total": 3.162330402060651e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.635008, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 187, | |
"total": 1.0007753286361687, | |
"mean": 0.005351739725327109, | |
"stdev": 0.00019932074215307433, | |
"p50": 0.005291007995605469, | |
"p90": 0.005593497657775879, | |
"p95": 0.005732351779937744, | |
"p99": 0.00612786169052124, | |
"values": [ | |
0.00612556791305542, | |
0.006141952037811279, | |
0.005881855964660645, | |
0.0058419198989868165, | |
0.00577023983001709, | |
0.005879807949066162, | |
0.005844992160797119, | |
0.006561791896820069, | |
0.005732351779937744, | |
0.0052715520858764645, | |
0.005210112094879151, | |
0.005279744148254394, | |
0.005245952129364013, | |
0.005219327926635742, | |
0.005287936210632324, | |
0.005400576114654541, | |
0.005206016063690186, | |
0.005216256141662597, | |
0.005204991817474365, | |
0.005264448165893555, | |
0.005355519771575928, | |
0.005430272102355957, | |
0.005643263816833496, | |
0.005389311790466309, | |
0.005463039875030518, | |
0.005463039875030518, | |
0.005468160152435303, | |
0.005445631980895996, | |
0.005450751781463623, | |
0.005437439918518067, | |
0.005475327968597412, | |
0.005455872058868408, | |
0.005294079780578613, | |
0.005279744148254394, | |
0.005220352172851562, | |
0.00519484806060791, | |
0.005241951942443848, | |
0.005243904113769531, | |
0.005594111919403076, | |
0.0056258559226989744, | |
0.0056483840942382815, | |
0.0055316481590271, | |
0.005509119987487793, | |
0.005505023956298828, | |
0.0056483840942382815, | |
0.005480447769165039, | |
0.005518335819244385, | |
0.0054917120933532714, | |
0.005453824043273926, | |
0.005433343887329102, | |
0.005390336036682129, | |
0.005422080039978027, | |
0.005464064121246338, | |
0.005378047943115235, | |
0.005396480083465576, | |
0.005426176071166992, | |
0.005368832111358642, | |
0.005406720161437988, | |
0.005417984008789062, | |
0.005384191989898681, | |
0.005402624130249023, | |
0.005214208126068115, | |
0.005313536167144775, | |
0.005328896045684814, | |
0.005203968048095703, | |
0.005174272060394287, | |
0.0051968002319335935, | |
0.005246975898742676, | |
0.005203968048095703, | |
0.005213183879852295, | |
0.005254144191741943, | |
0.005192704200744629, | |
0.0052070398330688475, | |
0.005208064079284668, | |
0.0052408318519592285, | |
0.005188672065734863, | |
0.0051968002319335935, | |
0.00520908784866333, | |
0.005224448204040527, | |
0.005169151782989502, | |
0.005202943801879883, | |
0.005184512138366699, | |
0.005311488151550293, | |
0.005336063861846924, | |
0.005174272060394287, | |
0.005190656185150146, | |
0.005183487892150879, | |
0.00522547197341919, | |
0.005228544235229492, | |
0.005235712051391602, | |
0.005241856098175048, | |
0.005203968048095703, | |
0.00567193603515625, | |
0.005202943801879883, | |
0.005155839920043945, | |
0.005175295829772949, | |
0.005214208126068115, | |
0.005178368091583252, | |
0.005202943801879883, | |
0.005214208126068115, | |
0.005238783836364746, | |
0.005193727970123291, | |
0.005340191841125488, | |
0.0052008957862854, | |
0.0051773438453674315, | |
0.005291007995605469, | |
0.005276671886444092, | |
0.005192704200744629, | |
0.005164031982421875, | |
0.0052008957862854, | |
0.0053350400924682614, | |
0.0052008957862854, | |
0.005230591773986816, | |
0.0052111358642578124, | |
0.005214208126068115, | |
0.005198847770690918, | |
0.005295135974884033, | |
0.005343232154846191, | |
0.005393407821655274, | |
0.005442560195922852, | |
0.005441535949707031, | |
0.005535744190216065, | |
0.005390336036682129, | |
0.005402624130249023, | |
0.005451776027679443, | |
0.0054241280555725096, | |
0.005429247856140137, | |
0.0054282240867614745, | |
0.0054568958282470706, | |
0.005185535907745361, | |
0.0052070398330688475, | |
0.005201920032501221, | |
0.005299200057983398, | |
0.005215231895446777, | |
0.00516096019744873, | |
0.005291007995605469, | |
0.005165056228637695, | |
0.005187583923339844, | |
0.0051660799980163576, | |
0.005155839920043945, | |
0.005204991817474365, | |
0.005181439876556396, | |
0.005224448204040527, | |
0.005410816192626953, | |
0.005636096000671387, | |
0.005239808082580567, | |
0.005265408039093018, | |
0.005339136123657226, | |
0.00536678409576416, | |
0.005331967830657959, | |
0.005238783836364746, | |
0.005400576114654541, | |
0.005321728229522705, | |
0.005593088150024414, | |
0.005409791946411133, | |
0.005542912006378174, | |
0.005624832153320313, | |
0.005732351779937744, | |
0.005805056095123291, | |
0.005405695915222168, | |
0.005437439918518067, | |
0.005362688064575195, | |
0.005326848030090332, | |
0.00530841588973999, | |
0.0052008957862854, | |
0.00520908784866333, | |
0.00526643180847168, | |
0.0052676482200622555, | |
0.005291007995605469, | |
0.005350399971008301, | |
0.005329919815063477, | |
0.005313536167144775, | |
0.005416959762573242, | |
0.005286911964416504, | |
0.005318655967712403, | |
0.00532480001449585, | |
0.00541593599319458, | |
0.00522649621963501, | |
0.00540067195892334, | |
0.005178368091583252, | |
0.005184512138366699, | |
0.005245952129364013, | |
0.005187583923339844, | |
0.005220352172851562, | |
0.005243904113769531, | |
0.005245952129364013, | |
0.005241856098175048 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 186.85512587009788 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.419722832957803e-08, | |
"ram": 3.5095803389182276e-08, | |
"gpu": 1.318334387999987e-07, | |
"total": 2.31126470518759e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4326635.533158616 | |
} | |
} | |
} | |
} |