
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
2f51ea8
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16, | |
"num_choices": 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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 818.077696, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07925145721435548 | |
], | |
"count": 1, | |
"total": 0.07925145721435548, | |
"mean": 0.07925145721435548, | |
"p50": 0.07925145721435548, | |
"p90": 0.07925145721435548, | |
"p95": 0.07925145721435548, | |
"p99": 0.07925145721435548, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 0.00010664233344930559, | |
"ram": 5.8429355933125386e-05, | |
"gpu": 0.00014366872604600024, | |
"total": 0.00030874041542843124 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1064.906752, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 452.872192 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006363135814666748, | |
0.006049791812896729, | |
0.005971968173980713, | |
0.0060282878875732426, | |
0.006001664161682129, | |
0.005884928226470947, | |
0.00591974401473999, | |
0.005899263858795166, | |
0.005894144058227539, | |
0.0058726401329040525, | |
0.005950463771820068, | |
0.006313983917236328, | |
0.0068915200233459475, | |
0.006642687797546387, | |
0.0060702719688415525, | |
0.006132736206054688, | |
0.006031360149383545, | |
0.005990399837493897, | |
0.005938176155090332, | |
0.005975039958953857, | |
0.005916672229766846, | |
0.005915647983551026, | |
0.0059023361206054685, | |
0.006790143966674805, | |
0.005876736164093017, | |
0.005923840045928955, | |
0.0058787841796875, | |
0.005873663902282715, | |
0.005883903980255127, | |
0.005896192073822021, | |
0.005946368217468262, | |
0.005907455921173096, | |
0.005895167827606201, | |
0.006004735946655273, | |
0.005992447853088379, | |
0.005896192073822021, | |
0.005907455921173096, | |
0.005933055877685547, | |
0.0058716158866882326, | |
0.005881855964660645, | |
0.005897215843200684, | |
0.005881855964660645, | |
0.005864448070526123, | |
0.005840896129608154, | |
0.005934080123901367, | |
0.00586240005493164, | |
0.005903359889984131, | |
0.005894144058227539, | |
0.005937151908874512, | |
0.005840896129608154, | |
0.005915647983551026, | |
0.005863423824310303, | |
0.005879807949066162, | |
0.005922815799713135, | |
0.005865471839904785, | |
0.005889023780822754, | |
0.005925888061523437, | |
0.005929984092712402, | |
0.005683199882507324, | |
0.005682176113128662, | |
0.00568012809753418, | |
0.005709824085235596, | |
0.005639167785644531, | |
0.005690368175506591, | |
0.005619711875915527, | |
0.005616640090942383, | |
0.005662720203399658, | |
0.005634047985076904, | |
0.005676032066345215, | |
0.005720064163208007, | |
0.005796864032745362, | |
0.00566476821899414, | |
0.005601280212402344, | |
0.005659647941589355, | |
0.005635072231292724, | |
0.005653503894805908, | |
0.005635072231292724, | |
0.005708799839019775, | |
0.005669888019561768, | |
0.005662720203399658, | |
0.005692416191101074, | |
0.005694464206695556, | |
0.005709824085235596, | |
0.005615615844726562, | |
0.005597184181213379, | |
0.005631999969482422, | |
0.005684224128723145, | |
0.005747712135314941, | |
0.005708799839019775, | |
0.005659647941589355, | |
0.00568832015991211, | |
0.005633024215698243, | |
0.0056442880630493165, | |
0.0056217598915100095, | |
0.005653503894805908, | |
0.005660672187805176, | |
0.005599232196807862, | |
0.005932032108306885, | |
0.005829631805419922, | |
0.005886975765228271, | |
0.0058122239112854005, | |
0.005854207992553711, | |
0.005807104110717773, | |
0.005854207992553711, | |
0.0058122239112854005, | |
0.005837823867797852, | |
0.0058009600639343266, | |
0.005886975765228271, | |
0.005951488018035888, | |
0.006013951778411865, | |
0.0059699201583862304, | |
0.0059351038932800295, | |
0.005967872142791748, | |
0.005981184005737304, | |
0.006081535816192627, | |
0.006012928009033203, | |
0.006076416015625, | |
0.005874688148498535, | |
0.005874688148498535, | |
0.005823488235473633, | |
0.005884928226470947, | |
0.005894144058227539, | |
0.0062044157981872555, | |
0.006071296215057373, | |
0.006173696041107178, | |
0.005868544101715088, | |
0.0058787841796875, | |
0.005826591968536377, | |
0.005868544101715088, | |
0.005824512004852295, | |
0.005852159976959229, | |
0.005829631805419922, | |
0.005817344188690185, | |
0.0058122239112854005, | |
0.005826560020446778, | |
0.005824512004852295, | |
0.005801983833312988, | |
0.005896192073822021, | |
0.0057825279235839844, | |
0.005803008079528809, | |
0.005793791770935058, | |
0.005773312091827393, | |
0.005784575939178467, | |
0.005814271926879883, | |
0.005780479907989502, | |
0.005760000228881836, | |
0.005808127880096436, | |
0.005752831935882568, | |
0.005774335861206055, | |
0.005789696216583252, | |
0.0057712640762329105, | |
0.005757952213287353, | |
0.005769216060638428, | |
0.005806079864501953, | |
0.0057825279235839844, | |
0.005823488235473633, | |
0.005792768001556397, | |
0.005858304023742676, | |
0.005900288105010986, | |
0.005911551952362061, | |
0.005959680080413818, | |
0.006164480209350586, | |
0.005974016189575195, | |
0.00597811222076416, | |
0.005917695999145508, | |
0.0059269118309021, | |
0.00591871976852417, | |
0.005946368217468262, | |
0.005848063945770264, | |
0.00587775993347168, | |
0.0058388481140136715 | |
], | |
"count": 171, | |
"total": 1.0028841309547427, | |
"mean": 0.0058648194792675, | |
"p50": 0.005868544101715088, | |
"p90": 0.006012928009033203, | |
"p95": 0.0061071360111236575, | |
"p99": 0.006686924648284914, | |
"stdev": 0.00018273100445052973, | |
"stdev_": 3.115714048769875 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 341.0164638605031 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.691014639438702e-08, | |
"ram": 3.656146510389477e-08, | |
"gpu": 1.6210935755932305e-07, | |
"total": 2.6558096905760485e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7530660.073637269 | |
} | |
} | |
} | |
} |