
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
d96089b
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.224-212.876.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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"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": 792.256512, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.99444775390625, | |
"mean": 7.99444775390625, | |
"stdev": 0.0, | |
"p50": 7.99444775390625, | |
"p90": 7.99444775390625, | |
"p95": 7.99444775390625, | |
"p99": 7.99444775390625, | |
"values": [ | |
7.99444775390625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.383878750657055e-06, | |
"ram": 1.2878676018657821e-06, | |
"gpu": 3.2675026140072116e-06, | |
"total": 6.939248966530049e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1047.732224, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 1.0043732500076297, | |
"mean": 0.005549023480705135, | |
"stdev": 0.0002268521587368936, | |
"p50": 0.005497856140136719, | |
"p90": 0.005769216060638428, | |
"p95": 0.006025216102600098, | |
"p99": 0.006473318481445312, | |
"values": [ | |
0.005656576156616211, | |
0.005874688148498535, | |
0.00566374397277832, | |
0.005638144016265869, | |
0.005576704025268555, | |
0.005534719944000244, | |
0.005641215801239013, | |
0.005746687889099121, | |
0.0057825279235839844, | |
0.005542912006378174, | |
0.005504000186920166, | |
0.005554175853729248, | |
0.005529600143432617, | |
0.005553152084350586, | |
0.005462016105651855, | |
0.005447679996490478, | |
0.00551526403427124, | |
0.00546611213684082, | |
0.005416959762573242, | |
0.005314559936523438, | |
0.005350399971008301, | |
0.0053647360801696775, | |
0.005651552200317383, | |
0.005679103851318359, | |
0.005686272144317627, | |
0.005723135948181152, | |
0.005730303764343261, | |
0.005741600036621094, | |
0.0056852478981018065, | |
0.005731328010559082, | |
0.005608448028564453, | |
0.005586944103240967, | |
0.005480447769165039, | |
0.0054568958282470706, | |
0.0055808000564575196, | |
0.005527552127838135, | |
0.005848063945770264, | |
0.005657599925994873, | |
0.005604351997375488, | |
0.005533696174621582, | |
0.00546611213684082, | |
0.005462016105651855, | |
0.0057190399169921875, | |
0.00567193603515625, | |
0.005686272144317627, | |
0.005552127838134766, | |
0.00552345609664917, | |
0.005430272102355957, | |
0.005557248115539551, | |
0.005553152084350586, | |
0.005590015888214111, | |
0.005619711875915527, | |
0.005574656009674072, | |
0.0056145920753479005, | |
0.005599232196807862, | |
0.005442560195922852, | |
0.005380095958709717, | |
0.005439487934112549, | |
0.005404672145843506, | |
0.005493760108947754, | |
0.005963776111602783, | |
0.005950463771820068, | |
0.006135807991027832, | |
0.005670911788940429, | |
0.005769216060638428, | |
0.005623807907104492, | |
0.00552345609664917, | |
0.005319680213928223, | |
0.005347328186035156, | |
0.005512191772460938, | |
0.005691391944885254, | |
0.00563097620010376, | |
0.0054282240867614745, | |
0.005393407821655274, | |
0.0055285758972167965, | |
0.005432320117950439, | |
0.005385216236114502, | |
0.005340159893035889, | |
0.005340159893035889, | |
0.00552345609664917, | |
0.005455872058868408, | |
0.005399551868438721, | |
0.005690368175506591, | |
0.006037504196166992, | |
0.006105088233947754, | |
0.005599232196807862, | |
0.005577727794647217, | |
0.005639167785644531, | |
0.005641215801239013, | |
0.005637119770050049, | |
0.0054271998405456545, | |
0.005379072189331055, | |
0.006066304206848144, | |
0.00538316822052002, | |
0.005484543800354004, | |
0.005576704025268555, | |
0.005493760108947754, | |
0.005740543842315674, | |
0.0055203838348388675, | |
0.00556441593170166, | |
0.0055316481590271, | |
0.005416959762573242, | |
0.005559296131134033, | |
0.005469183921813964, | |
0.005447679996490478, | |
0.005629951953887939, | |
0.00551526403427124, | |
0.006049791812896729, | |
0.005585919857025146, | |
0.005327871799468994, | |
0.005478400230407715, | |
0.005323775768280029, | |
0.005173247814178467, | |
0.005253119945526123, | |
0.005342207908630371, | |
0.005449728012084961, | |
0.0052705278396606445, | |
0.005197824001312256, | |
0.005063680171966553, | |
0.005191679954528809, | |
0.006330368041992188, | |
0.006496255874633789, | |
0.006467584133148193, | |
0.006624256134033203, | |
0.005959680080413818, | |
0.005497856140136719, | |
0.005854207992553711, | |
0.006025216102600098, | |
0.005690368175506591, | |
0.005577727794647217, | |
0.005471231937408447, | |
0.005922815799713135, | |
0.005386240005493164, | |
0.005152768135070801, | |
0.005319680213928223, | |
0.005435391902923584, | |
0.0054906878471374515, | |
0.0055101442337036136, | |
0.005537792205810547, | |
0.005416959762573242, | |
0.005468160152435303, | |
0.00535859203338623, | |
0.005417984008789062, | |
0.0055101442337036136, | |
0.005409791946411133, | |
0.005516287803649903, | |
0.005433343887329102, | |
0.005407743930816651, | |
0.005442560195922852, | |
0.005405695915222168, | |
0.00542310380935669, | |
0.005440512180328369, | |
0.005439487934112549, | |
0.005390336036682129, | |
0.005440512180328369, | |
0.00537497615814209, | |
0.00538316822052002, | |
0.005404672145843506, | |
0.005459968090057373, | |
0.005497856140136719, | |
0.0054988799095153805, | |
0.00535756778717041, | |
0.005434368133544922, | |
0.005492735862731934, | |
0.005387263774871826, | |
0.005413887977600097, | |
0.005414912223815918, | |
0.005462016105651855, | |
0.005409791946411133, | |
0.005370880126953125, | |
0.005508096218109131, | |
0.005442560195922852, | |
0.005419007778167725, | |
0.005470208168029785, | |
0.005404672145843506, | |
0.005422080039978027, | |
0.005432320117950439, | |
0.005425151824951172, | |
0.005385216236114502, | |
0.005404672145843506, | |
0.005387263774871826 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.21188835786407 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.211042843590106e-08, | |
"ram": 3.394229133622569e-08, | |
"gpu": 1.2421330472250449e-07, | |
"total": 2.2026602449463125e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4539964.809799225 | |
} | |
} | |
} | |
} |