
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
1e993e5
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.5.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": 2, | |
"sequence_length": 16 | |
}, | |
"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.248768, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.228-219.884.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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.46.3", | |
"transformers_commit": null, | |
"accelerate_version": "1.1.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.11", | |
"timm_commit": null, | |
"peft_version": "0.13.2", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 812.425216, | |
"max_global_vram": 1226.309632, | |
"max_process_vram": 0.0, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.07877017974853516 | |
], | |
"count": 1, | |
"total": 0.07877017974853516, | |
"mean": 0.07877017974853516, | |
"p50": 0.07877017974853516, | |
"p90": 0.07877017974853516, | |
"p95": 0.07877017974853516, | |
"p99": 0.07877017974853516, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1058.410496, | |
"max_global_vram": 1238.892544, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 452.872192 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.006240255832672119, | |
0.006053887844085694, | |
0.0059064321517944334, | |
0.006044672012329101, | |
0.005893119812011719, | |
0.005958655834197998, | |
0.005959680080413818, | |
0.005921792030334472, | |
0.005913599967956543, | |
0.005962751865386963, | |
0.005953536033630371, | |
0.005944320201873779, | |
0.005921792030334472, | |
0.005955584049224853, | |
0.005932032108306885, | |
0.0059351038932800295, | |
0.005896192073822021, | |
0.006108160018920898, | |
0.005870656013488769, | |
0.005903359889984131, | |
0.005849088191986084, | |
0.0058716158866882326, | |
0.005956607818603516, | |
0.005876736164093017, | |
0.005949440002441406, | |
0.0058716158866882326, | |
0.005923840045928955, | |
0.005917695999145508, | |
0.005893119812011719, | |
0.00582860803604126, | |
0.005920767784118652, | |
0.0058787841796875, | |
0.005972991943359375, | |
0.005903359889984131, | |
0.005948416233062744, | |
0.005904384136199951, | |
0.005954559803009033, | |
0.005850111961364746, | |
0.005937151908874512, | |
0.005844992160797119, | |
0.006005760192871094, | |
0.005865471839904785, | |
0.005889023780822754, | |
0.005894144058227539, | |
0.005912576198577881, | |
0.005951488018035888, | |
0.005852159976959229, | |
0.005931007862091065, | |
0.005879807949066162, | |
0.005916672229766846, | |
0.0060067839622497555, | |
0.006119423866271972, | |
0.005879807949066162, | |
0.005884928226470947, | |
0.0058757119178771975, | |
0.005916672229766846, | |
0.005883903980255127, | |
0.005893119812011719, | |
0.005786623954772949, | |
0.005830656051635743, | |
0.005763072013854981, | |
0.005931007862091065, | |
0.005772287845611572, | |
0.00582041597366333, | |
0.005764095783233642, | |
0.005785600185394287, | |
0.005744639873504639, | |
0.005860352039337159, | |
0.005897215843200684, | |
0.005827583789825439, | |
0.005754879951477051, | |
0.0058757119178771975, | |
0.005881855964660645, | |
0.005866496086120605, | |
0.005827583789825439, | |
0.005883903980255127, | |
0.00588595199584961, | |
0.005957632064819336, | |
0.0059054079055786135, | |
0.005857279777526855, | |
0.00587775993347168, | |
0.005904384136199951, | |
0.006007808208465576, | |
0.005852159976959229, | |
0.0057794561386108395, | |
0.005763072013854981, | |
0.005805056095123291, | |
0.005799935817718506, | |
0.005824512004852295, | |
0.005781504154205322, | |
0.0058419198989868165, | |
0.005769216060638428, | |
0.005852159976959229, | |
0.005786623954772949, | |
0.005799935817718506, | |
0.005723135948181152, | |
0.00587775993347168, | |
0.005868544101715088, | |
0.005959680080413818, | |
0.006032383918762207, | |
0.005931007862091065, | |
0.005880832195281982, | |
0.005903359889984131, | |
0.005947391986846923, | |
0.005846015930175781, | |
0.006085631847381592, | |
0.005884928226470947, | |
0.005984255790710449, | |
0.005904384136199951, | |
0.005898240089416504, | |
0.005843039989471436, | |
0.005895167827606201, | |
0.00586137580871582, | |
0.005881855964660645, | |
0.0058716158866882326, | |
0.005962751865386963, | |
0.005988351821899414, | |
0.005981184005737304, | |
0.005981184005737304, | |
0.005994495868682862, | |
0.00582144021987915, | |
0.005963776111602783, | |
0.005873663902282715, | |
0.005948416233062744, | |
0.005854207992553711, | |
0.005953567981719971, | |
0.005835775852203369, | |
0.005837823867797852, | |
0.005848063945770264, | |
0.0058716158866882326, | |
0.005940224170684814, | |
0.005880832195281982, | |
0.005903359889984131, | |
0.005921792030334472, | |
0.005884928226470947, | |
0.005913599967956543, | |
0.005852159976959229, | |
0.005886975765228271, | |
0.005879807949066162, | |
0.0058787841796875, | |
0.005921792030334472, | |
0.005923840045928955, | |
0.005932032108306885, | |
0.005883903980255127, | |
0.005889023780822754, | |
0.005859327793121338, | |
0.005886975765228271, | |
0.005913599967956543, | |
0.005834752082824707, | |
0.005831679821014404, | |
0.005860352039337159, | |
0.0058787841796875, | |
0.005888000011444092, | |
0.005866496086120605, | |
0.005913599967956543, | |
0.00587059211730957, | |
0.0059361281394958495, | |
0.005901311874389649, | |
0.005950463771820068, | |
0.005829631805419922, | |
0.005953536033630371, | |
0.005855231761932373, | |
0.005884928226470947, | |
0.00581324815750122, | |
0.005961728096008301, | |
0.005822463989257813, | |
0.005981184005737304, | |
0.005867519855499268, | |
0.005960703849792481, | |
0.005844992160797119 | |
], | |
"count": 170, | |
"total": 1.0022709093093878, | |
"mean": 0.005895711231231689, | |
"p50": 0.005886975765228271, | |
"p90": 0.005964697694778442, | |
"p95": 0.0060063232660293574, | |
"p99": 0.006111651811599731, | |
"stdev": 7.150161431562549e-05, | |
"stdev_": 1.2127733450861007 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 339.22964025193187 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.945374411955946e-08, | |
"ram": 3.7945260820093505e-08, | |
"gpu": 1.5845204359064957e-07, | |
"total": 2.6585104853030256e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 7523009.636623771 | |
} | |
} | |
} | |
} |