
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
a297ad8
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.0+cu121", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "fill-mask", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"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", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"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.12", | |
"gpu": [ | |
"NVIDIA A10G" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 24146608128, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.41.0", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 869.351424, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 184, | |
"total": 1.0011035847663878, | |
"mean": 0.005440780351991238, | |
"stdev": 0.00026599988975612414, | |
"p50": 0.005441535949707031, | |
"p90": 0.005792768001556397, | |
"p95": 0.005856511807441712, | |
"p99": 0.0060381288719177206, | |
"values": [ | |
0.0063211522102355954, | |
0.005796864032745362, | |
0.005901311874389649, | |
0.005937215805053711, | |
0.005911551952362061, | |
0.005980160236358643, | |
0.005903359889984131, | |
0.005706751823425293, | |
0.005634047985076904, | |
0.005573631763458252, | |
0.00552243185043335, | |
0.0055214080810546875, | |
0.005588992118835449, | |
0.005511168003082275, | |
0.005429247856140137, | |
0.005404672145843506, | |
0.005669888019561768, | |
0.005793791770935058, | |
0.005831679821014404, | |
0.005805056095123291, | |
0.005792768001556397, | |
0.005763072013854981, | |
0.00582041597366333, | |
0.005745664119720459, | |
0.005616640090942383, | |
0.005553152084350586, | |
0.005567488193511963, | |
0.005534719944000244, | |
0.005501952171325684, | |
0.005534719944000244, | |
0.005509119987487793, | |
0.00552243185043335, | |
0.005536767959594726, | |
0.0055623679161071774, | |
0.0057712640762329105, | |
0.00563097620010376, | |
0.005669888019561768, | |
0.005700607776641845, | |
0.005610496044158936, | |
0.005687295913696289, | |
0.005818367958068848, | |
0.005758975982666016, | |
0.005757952213287353, | |
0.005796864032745362, | |
0.005895167827606201, | |
0.005792768001556397, | |
0.0057497601509094234, | |
0.005656576156616211, | |
0.005697535991668701, | |
0.0056217598915100095, | |
0.005784575939178467, | |
0.0057077760696411135, | |
0.005755904197692871, | |
0.00566476821899414, | |
0.005605375766754151, | |
0.00568832015991211, | |
0.005703680038452149, | |
0.00591974401473999, | |
0.0057487359046936035, | |
0.005645311832427978, | |
0.005535744190216065, | |
0.005448703765869141, | |
0.005473279953002929, | |
0.005434368133544922, | |
0.005477375984191894, | |
0.005493760108947754, | |
0.005489664077758789, | |
0.005595136165618897, | |
0.005643263816833496, | |
0.005533696174621582, | |
0.005626912117004394, | |
0.005530623912811279, | |
0.005534719944000244, | |
0.005568511962890625, | |
0.005469183921813964, | |
0.0057794561386108395, | |
0.005743616104125977, | |
0.005615615844726562, | |
0.005541888236999512, | |
0.005408768177032471, | |
0.0055552000999450684, | |
0.005662720203399658, | |
0.005533696174621582, | |
0.005472256183624268, | |
0.00537395191192627, | |
0.005368832111358642, | |
0.00546611213684082, | |
0.005464064121246338, | |
0.005852159976959229, | |
0.005657599925994873, | |
0.005545983791351319, | |
0.005653503894805908, | |
0.005665791988372803, | |
0.005857279777526855, | |
0.0057190399169921875, | |
0.005535744190216065, | |
0.005411839962005615, | |
0.005378047943115235, | |
0.006377471923828125, | |
0.005409791946411133, | |
0.005252096176147461, | |
0.005282815933227539, | |
0.005214208126068115, | |
0.005210112094879151, | |
0.005265408039093018, | |
0.00521830415725708, | |
0.005203968048095703, | |
0.005237760066986084, | |
0.005231616020202637, | |
0.005206016063690186, | |
0.005237760066986084, | |
0.005167103767395019, | |
0.00516812801361084, | |
0.005161983966827393, | |
0.005167103767395019, | |
0.005169151782989502, | |
0.005163008213043213, | |
0.005181439876556396, | |
0.005175295829772949, | |
0.005158912181854248, | |
0.00520908784866333, | |
0.005175295829772949, | |
0.00516812801361084, | |
0.0051660799980163576, | |
0.0051773438453674315, | |
0.005163008213043213, | |
0.0051660799980163576, | |
0.005190656185150146, | |
0.005171199798583984, | |
0.0051660799980163576, | |
0.005190656185150146, | |
0.005172224044799805, | |
0.005174272060394287, | |
0.00517632007598877, | |
0.005223423957824707, | |
0.005208064079284668, | |
0.005163008213043213, | |
0.00517632007598877, | |
0.00516812801361084, | |
0.005149695873260498, | |
0.005174272060394287, | |
0.0051773438453674315, | |
0.00517632007598877, | |
0.005164031982421875, | |
0.0051998720169067385, | |
0.0051773438453674315, | |
0.005181439876556396, | |
0.005185535907745361, | |
0.005171199798583984, | |
0.00517632007598877, | |
0.005163008213043213, | |
0.005181439876556396, | |
0.005174272060394287, | |
0.00516096019744873, | |
0.005197824001312256, | |
0.005180416107177735, | |
0.00516812801361084, | |
0.005178368091583252, | |
0.005185535907745361, | |
0.00517632007598877, | |
0.005194752216339111, | |
0.005187583923339844, | |
0.005184512138366699, | |
0.005174335956573487, | |
0.005188608169555664, | |
0.005180416107177735, | |
0.005183487892150879, | |
0.005181439876556396, | |
0.005269504070281982, | |
0.005173247814178467, | |
0.005165056228637695, | |
0.005182464122772217, | |
0.005187583923339844, | |
0.005142528057098389, | |
0.005164031982421875, | |
0.00526643180847168, | |
0.005169151782989502, | |
0.005156864166259765, | |
0.005189631938934326, | |
0.005167103767395019, | |
0.005171199798583984, | |
0.005175295829772949, | |
0.005641215801239013, | |
0.0051784319877624515 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 183.79716424942904 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 6.125377232949212e-08, | |
"ram": 3.3408774126336975e-08, | |
"gpu": 1.2765187760825189e-07, | |
"total": 2.22314424064081e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 4498133.687051071 | |
} | |
} | |
} | |
} |