
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
190a0a0
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.9504, | |
"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.40697900390625, | |
"mean": 7.40697900390625, | |
"stdev": 0.0, | |
"p50": 7.40697900390625, | |
"p90": 7.40697900390625, | |
"p95": 7.40697900390625, | |
"p99": 7.40697900390625, | |
"values": [ | |
7.40697900390625 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 9.288713819441027e-07, | |
"ram": 4.931805343121291e-07, | |
"gpu": 1.7886125419997248e-06, | |
"total": 3.2106644582559565e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1038.528512, | |
"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.0028350725173951, | |
"mean": 0.005697926548394289, | |
"stdev": 0.0002701560584565287, | |
"p50": 0.0057881600856781006, | |
"p90": 0.005949951887130737, | |
"p95": 0.006009599924087524, | |
"p99": 0.006390015959739685, | |
"values": [ | |
0.006127615928649902, | |
0.00628223991394043, | |
0.006030335903167725, | |
0.006064127922058105, | |
0.005975039958953857, | |
0.005994495868682862, | |
0.0060026879310607914, | |
0.005944320201873779, | |
0.00586137580871582, | |
0.005903359889984131, | |
0.005959680080413818, | |
0.005938176155090332, | |
0.005971968173980713, | |
0.005928959846496582, | |
0.005917695999145508, | |
0.005827583789825439, | |
0.0057794561386108395, | |
0.005758975982666016, | |
0.005808127880096436, | |
0.005818367958068848, | |
0.005972991943359375, | |
0.005873663902282715, | |
0.005944320201873779, | |
0.0058419198989868165, | |
0.005903359889984131, | |
0.005833727836608887, | |
0.005928959846496582, | |
0.005761023998260498, | |
0.005823488235473633, | |
0.005889023780822754, | |
0.005851136207580566, | |
0.0059023361206054685, | |
0.005856256008148194, | |
0.005893119812011719, | |
0.005874688148498535, | |
0.005890048027038574, | |
0.005829631805419922, | |
0.005879807949066162, | |
0.005840896129608154, | |
0.005866496086120605, | |
0.005858304023742676, | |
0.0058091521263122555, | |
0.005682176113128662, | |
0.005686272144317627, | |
0.005753856182098388, | |
0.005774335861206055, | |
0.005818367958068848, | |
0.005801983833312988, | |
0.005847040176391601, | |
0.005786623954772949, | |
0.005858304023742676, | |
0.005811200141906738, | |
0.005881855964660645, | |
0.005983232021331787, | |
0.005899263858795166, | |
0.0059361281394958495, | |
0.005909503936767578, | |
0.005898240089416504, | |
0.005832704067230224, | |
0.005807104110717773, | |
0.005816319942474365, | |
0.005933087825775146, | |
0.0059658241271972655, | |
0.005858304023742676, | |
0.005826560020446778, | |
0.00586137580871582, | |
0.005837823867797852, | |
0.005783552169799804, | |
0.005720064163208007, | |
0.005764095783233642, | |
0.005830656051635743, | |
0.005775360107421875, | |
0.005954559803009033, | |
0.005849088191986084, | |
0.005860352039337159, | |
0.0057712640762329105, | |
0.005866496086120605, | |
0.005835775852203369, | |
0.00582860803604126, | |
0.005789696216583252, | |
0.005786623954772949, | |
0.0058122239112854005, | |
0.005824512004852295, | |
0.005940224170684814, | |
0.005903359889984131, | |
0.005945343971252442, | |
0.005880832195281982, | |
0.005920767784118652, | |
0.005894239902496338, | |
0.005856256008148194, | |
0.005811200141906738, | |
0.005910528182983398, | |
0.006288383960723877, | |
0.005791744232177734, | |
0.005785600185394287, | |
0.005920767784118652, | |
0.005751808166503906, | |
0.005701632022857666, | |
0.0058009600639343266, | |
0.005586944103240967, | |
0.005933055877685547, | |
0.006097919940948486, | |
0.006603775978088379, | |
0.0065413122177124024, | |
0.006339583873748779, | |
0.005724160194396972, | |
0.005497856140136719, | |
0.005476352214813233, | |
0.005596159934997558, | |
0.0055244798660278325, | |
0.005660672187805176, | |
0.0055285758972167965, | |
0.005617663860321045, | |
0.00571289587020874, | |
0.005868544101715088, | |
0.005698560237884521, | |
0.005529600143432617, | |
0.005477375984191894, | |
0.005554175853729248, | |
0.005532671928405761, | |
0.005516287803649903, | |
0.005483520030975342, | |
0.005511168003082275, | |
0.005536767959594726, | |
0.005452799797058106, | |
0.005420032024383545, | |
0.005411839962005615, | |
0.005388288021087646, | |
0.005354496002197265, | |
0.005375999927520752, | |
0.005337088108062744, | |
0.00532480001449585, | |
0.005386240005493164, | |
0.005354496002197265, | |
0.005348351955413819, | |
0.005345280170440674, | |
0.005359615802764893, | |
0.005346303939819336, | |
0.00535859203338623, | |
0.005513216018676758, | |
0.005493760108947754, | |
0.005380095958709717, | |
0.005405695915222168, | |
0.005570559978485107, | |
0.005396480083465576, | |
0.005346303939819336, | |
0.00536678409576416, | |
0.005314559936523438, | |
0.0053534722328186036, | |
0.005319680213928223, | |
0.0053012480735778805, | |
0.00530944013595581, | |
0.005332992076873779, | |
0.0053043198585510255, | |
0.0053340158462524415, | |
0.00537395191192627, | |
0.005312511920928955, | |
0.00530841588973999, | |
0.005323775768280029, | |
0.00530944013595581, | |
0.005344255924224854, | |
0.0053309440612792965, | |
0.005305344104766845, | |
0.005310463905334473, | |
0.005319680213928223, | |
0.005298175811767578, | |
0.005332992076873779, | |
0.005361663818359375, | |
0.005295104026794434, | |
0.0053350400924682614, | |
0.005337088108062744, | |
0.005282815933227539, | |
0.005356544017791748, | |
0.005329919815063477, | |
0.005338111877441406, | |
0.005328896045684814 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 175.50243786168255 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.458400700105751e-08, | |
"ram": 3.5237763868760336e-08, | |
"gpu": 1.2870783243478602e-07, | |
"total": 2.2852960330460386e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4375800.708265853 | |
} | |
} | |
} | |
} |