
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
7d15dff
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.225-213.878.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.5.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.1", | |
"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.13.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 797.446144, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.2075135955810547 | |
], | |
"count": 1, | |
"total": 0.2075135955810547, | |
"mean": 0.2075135955810547, | |
"p50": 0.2075135955810547, | |
"p90": 0.2075135955810547, | |
"p95": 0.2075135955810547, | |
"p99": 0.2075135955810547, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1053.048832, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.005765120029449463, | |
0.006089727878570556, | |
0.0058122239112854005, | |
0.0057487359046936035, | |
0.005836800098419189, | |
0.005840896129608154, | |
0.005882880210876465, | |
0.00582860803604126, | |
0.005922815799713135, | |
0.00592793607711792, | |
0.005635072231292724, | |
0.005590015888214111, | |
0.005550079822540284, | |
0.0055920639038085935, | |
0.005529600143432617, | |
0.005726208209991455, | |
0.005588992118835449, | |
0.005643263816833496, | |
0.005848063945770264, | |
0.005727231979370117, | |
0.005895167827606201, | |
0.005603328227996827, | |
0.0057415680885314945, | |
0.005464064121246338, | |
0.005530623912811279, | |
0.00552345609664917, | |
0.0055214080810546875, | |
0.005559296131134033, | |
0.0056852478981018065, | |
0.005740543842315674, | |
0.005836800098419189, | |
0.005780479907989502, | |
0.006032383918762207, | |
0.005832704067230224, | |
0.0059391999244689945, | |
0.005761023998260498, | |
0.005925888061523437, | |
0.0055848960876464845, | |
0.005740543842315674, | |
0.005588031768798828, | |
0.005575679779052735, | |
0.00567193603515625, | |
0.0056258559226989744, | |
0.0057190399169921875, | |
0.005690368175506591, | |
0.005673984050750733, | |
0.005637119770050049, | |
0.005549056053161621, | |
0.005631999969482422, | |
0.005537792205810547, | |
0.005471231937408447, | |
0.005618688106536865, | |
0.005738495826721191, | |
0.005781504154205322, | |
0.00577132797241211, | |
0.005769216060638428, | |
0.005886975765228271, | |
0.005945343971252442, | |
0.005743616104125977, | |
0.005692416191101074, | |
0.005796864032745362, | |
0.0058009600639343266, | |
0.005818367958068848, | |
0.0057712640762329105, | |
0.005772287845611572, | |
0.005710847854614258, | |
0.005734399795532226, | |
0.005553152084350586, | |
0.0056258559226989744, | |
0.005895167827606201, | |
0.005865471839904785, | |
0.005898240089416504, | |
0.005864448070526123, | |
0.005941247940063477, | |
0.005994495868682862, | |
0.00586240005493164, | |
0.0055623679161071774, | |
0.00557260799407959, | |
0.00561356782913208, | |
0.005586944103240967, | |
0.005451776027679443, | |
0.005489664077758789, | |
0.005612544059753418, | |
0.005560319900512695, | |
0.00556441593170166, | |
0.005419007778167725, | |
0.005480447769165039, | |
0.005265408039093018, | |
0.005471231937408447, | |
0.005709824085235596, | |
0.005669888019561768, | |
0.005554175853729248, | |
0.005504000186920166, | |
0.005398528099060058, | |
0.005496831893920898, | |
0.005441535949707031, | |
0.005575679779052735, | |
0.005606400012969971, | |
0.005519360065460205, | |
0.005626880168914795, | |
0.005557248115539551, | |
0.00581324815750122, | |
0.005976064205169678, | |
0.005638144016265869, | |
0.005497856140136719, | |
0.005455872058868408, | |
0.005535744190216065, | |
0.005449728012084961, | |
0.005476352214813233, | |
0.005495808124542236, | |
0.005694464206695556, | |
0.005447679996490478, | |
0.00546611213684082, | |
0.0054988799095153805, | |
0.0054906878471374515, | |
0.005435391902923584, | |
0.005496831893920898, | |
0.005471231937408447, | |
0.005411839962005615, | |
0.005703680038452149, | |
0.005702655792236328, | |
0.0054609918594360355, | |
0.005476352214813233, | |
0.005442560195922852, | |
0.0054271998405456545, | |
0.005519360065460205, | |
0.005494783878326416, | |
0.005518335819244385, | |
0.005649407863616943, | |
0.0054271998405456545, | |
0.005527552127838135, | |
0.005509119987487793, | |
0.005438464164733887, | |
0.005396480083465576, | |
0.0059688959121704105, | |
0.0054906878471374515, | |
0.005410816192626953, | |
0.005436416149139404, | |
0.005958655834197998, | |
0.005910528182983398, | |
0.0063539199829101565, | |
0.006295551776885986, | |
0.00690176010131836, | |
0.00643174409866333, | |
0.005686272144317627, | |
0.005459968090057373, | |
0.005468160152435303, | |
0.005416959762573242, | |
0.005674111843109131, | |
0.005406720161437988, | |
0.0054988799095153805, | |
0.005450751781463623, | |
0.005480447769165039, | |
0.005673984050750733, | |
0.005416959762573242, | |
0.005398528099060058, | |
0.005518335819244385, | |
0.005419007778167725, | |
0.005410816192626953, | |
0.005465087890625, | |
0.005452799797058106, | |
0.005439487934112549, | |
0.005436416149139404, | |
0.005450751781463623, | |
0.005532671928405761, | |
0.005444608211517334, | |
0.005462016105651855, | |
0.005416959762573242, | |
0.005446656227111817, | |
0.005390336036682129, | |
0.005448703765869141, | |
0.005519360065460205, | |
0.0054906878471374515, | |
0.005396480083465576, | |
0.005278719902038574, | |
0.005193727970123291, | |
0.005235712051391602, | |
0.00522649621963501 | |
], | |
"count": 178, | |
"total": 1.0020334067344667, | |
"mean": 0.005629401161429587, | |
"p50": 0.005575679779052735, | |
"p90": 0.005896089506149292, | |
"p95": 0.00596019184589386, | |
"p99": 0.006371819529533386, | |
"stdev": 0.00022340416408947865, | |
"stdev_": 3.9685244963559345 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 177.6387880919913 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.266823724781278e-08, | |
"ram": 3.418672329992824e-08, | |
"gpu": 1.2708782096841948e-07, | |
"total": 2.239427815161605e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4465426.361277184 | |
} | |
} | |
} | |
} |