
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
8bd3f19
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.261056, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.223-211.872.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.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.1", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 782.72512, | |
"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.35771337890625, | |
"mean": 7.35771337890625, | |
"stdev": 0.0, | |
"p50": 7.35771337890625, | |
"p90": 7.35771337890625, | |
"p95": 7.35771337890625, | |
"p99": 7.35771337890625, | |
"values": [ | |
7.35771337890625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.376691888891269e-07, | |
"ram": 4.983140496129978e-07, | |
"gpu": 1.6369457540000264e-06, | |
"total": 3.0729289925021507e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.303232, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 176, | |
"total": 1.0038990721702576, | |
"mean": 0.005703972000967373, | |
"stdev": 0.0002143798567196535, | |
"p50": 0.005758463859558105, | |
"p90": 0.005937151908874512, | |
"p95": 0.005984511971473694, | |
"p99": 0.006247424006462097, | |
"values": [ | |
0.006127615928649902, | |
0.006496255874633789, | |
0.006085631847381592, | |
0.005989376068115234, | |
0.0060293121337890625, | |
0.005912576198577881, | |
0.005988351821899414, | |
0.0059023361206054685, | |
0.005937151908874512, | |
0.00582860803604126, | |
0.005908480167388916, | |
0.005808127880096436, | |
0.005934080123901367, | |
0.005834752082824707, | |
0.005910528182983398, | |
0.005776383876800537, | |
0.005752831935882568, | |
0.005738495826721191, | |
0.005754879951477051, | |
0.005873663902282715, | |
0.005864448070526123, | |
0.0059699201583862304, | |
0.005901311874389649, | |
0.005983232021331787, | |
0.005891071796417236, | |
0.005965888023376465, | |
0.005775360107421875, | |
0.005772287845611572, | |
0.005817344188690185, | |
0.005903359889984131, | |
0.005695487976074219, | |
0.005858304023742676, | |
0.005954559803009033, | |
0.005852159976959229, | |
0.005937151908874512, | |
0.005796864032745362, | |
0.005866496086120605, | |
0.005840896129608154, | |
0.0058787841796875, | |
0.005796864032745362, | |
0.005989376068115234, | |
0.00576204776763916, | |
0.005742591857910156, | |
0.005733376026153565, | |
0.005774335861206055, | |
0.005816319942474365, | |
0.0058009600639343266, | |
0.005852159976959229, | |
0.005827583789825439, | |
0.005897215843200684, | |
0.005819392204284668, | |
0.00592793607711792, | |
0.0058787841796875, | |
0.005910592079162598, | |
0.005945343971252442, | |
0.005938176155090332, | |
0.00586956787109375, | |
0.0058091521263122555, | |
0.005797887802124023, | |
0.005807104110717773, | |
0.005966847896575928, | |
0.005823488235473633, | |
0.0058757119178771975, | |
0.005801983833312988, | |
0.005929984092712402, | |
0.005785600185394287, | |
0.005785600185394287, | |
0.005725183963775635, | |
0.005837823867797852, | |
0.00576204776763916, | |
0.005846015930175781, | |
0.005937151908874512, | |
0.005747712135314941, | |
0.0058091521263122555, | |
0.005787648200988769, | |
0.005815296173095703, | |
0.005823488235473633, | |
0.00587775993347168, | |
0.005806079864501953, | |
0.0064102401733398436, | |
0.005853184223175049, | |
0.005893119812011719, | |
0.005900288105010986, | |
0.005916672229766846, | |
0.005866496086120605, | |
0.005866496086120605, | |
0.005899263858795166, | |
0.005808127880096436, | |
0.005866496086120605, | |
0.005799935817718506, | |
0.005873663902282715, | |
0.005753856182098388, | |
0.0061931519508361815, | |
0.0058388481140136715, | |
0.005801983833312988, | |
0.005661695957183838, | |
0.00577023983001709, | |
0.005595136165618897, | |
0.005594111919403076, | |
0.005725183963775635, | |
0.005734399795532226, | |
0.005610496044158936, | |
0.005462016105651855, | |
0.005446656227111817, | |
0.005518335819244385, | |
0.005501952171325684, | |
0.00571289587020874, | |
0.005585919857025146, | |
0.005602303981781006, | |
0.00568012809753418, | |
0.005607423782348633, | |
0.005726208209991455, | |
0.005865471839904785, | |
0.005657599925994873, | |
0.005481472015380859, | |
0.005512191772460938, | |
0.005529600143432617, | |
0.005441535949707031, | |
0.005459968090057373, | |
0.005492735862731934, | |
0.005468160152435303, | |
0.005482495784759522, | |
0.005478400230407715, | |
0.005449728012084961, | |
0.0055101442337036136, | |
0.005435391902923584, | |
0.0054568958282470706, | |
0.0054906878471374515, | |
0.005471231937408447, | |
0.005440512180328369, | |
0.0054876160621643065, | |
0.005433343887329102, | |
0.0054876160621643065, | |
0.005422080039978027, | |
0.005463039875030518, | |
0.005468160152435303, | |
0.005464064121246338, | |
0.005421055793762207, | |
0.005536767959594726, | |
0.005425151824951172, | |
0.005459968090057373, | |
0.0054876160621643065, | |
0.0054241280555725096, | |
0.005442560195922852, | |
0.005459968090057373, | |
0.005437439918518067, | |
0.00550707197189331, | |
0.005454847812652588, | |
0.005467135906219483, | |
0.005455904006958008, | |
0.005442560195922852, | |
0.005419007778167725, | |
0.005495808124542236, | |
0.005439487934112549, | |
0.005477375984191894, | |
0.005435391902923584, | |
0.005480447769165039, | |
0.005477375984191894, | |
0.005475327968597412, | |
0.005445631980895996, | |
0.005463039875030518, | |
0.005440512180328369, | |
0.005450751781463623, | |
0.005446656227111817, | |
0.005478400230407715, | |
0.0054876160621643065, | |
0.00547430419921875, | |
0.005419007778167725, | |
0.005502975940704345, | |
0.005434368133544922, | |
0.005455872058868408, | |
0.005481472015380859, | |
0.005470208168029785, | |
0.005449728012084961, | |
0.005460000038146973, | |
0.005433343887329102 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 175.31642859228685 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.496726657559241e-08, | |
"ram": 3.551683961605599e-08, | |
"gpu": 1.2642390198907328e-07, | |
"total": 2.2690800818072166e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4407072.31101137 | |
} | |
} | |
} | |
} |