
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1641c7a
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": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 783.949824, | |
"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.36222314453125, | |
"mean": 7.36222314453125, | |
"stdev": 0.0, | |
"p50": 7.36222314453125, | |
"p90": 7.36222314453125, | |
"p95": 7.36222314453125, | |
"p99": 7.36222314453125, | |
"values": [ | |
7.36222314453125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.228497694447273e-07, | |
"ram": 4.9030500507352e-07, | |
"gpu": 1.840557028000029e-06, | |
"total": 3.2537118025182763e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1039.409152, | |
"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.0043332791328428, | |
"mean": 0.0056108004420829215, | |
"stdev": 0.000190700518700878, | |
"p50": 0.005519360065460205, | |
"p90": 0.005884518337249756, | |
"p95": 0.005934723281860352, | |
"p99": 0.006065499935150147, | |
"values": [ | |
0.006142975807189942, | |
0.0062638077735900875, | |
0.006043647766113281, | |
0.006043647766113281, | |
0.005984255790710449, | |
0.005989376068115234, | |
0.00591871976852417, | |
0.005940224170684814, | |
0.005909503936767578, | |
0.005883903980255127, | |
0.005874688148498535, | |
0.005831679821014404, | |
0.005844992160797119, | |
0.00586137580871582, | |
0.005851136207580566, | |
0.00577023983001709, | |
0.005682176113128662, | |
0.005742591857910156, | |
0.005777408123016357, | |
0.005790719985961914, | |
0.005907455921173096, | |
0.005852159976959229, | |
0.005913599967956543, | |
0.0058419198989868165, | |
0.005854207992553711, | |
0.005776383876800537, | |
0.005753856182098388, | |
0.005775360107421875, | |
0.005900288105010986, | |
0.005826560020446778, | |
0.005866496086120605, | |
0.00586240005493164, | |
0.005881855964660645, | |
0.005876736164093017, | |
0.00587059211730957, | |
0.005823488235473633, | |
0.005853184223175049, | |
0.005829631805419922, | |
0.005835775852203369, | |
0.005587967872619629, | |
0.005486591815948487, | |
0.005414912223815918, | |
0.005417984008789062, | |
0.005407743930816651, | |
0.005483520030975342, | |
0.005519360065460205, | |
0.0054876160621643065, | |
0.005525536060333252, | |
0.00550707197189331, | |
0.005500927925109863, | |
0.005604351997375488, | |
0.005656576156616211, | |
0.005638144016265869, | |
0.005545983791351319, | |
0.0055808000564575196, | |
0.005597184181213379, | |
0.005563392162322998, | |
0.005530623912811279, | |
0.005517312049865723, | |
0.005512191772460938, | |
0.005588992118835449, | |
0.005519360065460205, | |
0.0054917120933532714, | |
0.0055101442337036136, | |
0.005512191772460938, | |
0.005561344146728516, | |
0.005450751781463623, | |
0.005406720161437988, | |
0.005497856140136719, | |
0.0054568958282470706, | |
0.0054568958282470706, | |
0.005657599925994873, | |
0.00552345609664917, | |
0.005465087890625, | |
0.005437439918518067, | |
0.0054609918594360355, | |
0.005502975940704345, | |
0.0054271998405456545, | |
0.005477375984191894, | |
0.005478400230407715, | |
0.0054609918594360355, | |
0.005472256183624268, | |
0.006015999794006348, | |
0.005609471797943116, | |
0.005883903980255127, | |
0.005934112071990967, | |
0.00602623987197876, | |
0.005839903831481933, | |
0.005859327793121338, | |
0.005814271926879883, | |
0.005616640090942383, | |
0.005506048202514649, | |
0.005481472015380859, | |
0.005475327968597412, | |
0.0055582718849182125, | |
0.005441535949707031, | |
0.005433343887329102, | |
0.00537497615814209, | |
0.005343232154846191, | |
0.005212224006652832, | |
0.0053606400489807126, | |
0.005485568046569824, | |
0.005587967872619629, | |
0.005506048202514649, | |
0.005513216018676758, | |
0.005432320117950439, | |
0.0054906878471374515, | |
0.00555622386932373, | |
0.005738495826721191, | |
0.0059054079055786135, | |
0.00567193603515625, | |
0.00573747205734253, | |
0.005730303764343261, | |
0.0057794561386108395, | |
0.005886975765228271, | |
0.005654528141021729, | |
0.005646336078643799, | |
0.005545983791351319, | |
0.005543935775756836, | |
0.005529600143432617, | |
0.005541888236999512, | |
0.00561356782913208, | |
0.005519360065460205, | |
0.005467135906219483, | |
0.005513216018676758, | |
0.005496831893920898, | |
0.005537792205810547, | |
0.005623807907104492, | |
0.005484543800354004, | |
0.00546611213684082, | |
0.005429247856140137, | |
0.005469183921813964, | |
0.005489664077758789, | |
0.005464064121246338, | |
0.005493760108947754, | |
0.0054241280555725096, | |
0.005459968090057373, | |
0.0054271998405456545, | |
0.005463039875030518, | |
0.005444608211517334, | |
0.0055203838348388675, | |
0.005407743930816651, | |
0.0054282240867614745, | |
0.005460000038146973, | |
0.005479423999786377, | |
0.005481472015380859, | |
0.0054609918594360355, | |
0.005459968090057373, | |
0.005485568046569824, | |
0.005410816192626953, | |
0.005504000186920166, | |
0.0054282240867614745, | |
0.005448703765869141, | |
0.005434400081634522, | |
0.005485568046569824, | |
0.005436416149139404, | |
0.0054988799095153805, | |
0.005419007778167725, | |
0.005519360065460205, | |
0.005432320117950439, | |
0.005754879951477051, | |
0.005473279953002929, | |
0.005488639831542969, | |
0.005787648200988769, | |
0.0055316481590271, | |
0.005446656227111817, | |
0.0054917120933532714, | |
0.005484543800354004, | |
0.005483520030975342, | |
0.005497856140136719, | |
0.005908480167388916, | |
0.005500927925109863, | |
0.0055582718849182125, | |
0.0054876160621643065, | |
0.005559296131134033, | |
0.005470208168029785, | |
0.0055582718849182125, | |
0.005455872058868408, | |
0.005482495784759522 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 178.22768967145188 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.098110393162696e-08, | |
"ram": 3.334148073183944e-08, | |
"gpu": 1.2764255225641415e-07, | |
"total": 2.2196513691988051e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4505212.007059268 | |
} | |
} | |
} | |
} |