
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
5a031e0
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.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": 792.711168, | |
"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.01805126953125, | |
"mean": 8.01805126953125, | |
"stdev": 0.0, | |
"p50": 8.01805126953125, | |
"p90": 8.01805126953125, | |
"p95": 8.01805126953125, | |
"p99": 8.01805126953125, | |
"values": [ | |
8.01805126953125 | |
] | |
}, | |
"throughput": null, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 2.397452707595625e-06, | |
"ram": 1.2950551987911555e-06, | |
"gpu": 3.0919469180268333e-06, | |
"total": 6.784454824413614e-06 | |
}, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1047.924736, | |
"max_global_vram": 1236.795392, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 449.025024 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 181, | |
"total": 1.0006539549827576, | |
"mean": 0.0055284748894075, | |
"stdev": 0.0001726521503955564, | |
"p50": 0.005506048202514649, | |
"p90": 0.005668863773345947, | |
"p95": 0.0057712640762329105, | |
"p99": 0.006215475368499751, | |
"values": [ | |
0.005777408123016357, | |
0.005901311874389649, | |
0.005783552169799804, | |
0.005686272144317627, | |
0.00566374397277832, | |
0.005675007820129394, | |
0.005675007820129394, | |
0.005668863773345947, | |
0.0056228160858154295, | |
0.00557260799407959, | |
0.005635072231292724, | |
0.0056145920753479005, | |
0.0055848960876464845, | |
0.005541888236999512, | |
0.005563392162322998, | |
0.005570559978485107, | |
0.005565440177917481, | |
0.005537792205810547, | |
0.005434368133544922, | |
0.005420032024383545, | |
0.005445631980895996, | |
0.005495808124542236, | |
0.005508096218109131, | |
0.0055511040687561035, | |
0.005612544059753418, | |
0.005640192031860352, | |
0.005633024215698243, | |
0.00556441593170166, | |
0.005593088150024414, | |
0.005527552127838135, | |
0.005485599994659424, | |
0.005526527881622314, | |
0.005537792205810547, | |
0.005631999969482422, | |
0.005594111919403076, | |
0.005601280212402344, | |
0.005598207950592041, | |
0.005574656009674072, | |
0.00563097620010376, | |
0.00557260799407959, | |
0.005791744232177734, | |
0.0055511040687561035, | |
0.005540863990783691, | |
0.005577727794647217, | |
0.005608448028564453, | |
0.005668863773345947, | |
0.005502975940704345, | |
0.005410816192626953, | |
0.005436416149139404, | |
0.005438464164733887, | |
0.005453824043273926, | |
0.0054906878471374515, | |
0.005512191772460938, | |
0.0055203838348388675, | |
0.005512191772460938, | |
0.005493760108947754, | |
0.0057712640762329105, | |
0.005588992118835449, | |
0.00563097620010376, | |
0.005611519813537597, | |
0.005588992118835449, | |
0.005616640090942383, | |
0.005616640090942383, | |
0.005638144016265869, | |
0.005576704025268555, | |
0.005534719944000244, | |
0.005508096218109131, | |
0.0055101442337036136, | |
0.005581823825836182, | |
0.005610559940338135, | |
0.0055552000999450684, | |
0.005535744190216065, | |
0.005542912006378174, | |
0.005565440177917481, | |
0.005602303981781006, | |
0.005448703765869141, | |
0.005426176071166992, | |
0.00546611213684082, | |
0.005500927925109863, | |
0.005513216018676758, | |
0.00556441593170166, | |
0.0055920639038085935, | |
0.00551526403427124, | |
0.005458943843841553, | |
0.005482495784759522, | |
0.005496831893920898, | |
0.005481472015380859, | |
0.0054988799095153805, | |
0.005499904155731201, | |
0.00546611213684082, | |
0.005508096218109131, | |
0.005506048202514649, | |
0.00613478422164917, | |
0.005606400012969971, | |
0.005635072231292724, | |
0.005591040134429932, | |
0.005557248115539551, | |
0.00561356782913208, | |
0.005553152084350586, | |
0.005534719944000244, | |
0.00561356782913208, | |
0.0055316481590271, | |
0.00557260799407959, | |
0.005444608211517334, | |
0.005385216236114502, | |
0.005591040134429932, | |
0.005505023956298828, | |
0.005405695915222168, | |
0.005401599884033203, | |
0.005345280170440674, | |
0.005244927883148193, | |
0.005380095958709717, | |
0.005434368133544922, | |
0.005388288021087646, | |
0.005210112094879151, | |
0.005187583923339844, | |
0.005216256141662597, | |
0.005234687805175781, | |
0.005216256141662597, | |
0.005700607776641845, | |
0.005683199882507324, | |
0.005654528141021729, | |
0.005679103851318359, | |
0.00572211217880249, | |
0.005830656051635743, | |
0.005947391986846923, | |
0.006714367866516113, | |
0.0065382399559021, | |
0.005638144016265869, | |
0.005431295871734619, | |
0.005470208168029785, | |
0.0054282240867614745, | |
0.005430272102355957, | |
0.005468160152435303, | |
0.005433343887329102, | |
0.0054271998405456545, | |
0.005479423999786377, | |
0.005421055793762207, | |
0.005419007778167725, | |
0.005476352214813233, | |
0.00542310380935669, | |
0.005476352214813233, | |
0.005435391902923584, | |
0.00542310380935669, | |
0.005454847812652588, | |
0.00542310380935669, | |
0.005429247856140137, | |
0.005435391902923584, | |
0.005441535949707031, | |
0.005422080039978027, | |
0.005432320117950439, | |
0.005450751781463623, | |
0.005467135906219483, | |
0.005412864208221436, | |
0.005422080039978027, | |
0.005416959762573242, | |
0.005417984008789062, | |
0.005410816192626953, | |
0.005411839962005615, | |
0.005419007778167725, | |
0.005407743930816651, | |
0.00542310380935669, | |
0.005447679996490478, | |
0.005398528099060058, | |
0.005422080039978027, | |
0.005405695915222168, | |
0.005430272102355957, | |
0.005416959762573242, | |
0.005400576114654541, | |
0.005413887977600097, | |
0.005393407821655274, | |
0.005377024173736572, | |
0.005449728012084961, | |
0.005408768177032471, | |
0.005368832111358642, | |
0.005401599884033203, | |
0.005377024173736572, | |
0.005396480083465576, | |
0.005420032024383545, | |
0.0054282240867614745, | |
0.005369855880737305 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 180.8817115034726 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.520874335326211e-08, | |
"ram": 3.5631227636432584e-08, | |
"gpu": 1.2697659730761937e-07, | |
"total": 2.2781656829731407e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4389496.371901016 | |
} | |
} | |
} | |
} |