
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
c69655e
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-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.33.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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 782.946304, | |
"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.3970810546875, | |
"mean": 7.3970810546875, | |
"stdev": 0.0, | |
"p50": 7.3970810546875, | |
"p90": 7.3970810546875, | |
"p95": 7.3970810546875, | |
"p99": 7.3970810546875, | |
"values": [ | |
7.3970810546875 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.227096493059466e-07, | |
"ram": 4.90307166216136e-07, | |
"gpu": 1.7300013840002536e-06, | |
"total": 3.1430181995223363e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.528512, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 182, | |
"total": 1.0029348464012144, | |
"mean": 0.005510631024182498, | |
"stdev": 0.00014130639367857274, | |
"p50": 0.005508608102798462, | |
"p90": 0.0056608767509460445, | |
"p95": 0.005726771187782287, | |
"p99": 0.0060338174390792846, | |
"values": [ | |
0.006022143840789795, | |
0.006106112003326416, | |
0.005792768001556397, | |
0.005677055835723877, | |
0.005727231979370117, | |
0.0056893758773803715, | |
0.00566374397277832, | |
0.00568012809753418, | |
0.005699584007263184, | |
0.005742591857910156, | |
0.005818463802337646, | |
0.00556441593170166, | |
0.005569536209106446, | |
0.005552127838134766, | |
0.005643263816833496, | |
0.00556441593170166, | |
0.00552243185043335, | |
0.0053975038528442385, | |
0.005419007778167725, | |
0.005468160152435303, | |
0.0055511040687561035, | |
0.00552345609664917, | |
0.005642240047454834, | |
0.005576831817626953, | |
0.005653503894805908, | |
0.0056258559226989744, | |
0.0055920639038085935, | |
0.005574656009674072, | |
0.005650432109832764, | |
0.005502975940704345, | |
0.005745664119720459, | |
0.005577727794647217, | |
0.005617824077606201, | |
0.005609471797943116, | |
0.005649407863616943, | |
0.005627903938293457, | |
0.00563097620010376, | |
0.005588992118835449, | |
0.0055511040687561035, | |
0.005575679779052735, | |
0.005611519813537597, | |
0.005536767959594726, | |
0.0056145920753479005, | |
0.005511168003082275, | |
0.005459968090057373, | |
0.005389311790466309, | |
0.005429247856140137, | |
0.005452799797058106, | |
0.005508096218109131, | |
0.0055244798660278325, | |
0.005599232196807862, | |
0.005529600143432617, | |
0.005529600143432617, | |
0.005576704025268555, | |
0.005623807907104492, | |
0.005718016147613526, | |
0.0056442880630493165, | |
0.005661695957183838, | |
0.005598207950592041, | |
0.005547008037567139, | |
0.005568511962890625, | |
0.005482495784759522, | |
0.0054906878471374515, | |
0.005535744190216065, | |
0.005568511962890625, | |
0.00555622386932373, | |
0.005573631763458252, | |
0.005604351997375488, | |
0.005611519813537597, | |
0.00550707197189331, | |
0.005454847812652588, | |
0.005399551868438721, | |
0.0054609918594360355, | |
0.005533696174621582, | |
0.005540863990783691, | |
0.005565440177917481, | |
0.005612544059753418, | |
0.0054241280555725096, | |
0.005477375984191894, | |
0.005513216018676758, | |
0.0055203838348388675, | |
0.005509119987487793, | |
0.005502975940704345, | |
0.005544960021972656, | |
0.0054988799095153805, | |
0.005468160152435303, | |
0.005568511962890625, | |
0.005609471797943116, | |
0.005593088150024414, | |
0.005603328227996827, | |
0.005596159934997558, | |
0.005599232196807862, | |
0.00608358383178711, | |
0.005578783988952637, | |
0.005582848072052002, | |
0.005542912006378174, | |
0.005606400012969971, | |
0.005455872058868408, | |
0.005441535949707031, | |
0.005595136165618897, | |
0.005454847812652588, | |
0.005414912223815918, | |
0.005440512180328369, | |
0.00535859203338623, | |
0.005292031764984131, | |
0.005322751998901368, | |
0.0053821439743042, | |
0.00537395191192627, | |
0.005299200057983398, | |
0.005182464122772217, | |
0.0052111358642578124, | |
0.005213183879852295, | |
0.00526643180847168, | |
0.005286911964416504, | |
0.005437471866607666, | |
0.00555622386932373, | |
0.005669888019561768, | |
0.005636096000671387, | |
0.005602303981781006, | |
0.005694464206695556, | |
0.005757952213287353, | |
0.005851136207580566, | |
0.005608448028564453, | |
0.005598207950592041, | |
0.005445631980895996, | |
0.005378047943115235, | |
0.005439487934112549, | |
0.005387328147888184, | |
0.005412864208221436, | |
0.005420032024383545, | |
0.005393407821655274, | |
0.005371903896331787, | |
0.005455872058868408, | |
0.005375999927520752, | |
0.005417984008789062, | |
0.00538316822052002, | |
0.0053821439743042, | |
0.005302271842956543, | |
0.00557260799407959, | |
0.005529600143432617, | |
0.005422080039978027, | |
0.005388288021087646, | |
0.005386240005493164, | |
0.005422080039978027, | |
0.005409791946411133, | |
0.005361663818359375, | |
0.005430272102355957, | |
0.005346303939819336, | |
0.005395455837249756, | |
0.005392384052276611, | |
0.005379072189331055, | |
0.005352447986602784, | |
0.005458943843841553, | |
0.005398528099060058, | |
0.005570559978485107, | |
0.00537395191192627, | |
0.005375999927520752, | |
0.0053678078651428224, | |
0.005391392230987549, | |
0.005362688064575195, | |
0.00546611213684082, | |
0.0054271998405456545, | |
0.005470208168029785, | |
0.00538316822052002, | |
0.005396480083465576, | |
0.00537497615814209, | |
0.0053975038528442385, | |
0.00537497615814209, | |
0.0054282240867614745, | |
0.005389311790466309, | |
0.005405695915222168, | |
0.005399551868438721, | |
0.005403647899627686, | |
0.00553984022140503, | |
0.005446656227111817, | |
0.0053647360801696775, | |
0.005370880126953125, | |
0.0053678078651428224, | |
0.005405695915222168, | |
0.005338111877441406, | |
0.005412864208221436, | |
0.005368832111358642 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 181.46742099256227 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.321539389406665e-08, | |
"ram": 3.45630608540539e-08, | |
"gpu": 1.356029453617006e-07, | |
"total": 2.3338140010982114e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4284831.60838625 | |
} | |
} | |
} | |
} |