
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4f2f035
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.252864, | |
"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": 794.238976, | |
"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.85350537109375, | |
"mean": 7.85350537109375, | |
"stdev": 0.0, | |
"p50": 7.85350537109375, | |
"p90": 7.85350537109375, | |
"p95": 7.85350537109375, | |
"p99": 7.85350537109375, | |
"values": [ | |
7.85350537109375 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.324411930573244e-07, | |
"ram": 4.953937420007339e-07, | |
"gpu": 0.0, | |
"total": 1.4278349350580583e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1049.6, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 179, | |
"total": 1.0029036512374878, | |
"mean": 0.0056028136940641775, | |
"stdev": 0.00015253343227569728, | |
"p50": 0.005591040134429932, | |
"p90": 0.00581468152999878, | |
"p95": 0.005910015964508057, | |
"p99": 0.006086635694503784, | |
"values": [ | |
0.0061337599754333495, | |
0.006213632106781006, | |
0.005892096042633056, | |
0.005702655792236328, | |
0.005726208209991455, | |
0.005725183963775635, | |
0.005724160194396972, | |
0.0057292799949646, | |
0.005700607776641845, | |
0.0057497601509094234, | |
0.005746687889099121, | |
0.005669888019561768, | |
0.005631999969482422, | |
0.005612544059753418, | |
0.00561356782913208, | |
0.005591040134429932, | |
0.005798912048339844, | |
0.005570559978485107, | |
0.005662720203399658, | |
0.0054876160621643065, | |
0.005464064121246338, | |
0.005513216018676758, | |
0.005610496044158936, | |
0.0055797758102417, | |
0.005636096000671387, | |
0.005713920116424561, | |
0.00573747205734253, | |
0.005694464206695556, | |
0.005646336078643799, | |
0.005591040134429932, | |
0.005550079822540284, | |
0.005508096218109131, | |
0.005595136165618897, | |
0.005628928184509278, | |
0.0057077760696411135, | |
0.005640192031860352, | |
0.005831679821014404, | |
0.005606400012969971, | |
0.005646336078643799, | |
0.005615615844726562, | |
0.005634047985076904, | |
0.00562278413772583, | |
0.005545983791351319, | |
0.005774335861206055, | |
0.005634047985076904, | |
0.005620736122131348, | |
0.005612544059753418, | |
0.005595136165618897, | |
0.005542912006378174, | |
0.005482495784759522, | |
0.005511168003082275, | |
0.005540863990783691, | |
0.005518335819244385, | |
0.005526527881622314, | |
0.005600255966186523, | |
0.0055203838348388675, | |
0.005587967872619629, | |
0.0055623679161071774, | |
0.005586944103240967, | |
0.00557260799407959, | |
0.005629951953887939, | |
0.005814271926879883, | |
0.005817344188690185, | |
0.005605375766754151, | |
0.005681151866912842, | |
0.005653503894805908, | |
0.005624832153320313, | |
0.005550079822540284, | |
0.0054906878471374515, | |
0.005489664077758789, | |
0.005627903938293457, | |
0.005595136165618897, | |
0.005598207950592041, | |
0.005541888236999512, | |
0.005597184181213379, | |
0.005597184181213379, | |
0.00563097620010376, | |
0.005554175853729248, | |
0.005476352214813233, | |
0.005495808124542236, | |
0.005682176113128662, | |
0.005568511962890625, | |
0.00547430419921875, | |
0.005773312091827393, | |
0.005598207950592041, | |
0.005511168003082275, | |
0.005489664077758789, | |
0.0055285758972167965, | |
0.0054988799095153805, | |
0.005511168003082275, | |
0.005480447769165039, | |
0.0055316481590271, | |
0.005541888236999512, | |
0.005526527881622314, | |
0.005542912006378174, | |
0.005602303981781006, | |
0.005653503894805908, | |
0.005943295955657959, | |
0.005914624214172363, | |
0.005959680080413818, | |
0.005929984092712402, | |
0.006073344230651856, | |
0.006001664161682129, | |
0.005884928226470947, | |
0.005883903980255127, | |
0.00582860803604126, | |
0.005728256225585937, | |
0.005786623954772949, | |
0.005970943927764893, | |
0.005816319942474365, | |
0.005715968132019043, | |
0.00566374397277832, | |
0.005700607776641845, | |
0.00553984022140503, | |
0.005682176113128662, | |
0.005773312091827393, | |
0.005660672187805176, | |
0.0054568958282470706, | |
0.005465087890625, | |
0.005467135906219483, | |
0.00566476821899414, | |
0.005886975765228271, | |
0.005609471797943116, | |
0.00566374397277832, | |
0.005609471797943116, | |
0.005610496044158936, | |
0.005730303764343261, | |
0.005909503936767578, | |
0.005690368175506591, | |
0.005396480083465576, | |
0.0053975038528442385, | |
0.005387296199798584, | |
0.005377024173736572, | |
0.00536678409576416, | |
0.005462016105651855, | |
0.0053637118339538575, | |
0.005384191989898681, | |
0.005492735862731934, | |
0.005476352214813233, | |
0.005624832153320313, | |
0.0054906878471374515, | |
0.005446656227111817, | |
0.005479423999786377, | |
0.005438464164733887, | |
0.005468160152435303, | |
0.005623807907104492, | |
0.00547430419921875, | |
0.0054271998405456545, | |
0.00546611213684082, | |
0.005436416149139404, | |
0.005451776027679443, | |
0.005448703765869141, | |
0.005496831893920898, | |
0.005500927925109863, | |
0.005443583965301513, | |
0.005462016105651855, | |
0.005527552127838135, | |
0.005445631980895996, | |
0.005499904155731201, | |
0.005473279953002929, | |
0.005482495784759522, | |
0.005476352214813233, | |
0.005462016105651855, | |
0.005584959983825684, | |
0.00546611213684082, | |
0.005413887977600097, | |
0.005453824043273926, | |
0.005455872058868408, | |
0.0054609918594360355, | |
0.005445631980895996, | |
0.0056442880630493165, | |
0.00546611213684082, | |
0.005501952171325684, | |
0.005472256183624268, | |
0.0054568958282470706, | |
0.0054609918594360355, | |
0.005446656227111817, | |
0.005437439918518067, | |
0.005482495784759522 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.4817512421368 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.554859810850942e-08, | |
"ram": 3.583026622645937e-08, | |
"gpu": 1.3194148062984163e-07, | |
"total": 2.3332034496481042e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4285952.860865266 | |
} | |
} | |
} | |
} |