
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
f6a8531
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.1+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-212.873.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.34.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": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 793.604096, | |
"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.84553369140625, | |
"mean": 7.84553369140625, | |
"stdev": 0.0, | |
"p50": 7.84553369140625, | |
"p90": 7.84553369140625, | |
"p95": 7.84553369140625, | |
"p99": 7.84553369140625, | |
"values": [ | |
7.84553369140625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.162406888884157e-07, | |
"ram": 4.869040723773072e-07, | |
"gpu": 1.70250136200022e-06, | |
"total": 3.105646123265943e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1049.088, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 186, | |
"total": 1.00343439912796, | |
"mean": 0.005394808597462152, | |
"stdev": 0.0003552334142159423, | |
"p50": 0.0053637118339538575, | |
"p90": 0.005484031915664673, | |
"p95": 0.005711103796958923, | |
"p99": 0.0077481985330581675, | |
"values": [ | |
0.007890944004058837, | |
0.007981056213378907, | |
0.007723008155822754, | |
0.006173696041107178, | |
0.005787648200988769, | |
0.006171648025512695, | |
0.005639167785644531, | |
0.0052336640357971195, | |
0.005268640041351318, | |
0.005251071929931641, | |
0.005223423957824707, | |
0.00522649621963501, | |
0.005269504070281982, | |
0.005204991817474365, | |
0.00542310380935669, | |
0.00537497615814209, | |
0.0053637118339538575, | |
0.005426176071166992, | |
0.005398528099060058, | |
0.005398528099060058, | |
0.005390336036682129, | |
0.005388288021087646, | |
0.005452799797058106, | |
0.005798912048339844, | |
0.005370880126953125, | |
0.005371903896331787, | |
0.00537395191192627, | |
0.005388288021087646, | |
0.005431295871734619, | |
0.0053637118339538575, | |
0.005363808155059814, | |
0.005463039875030518, | |
0.005380095958709717, | |
0.005355519771575928, | |
0.005419007778167725, | |
0.005352447986602784, | |
0.005398528099060058, | |
0.005401599884033203, | |
0.005410816192626953, | |
0.0053944320678710935, | |
0.005467135906219483, | |
0.0053534722328186036, | |
0.005400576114654541, | |
0.005242879867553711, | |
0.005219327926635742, | |
0.0053043198585510255, | |
0.005389311790466309, | |
0.005450751781463623, | |
0.0054917120933532714, | |
0.005359615802764893, | |
0.005483520030975342, | |
0.005387263774871826, | |
0.0054906878471374515, | |
0.005414912223815918, | |
0.005590015888214111, | |
0.005370880126953125, | |
0.0053606400489807126, | |
0.005414912223815918, | |
0.0053309440612792965, | |
0.005348351955413819, | |
0.0053944320678710935, | |
0.005338111877441406, | |
0.005352447986602784, | |
0.005370880126953125, | |
0.00538316822052002, | |
0.00577023983001709, | |
0.005653503894805908, | |
0.006112256050109863, | |
0.005591040134429932, | |
0.005452799797058106, | |
0.0054579200744628905, | |
0.005390336036682129, | |
0.005603328227996827, | |
0.005414912223815918, | |
0.005399551868438721, | |
0.005355519771575928, | |
0.005378047943115235, | |
0.005417984008789062, | |
0.005400576114654541, | |
0.00537395191192627, | |
0.005345280170440674, | |
0.005336063861846924, | |
0.005368832111358642, | |
0.005172224044799805, | |
0.005165056228637695, | |
0.005206016063690186, | |
0.0051998720169067385, | |
0.00515174388885498, | |
0.005216256141662597, | |
0.005174272060394287, | |
0.005249023914337158, | |
0.005298175811767578, | |
0.005277696132659912, | |
0.005172224044799805, | |
0.005201920032501221, | |
0.005157887935638428, | |
0.005164031982421875, | |
0.005173247814178467, | |
0.005238783836364746, | |
0.005174272060394287, | |
0.005327871799468994, | |
0.005362688064575195, | |
0.005395455837249756, | |
0.005201920032501221, | |
0.0053309440612792965, | |
0.005295104026794434, | |
0.005370880126953125, | |
0.0053975038528442385, | |
0.00541593599319458, | |
0.0053647360801696775, | |
0.005470208168029785, | |
0.005378047943115235, | |
0.005406720161437988, | |
0.005409791946411133, | |
0.005414912223815918, | |
0.005342207908630371, | |
0.005426176071166992, | |
0.0054271998405456545, | |
0.005462016105651855, | |
0.005354496002197265, | |
0.005256192207336426, | |
0.0054241280555725096, | |
0.005238783836364746, | |
0.005186560153961181, | |
0.005215231895446777, | |
0.005201920032501221, | |
0.005251071929931641, | |
0.005146624088287354, | |
0.005191743850708008, | |
0.005195775985717774, | |
0.005157887935638428, | |
0.005195775985717774, | |
0.005260287761688232, | |
0.005250048160552978, | |
0.00535859203338623, | |
0.005447679996490478, | |
0.005165056228637695, | |
0.005201920032501221, | |
0.005730303764343261, | |
0.005598207950592041, | |
0.005469183921813964, | |
0.00541593599319458, | |
0.0053340158462524415, | |
0.005433343887329102, | |
0.005351424217224121, | |
0.00536575984954834, | |
0.005414912223815918, | |
0.005375999927520752, | |
0.005387263774871826, | |
0.0054241280555725096, | |
0.005377024173736572, | |
0.0053606400489807126, | |
0.005447679996490478, | |
0.005392384052276611, | |
0.005484543800354004, | |
0.005411839962005615, | |
0.005344255924224854, | |
0.005331967830657959, | |
0.00521830415725708, | |
0.00522547197341919, | |
0.005219327926635742, | |
0.005185535907745361, | |
0.005245952129364013, | |
0.005178368091583252, | |
0.005248000144958496, | |
0.005231711864471435, | |
0.00517632007598877, | |
0.005255167961120606, | |
0.005187583923339844, | |
0.005261312007904053, | |
0.0052008957862854, | |
0.005183487892150879, | |
0.005212160110473632, | |
0.005436416149139404, | |
0.005408768177032471, | |
0.0052408318519592285, | |
0.005388288021087646, | |
0.005210112094879151, | |
0.005193727970123291, | |
0.00517632007598877, | |
0.005198847770690918, | |
0.005178368091583252, | |
0.00515174388885498, | |
0.005221375942230225, | |
0.005230591773986816, | |
0.005193727970123291 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.36338814141138 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.316934469193217e-08, | |
"ram": 3.453565583368162e-08, | |
"gpu": 1.2365258119148844e-07, | |
"total": 2.2135758171710225e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4517577.361673622 | |
} | |
} | |
} | |
} |