
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9c34476
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+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.25696, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.220-209.869.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.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 782.721024, | |
"max_global_vram": 1218.9696, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.44093603515625, | |
"mean": 7.44093603515625, | |
"stdev": 0.0, | |
"p50": 7.44093603515625, | |
"p90": 7.44093603515625, | |
"p95": 7.44093603515625, | |
"p99": 7.44093603515625, | |
"values": [ | |
7.44093603515625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.83772114583164e-07, | |
"ram": 4.99834958397856e-07, | |
"gpu": 1.7180569300005895e-06, | |
"total": 3.2016640029816094e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.307328, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 177, | |
"total": 1.0041078433990474, | |
"mean": 0.005672925668921174, | |
"stdev": 0.00027090347495663865, | |
"p50": 0.005705728054046631, | |
"p90": 0.0058787841796875, | |
"p95": 0.005986944198608398, | |
"p99": 0.0065986559486389245, | |
"values": [ | |
0.007431168079376221, | |
0.007318528175354004, | |
0.006023168087005615, | |
0.006011903762817383, | |
0.005982240200042724, | |
0.005933055877685547, | |
0.005980160236358643, | |
0.005866496086120605, | |
0.0058091521263122555, | |
0.005843967914581299, | |
0.005753856182098388, | |
0.005789696216583252, | |
0.00576204776763916, | |
0.006005760192871094, | |
0.00576204776763916, | |
0.005705728054046631, | |
0.005753856182098388, | |
0.005662720203399658, | |
0.005811200141906738, | |
0.005769216060638428, | |
0.005817344188690185, | |
0.005806079864501953, | |
0.0058716158866882326, | |
0.005818367958068848, | |
0.00582860803604126, | |
0.005789696216583252, | |
0.005746687889099121, | |
0.005732351779937744, | |
0.005860352039337159, | |
0.005823488235473633, | |
0.0059269118309021, | |
0.005532671928405761, | |
0.005672959804534912, | |
0.005846015930175781, | |
0.005893119812011719, | |
0.00582144021987915, | |
0.006264832019805908, | |
0.005831679821014404, | |
0.005858304023742676, | |
0.00581324815750122, | |
0.00581324815750122, | |
0.005662720203399658, | |
0.005641215801239013, | |
0.005647391796112061, | |
0.005687295913696289, | |
0.005695487976074219, | |
0.005734399795532226, | |
0.0057794561386108395, | |
0.005794816017150879, | |
0.0057487359046936035, | |
0.005794816017150879, | |
0.005895167827606201, | |
0.006024191856384278, | |
0.005874688148498535, | |
0.006371327877044678, | |
0.005920767784118652, | |
0.0058009600639343266, | |
0.0058009600639343266, | |
0.00572211217880249, | |
0.005789696216583252, | |
0.005884928226470947, | |
0.005819392204284668, | |
0.0058009600639343266, | |
0.005750783920288086, | |
0.005836800098419189, | |
0.005735424041748047, | |
0.005673984050750733, | |
0.005657599925994873, | |
0.005731328010559082, | |
0.005740543842315674, | |
0.00573747205734253, | |
0.005825535774230957, | |
0.005715968132019043, | |
0.005765120029449463, | |
0.005738495826721191, | |
0.0057077760696411135, | |
0.005757952213287353, | |
0.0057497601509094234, | |
0.005750783920288086, | |
0.005697535991668701, | |
0.005743616104125977, | |
0.005716991901397705, | |
0.005804031848907471, | |
0.0058716158866882326, | |
0.00582144021987915, | |
0.005803008079528809, | |
0.005827583789825439, | |
0.005836800098419189, | |
0.005755904197692871, | |
0.005780479907989502, | |
0.005747712135314941, | |
0.005772287845611572, | |
0.006062079906463623, | |
0.005727231979370117, | |
0.005751808166503906, | |
0.005665791988372803, | |
0.00566374397277832, | |
0.005660672187805176, | |
0.005506048202514649, | |
0.005594111919403076, | |
0.005732351779937744, | |
0.005811200141906738, | |
0.005458943843841553, | |
0.0054282240867614745, | |
0.005426176071166992, | |
0.005464064121246338, | |
0.00561356782913208, | |
0.005571584224700928, | |
0.00570470380783081, | |
0.005682176113128662, | |
0.005681151866912842, | |
0.005769216060638428, | |
0.005765120029449463, | |
0.005929984092712402, | |
0.005629951953887939, | |
0.005426176071166992, | |
0.005438464164733887, | |
0.0054579200744628905, | |
0.005468160152435303, | |
0.0054241280555725096, | |
0.005441535949707031, | |
0.005525504112243652, | |
0.005430272102355957, | |
0.005400576114654541, | |
0.005495808124542236, | |
0.005403647899627686, | |
0.005451776027679443, | |
0.005438464164733887, | |
0.005416959762573242, | |
0.005414912223815918, | |
0.005395455837249756, | |
0.005403647899627686, | |
0.005422080039978027, | |
0.005434368133544922, | |
0.005441535949707031, | |
0.005433343887329102, | |
0.005390336036682129, | |
0.005400576114654541, | |
0.005442560195922852, | |
0.005408768177032471, | |
0.005426176071166992, | |
0.005478400230407715, | |
0.005399551868438721, | |
0.005416959762573242, | |
0.00538316822052002, | |
0.0053944320678710935, | |
0.005416959762573242, | |
0.005406720161437988, | |
0.005436416149139404, | |
0.005421055793762207, | |
0.005398528099060058, | |
0.005395455837249756, | |
0.0054609918594360355, | |
0.005371903896331787, | |
0.00542310380935669, | |
0.005406720161437988, | |
0.005414912223815918, | |
0.005398528099060058, | |
0.005606400012969971, | |
0.005421055793762207, | |
0.005473279953002929, | |
0.005407743930816651, | |
0.005442560195922852, | |
0.005412864208221436, | |
0.005399551868438721, | |
0.005389311790466309, | |
0.005440512180328369, | |
0.005409791946411133, | |
0.005414912223815918, | |
0.005464064121246338, | |
0.005386240005493164, | |
0.005513216018676758, | |
0.0054241280555725096, | |
0.005408768177032471, | |
0.005442560195922852, | |
0.005391359806060791, | |
0.005411839962005615 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 176.2758862641983 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.191550699146491e-08, | |
"ram": 3.381051435006375e-08, | |
"gpu": 1.2602729989583578e-07, | |
"total": 2.217533212373644e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4509515.3227924 | |
} | |
} | |
} | |
} |