![IlyasMoutawwakil's picture](https://cdn-avatars.huggingface.co/v1/production/uploads/1642598610696-noauth.jpeg)
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
e528ab4
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.072896, | |
"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.5264736328125, | |
"mean": 8.5264736328125, | |
"stdev": 0.0, | |
"p50": 8.5264736328125, | |
"p90": 8.5264736328125, | |
"p95": 8.5264736328125, | |
"p99": 8.5264736328125, | |
"values": [ | |
8.5264736328125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.447526048815134e-07, | |
"ram": 4.982736155477693e-07, | |
"gpu": 1.7388902799966854e-06, | |
"total": 3.181916500425968e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1056.862208, | |
"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.0032415347099304, | |
"mean": 0.005636188397246801, | |
"stdev": 0.0001735130568022764, | |
"p50": 0.005602816104888916, | |
"p90": 0.005857177543640137, | |
"p95": 0.005888153576850892, | |
"p99": 0.006097295131683349, | |
"values": [ | |
0.00607539176940918, | |
0.006170623779296875, | |
0.005854207992553711, | |
0.005767168045043946, | |
0.005732351779937744, | |
0.005735424041748047, | |
0.00572108793258667, | |
0.005668863773345947, | |
0.005681151866912842, | |
0.005642240047454834, | |
0.00566374397277832, | |
0.005667840003967285, | |
0.005617663860321045, | |
0.005617663860321045, | |
0.005571584224700928, | |
0.005662720203399658, | |
0.005645311832427978, | |
0.005834752082824707, | |
0.005787648200988769, | |
0.005689343929290771, | |
0.005698560237884521, | |
0.005687295913696289, | |
0.005792768001556397, | |
0.0058122239112854005, | |
0.005856256008148194, | |
0.005945343971252442, | |
0.005901311874389649, | |
0.00588595199584961, | |
0.005702655792236328, | |
0.00563097620010376, | |
0.0055797758102417, | |
0.005772287845611572, | |
0.00581324815750122, | |
0.0058091521263122555, | |
0.005888000011444092, | |
0.00586240005493164, | |
0.005854207992553711, | |
0.005863423824310303, | |
0.005859327793121338, | |
0.005781504154205322, | |
0.005889023780822754, | |
0.005793791770935058, | |
0.005853184223175049, | |
0.00587775993347168, | |
0.005863423824310303, | |
0.005577727794647217, | |
0.005626880168914795, | |
0.005588992118835449, | |
0.005540863990783691, | |
0.005434368133544922, | |
0.0054271998405456545, | |
0.005452799797058106, | |
0.005683199882507324, | |
0.0055582718849182125, | |
0.005552127838134766, | |
0.005547008037567139, | |
0.005481472015380859, | |
0.005530623912811279, | |
0.005542912006378174, | |
0.0055203838348388675, | |
0.005560319900512695, | |
0.005583871841430664, | |
0.005805056095123291, | |
0.005603328227996827, | |
0.0056852478981018065, | |
0.005602303981781006, | |
0.005608448028564453, | |
0.005612544059753418, | |
0.005582848072052002, | |
0.00553984022140503, | |
0.005529600143432617, | |
0.005527552127838135, | |
0.005667840003967285, | |
0.005623807907104492, | |
0.005627903938293457, | |
0.0055797758102417, | |
0.005582848072052002, | |
0.005953536033630371, | |
0.005860352039337159, | |
0.005797887802124023, | |
0.00571289587020874, | |
0.005814271926879883, | |
0.005807104110717773, | |
0.005819392204284668, | |
0.005773312091827393, | |
0.00581324815750122, | |
0.005949440002441406, | |
0.005745664119720459, | |
0.0057794561386108395, | |
0.005725183963775635, | |
0.005758975982666016, | |
0.005756927967071533, | |
0.005785600185394287, | |
0.005537792205810547, | |
0.00552243185043335, | |
0.00552243185043335, | |
0.005512191772460938, | |
0.005553152084350586, | |
0.005537792205810547, | |
0.005603328227996827, | |
0.00570470380783081, | |
0.005626880168914795, | |
0.005646336078643799, | |
0.0056514558792114256, | |
0.005612544059753418, | |
0.005635072231292724, | |
0.005595136165618897, | |
0.005571584224700928, | |
0.005595136165618897, | |
0.005536767959594726, | |
0.005530623912811279, | |
0.005478400230407715, | |
0.005544960021972656, | |
0.005587967872619629, | |
0.005463039875030518, | |
0.005416959762573242, | |
0.005431295871734619, | |
0.0053002238273620605, | |
0.00532480001449585, | |
0.005430272102355957, | |
0.005563392162322998, | |
0.005369855880737305, | |
0.005245952129364013, | |
0.005256192207336426, | |
0.005504000186920166, | |
0.00557260799407959, | |
0.00573747205734253, | |
0.0055511040687561035, | |
0.00561356782913208, | |
0.005607423782348633, | |
0.005647359848022461, | |
0.005701632022857666, | |
0.005833727836608887, | |
0.005881855964660645, | |
0.0055848960876464845, | |
0.00547430419921875, | |
0.005509119987487793, | |
0.0054876160621643065, | |
0.005462016105651855, | |
0.005496831893920898, | |
0.005482495784759522, | |
0.005481472015380859, | |
0.005511168003082275, | |
0.0054876160621643065, | |
0.005573631763458252, | |
0.00550707197189331, | |
0.005502975940704345, | |
0.00555622386932373, | |
0.005478400230407715, | |
0.005512191772460938, | |
0.0056442880630493165, | |
0.005438464164733887, | |
0.005484543800354004, | |
0.005481472015380859, | |
0.005504000186920166, | |
0.005483520030975342, | |
0.005495808124542236, | |
0.005495808124542236, | |
0.005488639831542969, | |
0.005478400230407715, | |
0.005505023956298828, | |
0.005494783878326416, | |
0.005473279953002929, | |
0.00546611213684082, | |
0.005481472015380859, | |
0.005486591815948487, | |
0.00550707197189331, | |
0.005425151824951172, | |
0.005486591815948487, | |
0.00582041597366333, | |
0.005957632064819336, | |
0.006621183872222901, | |
0.005654528141021729, | |
0.005798912048339844, | |
0.005548031806945801, | |
0.005511168003082275, | |
0.005517375946044922, | |
0.005501952171325684 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 177.42487112185356 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.41198544095403e-08, | |
"ram": 3.494910224856533e-08, | |
"gpu": 1.3184000989246483e-07, | |
"total": 2.309089665505705e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4330710.993767294 | |
} | |
} | |
} | |
} |