
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
64363fa
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.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.45.2", | |
"transformers_commit": null, | |
"accelerate_version": "1.0.1", | |
"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.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 798.101504, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07608115386962891 | |
], | |
"count": 1, | |
"total": 0.07608115386962891, | |
"mean": 0.07608115386962891, | |
"p50": 0.07608115386962891, | |
"p90": 0.07608115386962891, | |
"p95": 0.07608115386962891, | |
"p99": 0.07608115386962891, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1053.732864, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.005637119770050049, | |
0.006034431934356689, | |
0.005616640090942383, | |
0.005601280212402344, | |
0.005536767959594726, | |
0.005569536209106446, | |
0.005519360065460205, | |
0.005493760108947754, | |
0.005587967872619629, | |
0.00547430419921875, | |
0.005815296173095703, | |
0.0055101442337036136, | |
0.005525504112243652, | |
0.005571584224700928, | |
0.0055214080810546875, | |
0.00552243185043335, | |
0.005527552127838135, | |
0.005486591815948487, | |
0.005512191772460938, | |
0.005468160152435303, | |
0.005483520030975342, | |
0.005526527881622314, | |
0.0054876160621643065, | |
0.005482495784759522, | |
0.005484543800354004, | |
0.005469183921813964, | |
0.005527552127838135, | |
0.005500927925109863, | |
0.005493824005126953, | |
0.005497856140136719, | |
0.005469183921813964, | |
0.005458943843841553, | |
0.005480447769165039, | |
0.005463039875030518, | |
0.005500927925109863, | |
0.0054579200744628905, | |
0.005486591815948487, | |
0.0056217598915100095, | |
0.005509119987487793, | |
0.005508096218109131, | |
0.005501952171325684, | |
0.005291007995605469, | |
0.005198847770690918, | |
0.005182464122772217, | |
0.005241856098175048, | |
0.005370880126953125, | |
0.005315584182739258, | |
0.005248000144958496, | |
0.005259263992309571, | |
0.0052930560111999515, | |
0.005312511920928955, | |
0.00525929594039917, | |
0.005336063861846924, | |
0.005275648117065429, | |
0.005258240222930908, | |
0.0052899842262268066, | |
0.0052899842262268066, | |
0.005291007995605469, | |
0.0053043198585510255, | |
0.005253119945526123, | |
0.005249023914337158, | |
0.005281792163848877, | |
0.005274623870849609, | |
0.005261312007904053, | |
0.005282815933227539, | |
0.0052633600234985355, | |
0.0052633600234985355, | |
0.0052705278396606445, | |
0.005265408039093018, | |
0.0052408318519592285, | |
0.005275648117065429, | |
0.005282815933227539, | |
0.005259263992309571, | |
0.0052408318519592285, | |
0.0052899842262268066, | |
0.005237760066986084, | |
0.005284863948822022, | |
0.0052674560546875, | |
0.005281792163848877, | |
0.005248000144958496, | |
0.0053012480735778805, | |
0.005268479824066162, | |
0.005262335777282715, | |
0.005269504070281982, | |
0.005276671886444092, | |
0.005246975898742676, | |
0.005288959980010987, | |
0.005251071929931641, | |
0.005255167961120606, | |
0.005252096176147461, | |
0.005294079780578613, | |
0.005252096176147461, | |
0.005253151893615722, | |
0.005269504070281982, | |
0.005250048160552978, | |
0.005239808082580567, | |
0.005291007995605469, | |
0.005243904113769531, | |
0.005254144191741943, | |
0.005328896045684814, | |
0.005305344104766845, | |
0.005311488151550293, | |
0.005336063861846924, | |
0.005264383792877197, | |
0.005256192207336426, | |
0.005258240222930908, | |
0.005295104026794434, | |
0.005249023914337158, | |
0.00531763219833374, | |
0.005252096176147461, | |
0.006014976024627685, | |
0.006589439868927002, | |
0.006595583915710449, | |
0.006597631931304931, | |
0.006660096168518067, | |
0.0061931519508361815, | |
0.005755904197692871, | |
0.005661695957183838, | |
0.005728256225585937, | |
0.005796864032745362, | |
0.005591040134429932, | |
0.0055214080810546875, | |
0.005548031806945801, | |
0.005583871841430664, | |
0.005526527881622314, | |
0.005587967872619629, | |
0.0055101442337036136, | |
0.005554175853729248, | |
0.005570559978485107, | |
0.005549056053161621, | |
0.005550079822540284, | |
0.005501952171325684, | |
0.005499904155731201, | |
0.005485568046569824, | |
0.005489664077758789, | |
0.005477375984191894, | |
0.005533696174621582, | |
0.005473279953002929, | |
0.00552243185043335, | |
0.005518335819244385, | |
0.0054988799095153805, | |
0.00552243185043335, | |
0.005517312049865723, | |
0.0054568958282470706, | |
0.0055316481590271, | |
0.005481472015380859, | |
0.005516287803649903, | |
0.0054988799095153805, | |
0.005492735862731934, | |
0.005478400230407715, | |
0.005497856140136719, | |
0.005488639831542969, | |
0.005561344146728516, | |
0.005475327968597412, | |
0.005516287803649903, | |
0.005470208168029785, | |
0.005489664077758789, | |
0.005516287803649903, | |
0.005511168003082275, | |
0.0054609918594360355, | |
0.00555622386932373, | |
0.005512191772460938, | |
0.00550707197189331, | |
0.0054876160621643065, | |
0.005472256183624268, | |
0.005505023956298828, | |
0.005486591815948487, | |
0.005495808124542236, | |
0.005541888236999512, | |
0.005499904155731201, | |
0.005500927925109863, | |
0.005469183921813964, | |
0.005489664077758789, | |
0.005499904155731201, | |
0.005492735862731934, | |
0.005472256183624268, | |
0.005526527881622314, | |
0.005459968090057373, | |
0.005519360065460205, | |
0.00552243185043335, | |
0.0054906878471374515, | |
0.0054988799095153805, | |
0.005488639831542969, | |
0.005464064121246338 | |
], | |
"count": 184, | |
"total": 1.0048625931739799, | |
"mean": 0.005461209745510765, | |
"p50": 0.005484031915664673, | |
"p90": 0.0055867390632629394, | |
"p95": 0.005751757001876831, | |
"p99": 0.0065959320783615105, | |
"stdev": 0.00023106751478452694, | |
"stdev_": 4.231068308161383 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.10961244841806 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.546062232581018e-08, | |
"ram": 3.5767918808479316e-08, | |
"gpu": 1.275967871602217e-07, | |
"total": 2.288253282945112e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4370145.5929430295 | |
} | |
} | |
} | |
} |