
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
649627d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+cu121", | |
"_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.293824, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.219-208.866.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.3.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.43.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 714.018816, | |
"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.186361328125, | |
"mean": 7.186361328125, | |
"stdev": 0.0, | |
"p50": 7.186361328125, | |
"p90": 7.186361328125, | |
"p95": 7.186361328125, | |
"p99": 7.186361328125, | |
"values": [ | |
7.186361328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.549394249916077e-07, | |
"ram": 4.984723185240607e-07, | |
"gpu": 0.0, | |
"total": 1.4534117435156684e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 881.061888, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 1.0010286073684693, | |
"mean": 0.0054403728661329845, | |
"stdev": 0.00011896918847880553, | |
"p50": 0.005425663948059082, | |
"p90": 0.005550080060958863, | |
"p95": 0.005660620784759521, | |
"p99": 0.005816268701553344, | |
"values": [ | |
0.005669888019561768, | |
0.005944320201873779, | |
0.0056852478981018065, | |
0.005661695957183838, | |
0.005576704025268555, | |
0.005553152084350586, | |
0.005601280212402344, | |
0.005534719944000244, | |
0.005606400012969971, | |
0.005496831893920898, | |
0.005455872058868408, | |
0.005462016105651855, | |
0.005439487934112549, | |
0.005465087890625, | |
0.005506048202514649, | |
0.005393407821655274, | |
0.0053002238273620605, | |
0.005291007995605469, | |
0.005338111877441406, | |
0.0053944320678710935, | |
0.005473279953002929, | |
0.005452799797058106, | |
0.005527552127838135, | |
0.005483520030975342, | |
0.005459968090057373, | |
0.005482495784759522, | |
0.005391359806060791, | |
0.0053606400489807126, | |
0.005505023956298828, | |
0.005471231937408447, | |
0.005497856140136719, | |
0.005505023956298828, | |
0.005499904155731201, | |
0.005518335819244385, | |
0.005485568046569824, | |
0.0054241280555725096, | |
0.005492735862731934, | |
0.005459968090057373, | |
0.005453824043273926, | |
0.005576704025268555, | |
0.00546611213684082, | |
0.0053340158462524415, | |
0.005299200057983398, | |
0.005355519771575928, | |
0.005390336036682129, | |
0.005403647899627686, | |
0.005340159893035889, | |
0.005391359806060791, | |
0.005410816192626953, | |
0.005430272102355957, | |
0.0054906878471374515, | |
0.005478400230407715, | |
0.005517312049865723, | |
0.005542912006378174, | |
0.005488639831542969, | |
0.005568511962890625, | |
0.00546611213684082, | |
0.005414912223815918, | |
0.005377024173736572, | |
0.005450751781463623, | |
0.005502975940704345, | |
0.00551423978805542, | |
0.0054282240867614745, | |
0.005445631980895996, | |
0.005505023956298828, | |
0.005398528099060058, | |
0.005332992076873779, | |
0.005354496002197265, | |
0.005402624130249023, | |
0.005443583965301513, | |
0.005500927925109863, | |
0.005462016105651855, | |
0.005414912223815918, | |
0.005371903896331787, | |
0.005402624130249023, | |
0.005425151824951172, | |
0.005402624130249023, | |
0.005387263774871826, | |
0.005404672145843506, | |
0.005422080039978027, | |
0.005468160152435303, | |
0.0054906878471374515, | |
0.005517312049865723, | |
0.005519360065460205, | |
0.00552243185043335, | |
0.005476352214813233, | |
0.0058009600639343266, | |
0.005458943843841553, | |
0.0055203838348388675, | |
0.005462016105651855, | |
0.005502975940704345, | |
0.005386240005493164, | |
0.005530623912811279, | |
0.005378047943115235, | |
0.0053340158462524415, | |
0.005269504070281982, | |
0.005138432025909424, | |
0.005184512138366699, | |
0.005314559936523438, | |
0.0053309440612792965, | |
0.005220352172851562, | |
0.005104640007019043, | |
0.005100543975830078, | |
0.005086207866668701, | |
0.005142528057098389, | |
0.005104640007019043, | |
0.005234687805175781, | |
0.005654528141021729, | |
0.005654528141021729, | |
0.005701632022857666, | |
0.005724160194396972, | |
0.0057497601509094234, | |
0.005846015930175781, | |
0.005511168003082275, | |
0.0055203838348388675, | |
0.005454847812652588, | |
0.005425151824951172, | |
0.005455872058868408, | |
0.00541593599319458, | |
0.005408768177032471, | |
0.005452799797058106, | |
0.005810175895690918, | |
0.005476352214813233, | |
0.005405695915222168, | |
0.005441535949707031, | |
0.005449728012084961, | |
0.005417984008789062, | |
0.0054271998405456545, | |
0.005554175853729248, | |
0.0054241280555725096, | |
0.005453824043273926, | |
0.005387263774871826, | |
0.005410816192626953, | |
0.005464064121246338, | |
0.005404672145843506, | |
0.005381120204925537, | |
0.005416959762573242, | |
0.005395455837249756, | |
0.005420032024383545, | |
0.005437439918518067, | |
0.005411839962005615, | |
0.0053944320678710935, | |
0.005436416149139404, | |
0.005395455837249756, | |
0.005390336036682129, | |
0.005417984008789062, | |
0.005396480083465576, | |
0.005399551868438721, | |
0.005430272102355957, | |
0.0053821439743042, | |
0.005445631980895996, | |
0.005379072189331055, | |
0.0053944320678710935, | |
0.005405695915222168, | |
0.005392384052276611, | |
0.005386240005493164, | |
0.005455872058868408, | |
0.005393407821655274, | |
0.00537497615814209, | |
0.005408768177032471, | |
0.005395455837249756, | |
0.005381120204925537, | |
0.0054271998405456545, | |
0.005425151824951172, | |
0.005441535949707031, | |
0.005386240005493164, | |
0.005399551868438721, | |
0.005429247856140137, | |
0.005404672145843506, | |
0.005389311790466309, | |
0.005478400230407715, | |
0.005396480083465576, | |
0.005396480083465576, | |
0.005413887977600097, | |
0.005384191989898681, | |
0.005388288021087646, | |
0.005426176071166992, | |
0.005391359806060791, | |
0.005396480083465576, | |
0.0054271998405456545, | |
0.005384191989898681, | |
0.005387263774871826, | |
0.005425151824951172, | |
0.005370880126953125 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.81093072225391 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.306522193389018e-08, | |
"ram": 3.4475928527556975e-08, | |
"gpu": 1.305925985638991e-07, | |
"total": 2.2813374902534626e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4383393.53240058 | |
} | |
} | |
} | |
} |