
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
802d4b5
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.6.0.dev20240917+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": 805.441536, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.5140986328125, | |
"mean": 8.5140986328125, | |
"stdev": 0.0, | |
"p50": 8.5140986328125, | |
"p90": 8.5140986328125, | |
"p95": 8.5140986328125, | |
"p99": 8.5140986328125, | |
"values": [ | |
8.5140986328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.640726444584086e-07, | |
"ram": 5.024944429325085e-07, | |
"gpu": 1.7833347600026972e-06, | |
"total": 3.249901847393614e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1057.243136, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 178, | |
"total": 1.0019687366485595, | |
"mean": 0.005629037846340223, | |
"stdev": 0.000190092244698167, | |
"p50": 0.005594111919403076, | |
"p90": 0.005733068752288819, | |
"p95": 0.005921689510345461, | |
"p99": 0.006492856445312498, | |
"values": [ | |
0.006271999835968017, | |
0.006441984176635742, | |
0.006318079948425293, | |
0.0062679038047790524, | |
0.006179840087890625, | |
0.006232063770294189, | |
0.006170623779296875, | |
0.006663167953491211, | |
0.005761023998260498, | |
0.005482495784759522, | |
0.005470208168029785, | |
0.005450751781463623, | |
0.005467135906219483, | |
0.005430272102355957, | |
0.005484543800354004, | |
0.005440512180328369, | |
0.00587775993347168, | |
0.005652480125427246, | |
0.005629951953887939, | |
0.00586956787109375, | |
0.005600255966186523, | |
0.005595136165618897, | |
0.005591040134429932, | |
0.005601280212402344, | |
0.00563097620010376, | |
0.005586944103240967, | |
0.005633024215698243, | |
0.005602303981781006, | |
0.005612544059753418, | |
0.005629951953887939, | |
0.005598207950592041, | |
0.005652480125427246, | |
0.005631008148193359, | |
0.0056442880630493165, | |
0.005666816234588623, | |
0.005616640090942383, | |
0.0056442880630493165, | |
0.005561344146728516, | |
0.005647359848022461, | |
0.005602303981781006, | |
0.005587967872619629, | |
0.005601280212402344, | |
0.0055920639038085935, | |
0.005608448028564453, | |
0.0056780800819396975, | |
0.005791744232177734, | |
0.005662720203399658, | |
0.005605375766754151, | |
0.005598207950592041, | |
0.0055920639038085935, | |
0.005594111919403076, | |
0.005658624172210694, | |
0.005578752040863037, | |
0.005598207950592041, | |
0.005658624172210694, | |
0.005603328227996827, | |
0.005609471797943116, | |
0.005574656009674072, | |
0.005568511962890625, | |
0.005608448028564453, | |
0.005594111919403076, | |
0.005604351997375488, | |
0.00572108793258667, | |
0.005617663860321045, | |
0.005576704025268555, | |
0.005542912006378174, | |
0.0055920639038085935, | |
0.005582848072052002, | |
0.0056217598915100095, | |
0.00555622386932373, | |
0.005578752040863037, | |
0.005787648200988769, | |
0.00561356782913208, | |
0.005627903938293457, | |
0.005647359848022461, | |
0.005573631763458252, | |
0.005608448028564453, | |
0.005593088150024414, | |
0.00561356782913208, | |
0.005595136165618897, | |
0.005606400012969971, | |
0.005609471797943116, | |
0.005633024215698243, | |
0.005631999969482422, | |
0.005626880168914795, | |
0.0056217598915100095, | |
0.0056145920753479005, | |
0.005571616172790527, | |
0.005615615844726562, | |
0.0055808000564575196, | |
0.005591040134429932, | |
0.005600255966186523, | |
0.005570559978485107, | |
0.005649407863616943, | |
0.005796864032745362, | |
0.00561356782913208, | |
0.005643263816833496, | |
0.005686272144317627, | |
0.0056145920753479005, | |
0.005511168003082275, | |
0.00552345609664917, | |
0.005506048202514649, | |
0.005541888236999512, | |
0.00553984022140503, | |
0.005533696174621582, | |
0.005516287803649903, | |
0.005541888236999512, | |
0.005497856140136719, | |
0.005594111919403076, | |
0.005559296131134033, | |
0.005676032066345215, | |
0.005848063945770264, | |
0.005683199882507324, | |
0.005627903938293457, | |
0.0055511040687561035, | |
0.005505023956298828, | |
0.005530623912811279, | |
0.00547430419921875, | |
0.005534719944000244, | |
0.005480447769165039, | |
0.0055101442337036136, | |
0.00553984022140503, | |
0.005511168003082275, | |
0.00566476821899414, | |
0.0055511040687561035, | |
0.00551526403427124, | |
0.005545983791351319, | |
0.005529600143432617, | |
0.0055848960876464845, | |
0.005669888019561768, | |
0.005598207950592041, | |
0.005543935775756836, | |
0.005527552127838135, | |
0.005532671928405761, | |
0.0055623679161071774, | |
0.005519360065460205, | |
0.005565440177917481, | |
0.005500927925109863, | |
0.005524511814117432, | |
0.0055285758972167965, | |
0.005508096218109131, | |
0.0055285758972167965, | |
0.005513216018676758, | |
0.005763072013854981, | |
0.005638144016265869, | |
0.005499904155731201, | |
0.005492735862731934, | |
0.005548031806945801, | |
0.005530623912811279, | |
0.005765120029449463, | |
0.005516287803649903, | |
0.005519360065460205, | |
0.005582848072052002, | |
0.0055214080810546875, | |
0.005702655792236328, | |
0.005627903938293457, | |
0.005653503894805908, | |
0.005665791988372803, | |
0.005633024215698243, | |
0.005600255966186523, | |
0.005534719944000244, | |
0.005547008037567139, | |
0.00556441593170166, | |
0.005547008037567139, | |
0.005545983791351319, | |
0.0055214080810546875, | |
0.005513216018676758, | |
0.005529600143432617, | |
0.005493760108947754, | |
0.005493760108947754, | |
0.005516287803649903, | |
0.005488639831542969, | |
0.005536767959594726, | |
0.005543935775756836, | |
0.006716415882110595, | |
0.005701632022857666, | |
0.005594111919403076, | |
0.0055582718849182125 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 177.65025343543576 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.661654104201233e-08, | |
"ram": 3.631792577680325e-08, | |
"gpu": 1.3294703373187728e-07, | |
"total": 2.3588150055069284e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4239416.815924028 | |
} | |
} | |
} | |
} |