
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
29aae47
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"model": "google-bert/bert-base-uncased", | |
"library": "transformers", | |
"device": "cuda", | |
"device_ids": "0", | |
"seed": 42, | |
"inter_op_num_threads": null, | |
"intra_op_num_threads": null, | |
"hub_kwargs": { | |
"revision": "main", | |
"force_download": false, | |
"local_files_only": false, | |
"trust_remote_code": false | |
}, | |
"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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7R32", | |
"cpu_count": 16, | |
"cpu_ram_mb": 66697.29792, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.10.215-203.850.amzn2.x86_64-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.14", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "0.9.16", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 865.939456, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 164, | |
"total": 1.0022596473693848, | |
"mean": 0.006111339313227956, | |
"stdev": 0.0001961746853366575, | |
"p50": 0.006041088104248047, | |
"p90": 0.006240767908096314, | |
"p95": 0.0065793025016784665, | |
"p99": 0.006963158955574036, | |
"values": [ | |
0.007425024032592774, | |
0.006922239780426025, | |
0.006829055786132812, | |
0.006593535900115967, | |
0.006614016056060791, | |
0.006592512130737305, | |
0.0066416640281677245, | |
0.007032832145690918, | |
0.006259712219238281, | |
0.0060928001403808595, | |
0.006504447937011719, | |
0.0062863359451293946, | |
0.0062791681289672855, | |
0.006246399879455566, | |
0.006223872184753418, | |
0.00620851182937622, | |
0.006065152168273926, | |
0.006037504196166992, | |
0.006285312175750732, | |
0.006151167869567871, | |
0.006140927791595459, | |
0.006170623779296875, | |
0.0060928001403808595, | |
0.006078464031219482, | |
0.006094848155975342, | |
0.006025216102600098, | |
0.0060702719688415525, | |
0.006004735946655273, | |
0.006100992202758789, | |
0.006072319984436035, | |
0.006062079906463623, | |
0.0060364799499511715, | |
0.006162432193756104, | |
0.006091775894165039, | |
0.006060031890869141, | |
0.006008831977844238, | |
0.006055935859680176, | |
0.0060191359519958494, | |
0.006044672012329101, | |
0.006039552211761475, | |
0.006034431934356689, | |
0.006022143840789795, | |
0.00602623987197876, | |
0.006014976024627685, | |
0.00602726411819458, | |
0.00602623987197876, | |
0.006076416015625, | |
0.006008831977844238, | |
0.006021120071411133, | |
0.006012928009033203, | |
0.006020095825195313, | |
0.0060067839622497555, | |
0.006032383918762207, | |
0.006014976024627685, | |
0.006053887844085694, | |
0.006004735946655273, | |
0.006047743797302246, | |
0.006012928009033203, | |
0.006030335903167725, | |
0.00601087999343872, | |
0.006048768043518066, | |
0.006030335903167725, | |
0.006056960105895996, | |
0.006031360149383545, | |
0.006079487800598145, | |
0.006236159801483154, | |
0.006097919940948486, | |
0.006030335903167725, | |
0.006033408164978027, | |
0.006042623996734619, | |
0.006007808208465576, | |
0.006020095825195313, | |
0.006024191856384278, | |
0.006032383918762207, | |
0.006018080234527588, | |
0.006046720027923584, | |
0.006024191856384278, | |
0.006044672012329101, | |
0.0060282878875732426, | |
0.006022143840789795, | |
0.0059996161460876465, | |
0.006137856006622314, | |
0.006020095825195313, | |
0.0060590081214904785, | |
0.005999680042266846, | |
0.006014976024627685, | |
0.005989376068115234, | |
0.00602623987197876, | |
0.006001664161682129, | |
0.006025216102600098, | |
0.006013951778411865, | |
0.00602726411819458, | |
0.006024191856384278, | |
0.006034431934356689, | |
0.0060067839622497555, | |
0.006057983875274659, | |
0.006013951778411865, | |
0.006022143840789795, | |
0.005990399837493897, | |
0.006017024040222168, | |
0.006017024040222168, | |
0.006014976024627685, | |
0.006007808208465576, | |
0.0060293121337890625, | |
0.006012928009033203, | |
0.0060067839622497555, | |
0.006008831977844238, | |
0.006090752124786377, | |
0.006235136032104492, | |
0.006199295997619629, | |
0.006196224212646485, | |
0.00623308801651001, | |
0.0062566399574279785, | |
0.00611737585067749, | |
0.006048768043518066, | |
0.006015999794006348, | |
0.0060590081214904785, | |
0.00601907205581665, | |
0.006079487800598145, | |
0.005993472099304199, | |
0.006044672012329101, | |
0.006001664161682129, | |
0.006051839828491211, | |
0.00602726411819458, | |
0.0060282878875732426, | |
0.0060067839622497555, | |
0.006039552211761475, | |
0.006003712177276611, | |
0.006097919940948486, | |
0.00603545618057251, | |
0.006047743797302246, | |
0.006031360149383545, | |
0.006064127922058105, | |
0.006021120071411133, | |
0.006048768043518066, | |
0.006017024040222168, | |
0.006049791812896729, | |
0.006021120071411133, | |
0.0060590081214904785, | |
0.006037504196166992, | |
0.006046720027923584, | |
0.006031360149383545, | |
0.006049791812896729, | |
0.006031360149383545, | |
0.00608460807800293, | |
0.006023168087005615, | |
0.0060364799499511715, | |
0.006622208118438721, | |
0.00620851182937622, | |
0.006237184047698975, | |
0.006187007904052734, | |
0.0062341117858886715, | |
0.00620851182937622, | |
0.006189055919647217, | |
0.006211584091186524, | |
0.006227968215942382, | |
0.006242303848266601, | |
0.00608358383178711, | |
0.006060031890869141, | |
0.006025216102600098, | |
0.006085631847381592, | |
0.006033408164978027, | |
0.006042623996734619, | |
0.006013984203338623 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 163.63025332851444 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.529562305129867e-08, | |
"ram": 4.11628952354511e-08, | |
"gpu": 1.4270581036710517e-07, | |
"total": 2.5916432865385494e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3858555.7093994212 | |
} | |
} | |
} | |
} |