IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
bbe62b0
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_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": false, | |
"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 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.1", | |
"optimum_benchmark_commit": "c551ed4717b9f9db50458281347948dd265d9e3b", | |
"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": 1008.459776, | |
"max_global_vram": 3137.847296, | |
"max_process_vram": 197749.272576, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 141, | |
"total": 1.0002162766456604, | |
"mean": 0.007093732458479861, | |
"stdev": 0.0003367101996130109, | |
"p50": 0.006959333896636963, | |
"p90": 0.007646212100982666, | |
"p95": 0.007704452037811279, | |
"p99": 0.007818594551086425, | |
"values": [ | |
0.007571812152862549, | |
0.007487651824951172, | |
0.007461411952972412, | |
0.007646212100982666, | |
0.007868450164794922, | |
0.007361732959747315, | |
0.00738781213760376, | |
0.0072780528068542485, | |
0.007094052791595459, | |
0.007029573917388916, | |
0.006959333896636963, | |
0.006965414047241211, | |
0.006894054889678955, | |
0.006848293781280518, | |
0.006887975215911865, | |
0.006890054225921631, | |
0.006913894176483154, | |
0.00697853422164917, | |
0.006919494152069092, | |
0.0069132552146911625, | |
0.006896294116973877, | |
0.006873414039611816, | |
0.006907495021820068, | |
0.007061732769012451, | |
0.007103174209594726, | |
0.007242372989654541, | |
0.00715133285522461, | |
0.007093574047088623, | |
0.006971014022827148, | |
0.006929893970489502, | |
0.0069697341918945315, | |
0.006874374866485596, | |
0.008687646865844726, | |
0.007269252777099609, | |
0.007020614147186279, | |
0.007631011962890625, | |
0.007743811130523682, | |
0.007743171215057373, | |
0.007661571025848388, | |
0.007703971862792969, | |
0.007633090972900391, | |
0.007704452037811279, | |
0.007730690956115722, | |
0.0076956510543823246, | |
0.0077108521461486815, | |
0.0071826930046081545, | |
0.007401572227478027, | |
0.00771149206161499, | |
0.00764461088180542, | |
0.0076662120819091795, | |
0.007347971916198731, | |
0.00721021318435669, | |
0.0071354942321777345, | |
0.0071050930023193355, | |
0.0073612527847290036, | |
0.0072823729515075685, | |
0.007244452953338623, | |
0.007091332912445068, | |
0.007120934009552002, | |
0.007256772994995117, | |
0.006943813800811768, | |
0.006970694065093994, | |
0.006791975021362305, | |
0.006778214931488037, | |
0.006786374092102051, | |
0.006747175216674805, | |
0.006843655109405517, | |
0.006845734119415283, | |
0.006801095008850098, | |
0.006818853855133057, | |
0.006846535205841065, | |
0.006886534214019776, | |
0.006857254981994629, | |
0.006823813915252686, | |
0.006847014904022217, | |
0.006822373867034912, | |
0.006794694900512695, | |
0.006811975002288818, | |
0.006909733772277832, | |
0.006789895057678222, | |
0.00689773416519165, | |
0.006902694225311279, | |
0.006827334880828858, | |
0.006846055030822754, | |
0.00684269380569458, | |
0.006897093772888184, | |
0.006863015174865723, | |
0.006872613906860351, | |
0.006854374885559082, | |
0.0067990140914916996, | |
0.0068146948814392086, | |
0.006822854995727539, | |
0.0068191738128662105, | |
0.00721517276763916, | |
0.006878055095672607, | |
0.006760455131530761, | |
0.0073302130699157714, | |
0.006928773880004882, | |
0.007283173084259033, | |
0.00748989200592041, | |
0.007625251770019531, | |
0.007242533206939697, | |
0.007427492141723633, | |
0.007647972106933593, | |
0.007646371841430664, | |
0.007265253067016602, | |
0.0072377328872680665, | |
0.007306212902069092, | |
0.007245412826538086, | |
0.007196932792663574, | |
0.007276133060455322, | |
0.007246693134307861, | |
0.007288932800292969, | |
0.007297412872314453, | |
0.0068094139099121095, | |
0.00685005521774292, | |
0.006813414096832275, | |
0.006864455223083496, | |
0.006863173961639405, | |
0.0067938947677612304, | |
0.0068311748504638675, | |
0.006772133827209472, | |
0.006719015121459961, | |
0.006781575202941895, | |
0.006850534915924072, | |
0.006788293838500977, | |
0.006805574893951416, | |
0.006816774845123291, | |
0.006751814842224121, | |
0.006757414817810058, | |
0.006751015186309815, | |
0.006732934951782226, | |
0.006715333938598632, | |
0.006752614974975586, | |
0.006756935119628906, | |
0.006708775043487549, | |
0.006753894805908203, | |
0.007276772975921631, | |
0.007039652824401855, | |
0.006990054130554199, | |
0.00712701416015625 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 140.9695115868936 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |