
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8023b51
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.5.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": "1.22.0", | |
"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.30688, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.57312 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
8.00621875 | |
], | |
"count": 1, | |
"total": 8.00621875, | |
"mean": 8.00621875, | |
"p50": 8.00621875, | |
"p90": 8.00621875, | |
"p95": 8.00621875, | |
"p99": 8.00621875, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.24519133938399e-07, | |
"ram": 4.879418930137968e-07, | |
"gpu": 1.637501309881273e-06, | |
"total": 3.0499623368334688e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1052.155904, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.005756927967071533, | |
0.00567193603515625, | |
0.005519360065460205, | |
0.005472256183624268, | |
0.005504000186920166, | |
0.005508096218109131, | |
0.005508096218109131, | |
0.005439487934112549, | |
0.00541593599319458, | |
0.005432320117950439, | |
0.0055203838348388675, | |
0.00542310380935669, | |
0.005444608211517334, | |
0.005454847812652588, | |
0.0053821439743042, | |
0.005700607776641845, | |
0.0053975038528442385, | |
0.005345280170440674, | |
0.006873087882995605, | |
0.005957632064819336, | |
0.006400000095367431, | |
0.00551423978805542, | |
0.005646336078643799, | |
0.005463039875030518, | |
0.005500927925109863, | |
0.005450751781463623, | |
0.005479423999786377, | |
0.005475327968597412, | |
0.005448703765869141, | |
0.005431295871734619, | |
0.005480447769165039, | |
0.005447679996490478, | |
0.005450751781463623, | |
0.005513216018676758, | |
0.005571584224700928, | |
0.00553984022140503, | |
0.0055582718849182125, | |
0.005451776027679443, | |
0.005447679996490478, | |
0.005442560195922852, | |
0.00550707197189331, | |
0.005455872058868408, | |
0.005464064121246338, | |
0.005453824043273926, | |
0.005401599884033203, | |
0.005607423782348633, | |
0.005453824043273926, | |
0.005400576114654541, | |
0.005446656227111817, | |
0.005454847812652588, | |
0.005425151824951172, | |
0.005451776027679443, | |
0.005481472015380859, | |
0.005438464164733887, | |
0.005429247856140137, | |
0.005409791946411133, | |
0.005475327968597412, | |
0.005478400230407715, | |
0.005430272102355957, | |
0.005403647899627686, | |
0.005450751781463623, | |
0.005409791946411133, | |
0.005408768177032471, | |
0.005450751781463623, | |
0.0054568958282470706, | |
0.005452799797058106, | |
0.0054579200744628905, | |
0.005435391902923584, | |
0.005473279953002929, | |
0.005435391902923584, | |
0.005449728012084961, | |
0.005463039875030518, | |
0.005448703765869141, | |
0.005442560195922852, | |
0.005472256183624268, | |
0.005421055793762207, | |
0.0054568958282470706, | |
0.005432320117950439, | |
0.005387263774871826, | |
0.005381120204925537, | |
0.005341184139251709, | |
0.005350399971008301, | |
0.005408768177032471, | |
0.005347328186035156, | |
0.005392384052276611, | |
0.0053944320678710935, | |
0.005377024173736572, | |
0.005459968090057373, | |
0.0054876160621643065, | |
0.005449728012084961, | |
0.005452799797058106, | |
0.005489664077758789, | |
0.005432320117950439, | |
0.005454847812652588, | |
0.005484543800354004, | |
0.005426176071166992, | |
0.005476352214813233, | |
0.005389311790466309, | |
0.005434368133544922, | |
0.005495808124542236, | |
0.005451776027679443, | |
0.005440512180328369, | |
0.005509119987487793, | |
0.00541593599319458, | |
0.00547430419921875, | |
0.005476384162902832, | |
0.005459968090057373, | |
0.00547430419921875, | |
0.005451776027679443, | |
0.006051839828491211, | |
0.00571289587020874, | |
0.005475327968597412, | |
0.00557260799407959, | |
0.005481472015380859, | |
0.005506048202514649, | |
0.0055552000999450684, | |
0.005516287803649903, | |
0.00552345609664917, | |
0.005480447769165039, | |
0.0054876160621643065, | |
0.005535744190216065, | |
0.005452799797058106, | |
0.005471231937408447, | |
0.005518335819244385, | |
0.005410816192626953, | |
0.005501952171325684, | |
0.005500927925109863, | |
0.00542310380935669, | |
0.005443583965301513, | |
0.005371903896331787, | |
0.005399551868438721, | |
0.005414912223815918, | |
0.005472256183624268, | |
0.005451776027679443, | |
0.005500927925109863, | |
0.0054271998405456545, | |
0.005482495784759522, | |
0.005396480083465576, | |
0.005390336036682129, | |
0.005431295871734619, | |
0.005459968090057373, | |
0.0054609918594360355, | |
0.005475327968597412, | |
0.005449728012084961, | |
0.005419007778167725, | |
0.005420032024383545, | |
0.005437439918518067, | |
0.005420032024383545, | |
0.005426176071166992, | |
0.005384191989898681, | |
0.005502975940704345, | |
0.005404672145843506, | |
0.005412864208221436, | |
0.005431295871734619, | |
0.005391359806060791, | |
0.005412864208221436, | |
0.005480447769165039, | |
0.005452799797058106, | |
0.005471231937408447, | |
0.005483520030975342, | |
0.005463200092315674, | |
0.005455872058868408, | |
0.005450751781463623, | |
0.005446688175201416, | |
0.0054876160621643065, | |
0.005426176071166992, | |
0.005454847812652588, | |
0.005465087890625, | |
0.005467135906219483, | |
0.005385216236114502, | |
0.005429247856140137, | |
0.005406720161437988, | |
0.005519360065460205, | |
0.005412864208221436, | |
0.005386240005493164, | |
0.005407743930816651, | |
0.005422080039978027, | |
0.005438464164733887, | |
0.005483520030975342, | |
0.005403647899627686, | |
0.005450751781463623, | |
0.005505023956298828, | |
0.005471231937408447 | |
], | |
"count": 183, | |
"total": 1.0023938231468201, | |
"mean": 0.0054775618751192355, | |
"p50": 0.005452799797058106, | |
"p90": 0.005519360065460205, | |
"p95": 0.005603942203521729, | |
"p99": 0.006114508676528933, | |
"stdev": 0.00014908908390427769, | |
"stdev_": 2.721814692436173 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 182.56297652105152 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.109635458598498e-08, | |
"ram": 3.3381753995738433e-08, | |
"gpu": 1.2532226520566142e-07, | |
"total": 2.1980037378738486e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4549582.799924217 | |
} | |
} | |
} | |
} |