
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c613e6c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.285632, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"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": 714.063872, | |
"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.1906611328125, | |
"mean": 7.1906611328125, | |
"stdev": 0.0, | |
"p50": 7.1906611328125, | |
"p90": 7.1906611328125, | |
"p95": 7.1906611328125, | |
"p99": 7.1906611328125, | |
"values": [ | |
7.1906611328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.345809618631999e-07, | |
"ram": 4.960502424324886e-07, | |
"gpu": 1.7255569360052903e-06, | |
"total": 3.156188140300979e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 881.115136, | |
"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.000735838890076, | |
"mean": 0.005380300209086429, | |
"stdev": 0.00021987635181540063, | |
"p50": 0.0053381121158599856, | |
"p90": 0.005654016017913818, | |
"p95": 0.005711103916168213, | |
"p99": 0.006066432094573976, | |
"values": [ | |
0.005851136207580566, | |
0.00602726411819458, | |
0.005850111961364746, | |
0.005727231979370117, | |
0.005791744232177734, | |
0.005699584007263184, | |
0.00568012809753418, | |
0.005670911788940429, | |
0.005629951953887939, | |
0.0057149438858032225, | |
0.005422080039978027, | |
0.00537395191192627, | |
0.005404672145843506, | |
0.005371903896331787, | |
0.005429247856140137, | |
0.0053309440612792965, | |
0.00522649621963501, | |
0.0052070398330688475, | |
0.0052705278396606445, | |
0.005368832111358642, | |
0.005479423999786377, | |
0.005652480125427246, | |
0.005605375766754151, | |
0.005665791988372803, | |
0.005449728012084961, | |
0.005388288021087646, | |
0.005392384052276611, | |
0.005275648117065429, | |
0.005339136123657226, | |
0.005405695915222168, | |
0.005407743930816651, | |
0.005477375984191894, | |
0.005590015888214111, | |
0.005628928184509278, | |
0.005682176113128662, | |
0.005392384052276611, | |
0.005336063861846924, | |
0.005453824043273926, | |
0.005370880126953125, | |
0.005387263774871826, | |
0.005661695957183838, | |
0.005602303981781006, | |
0.005472256183624268, | |
0.005452799797058106, | |
0.005451776027679443, | |
0.005512191772460938, | |
0.005530623912811279, | |
0.005467135906219483, | |
0.005511168003082275, | |
0.005534719944000244, | |
0.005537792205810547, | |
0.00556441593170166, | |
0.005620768070220947, | |
0.00563097620010376, | |
0.005569536209106446, | |
0.005697535991668701, | |
0.005587967872619629, | |
0.005611519813537597, | |
0.005547008037567139, | |
0.005475327968597412, | |
0.0065781760215759275, | |
0.00561356782913208, | |
0.0056555519104003905, | |
0.005840896129608154, | |
0.006288383960723877, | |
0.005767168045043946, | |
0.005567488193511963, | |
0.00552243185043335, | |
0.005532671928405761, | |
0.00557260799407959, | |
0.005569536209106446, | |
0.00566476821899414, | |
0.005569536209106446, | |
0.005477375984191894, | |
0.005543935775756836, | |
0.005493760108947754, | |
0.005518335819244385, | |
0.005548031806945801, | |
0.005497856140136719, | |
0.005527552127838135, | |
0.0056145920753479005, | |
0.00536678409576416, | |
0.005458943843841553, | |
0.005425151824951172, | |
0.005375999927520752, | |
0.005435391902923584, | |
0.005430272102355957, | |
0.005351424217224121, | |
0.005341184139251709, | |
0.005351424217224121, | |
0.0053309440612792965, | |
0.005348351955413819, | |
0.0052705278396606445, | |
0.0054609918594360355, | |
0.005248000144958496, | |
0.0051998720169067385, | |
0.00517632007598877, | |
0.005044223785400391, | |
0.005032959938049316, | |
0.005349376201629639, | |
0.005480447769165039, | |
0.0053340158462524415, | |
0.00517632007598877, | |
0.005201920032501221, | |
0.005175295829772949, | |
0.00522547197341919, | |
0.0052070398330688475, | |
0.005378047943115235, | |
0.005329919815063477, | |
0.005235712051391602, | |
0.005337088108062744, | |
0.005362688064575195, | |
0.005540863990783691, | |
0.00555622386932373, | |
0.0052705278396606445, | |
0.005295104026794434, | |
0.0053002238273620605, | |
0.005215231895446777, | |
0.005288959980010987, | |
0.0052295680046081545, | |
0.005268479824066162, | |
0.005255231857299805, | |
0.005248000144958496, | |
0.005179391860961914, | |
0.0052008957862854, | |
0.0051773438453674315, | |
0.005206016063690186, | |
0.005179391860961914, | |
0.005212160110473632, | |
0.00521727991104126, | |
0.005216256141662597, | |
0.005174272060394287, | |
0.005216256141662597, | |
0.005190656185150146, | |
0.0053002238273620605, | |
0.005169151782989502, | |
0.005203968048095703, | |
0.005153791904449463, | |
0.005187583923339844, | |
0.005182464122772217, | |
0.005181439876556396, | |
0.005191679954528809, | |
0.005191679954528809, | |
0.005187583923339844, | |
0.005134335994720459, | |
0.005178368091583252, | |
0.005186560153961181, | |
0.00515993595123291, | |
0.005178368091583252, | |
0.005150720119476319, | |
0.005188608169555664, | |
0.0051701760292053225, | |
0.00521727991104126, | |
0.005180416107177735, | |
0.005188608169555664, | |
0.0051968002319335935, | |
0.005197824001312256, | |
0.005164031982421875, | |
0.0052111358642578124, | |
0.005187583923339844, | |
0.005189631938934326, | |
0.0051701760292053225, | |
0.005187583923339844, | |
0.005212160110473632, | |
0.005181439876556396, | |
0.005203968048095703, | |
0.005203968048095703, | |
0.005193727970123291, | |
0.00521727991104126, | |
0.005325823783874512, | |
0.005190656185150146, | |
0.005161983966827393, | |
0.0052070398330688475, | |
0.005182464122772217, | |
0.005192704200744629, | |
0.0051773438453674315, | |
0.005187583923339844, | |
0.005158912181854248, | |
0.005172224044799805, | |
0.005234687805175781, | |
0.005198847770690918, | |
0.005206016063690186, | |
0.00520908784866333, | |
0.005402624130249023, | |
0.005210112094879151, | |
0.005203968048095703 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 185.86323460374328 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.060687711044235e-08, | |
"ram": 3.3138337676488985e-08, | |
"gpu": 1.3172062691841018e-07, | |
"total": 2.254658417053415e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4435261.645118233 | |
} | |
} | |
} | |
} |