
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
efc3046
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", | |
"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.12", | |
"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.1", | |
"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": 879.468544, | |
"max_global_vram": 1229.45536, | |
"max_process_vram": 0.0, | |
"max_reserved": 591.396864, | |
"max_allocated": 449.269248 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 144, | |
"total": 1.0045256943702703, | |
"mean": 0.006975872877571319, | |
"stdev": 0.00043293535513764565, | |
"p50": 0.00700057601928711, | |
"p90": 0.007157452869415284, | |
"p95": 0.007208345484733582, | |
"p99": 0.009401333684921263, | |
"values": [ | |
0.009979904174804688, | |
0.009448448181152343, | |
0.009338879585266113, | |
0.007459839820861816, | |
0.007058432102203369, | |
0.006879231929779053, | |
0.0068351998329162595, | |
0.007109632015228271, | |
0.007138304233551026, | |
0.007045119762420654, | |
0.007049215793609619, | |
0.0071495680809020995, | |
0.007063551902770996, | |
0.007074816226959229, | |
0.006944767951965332, | |
0.006973440170288086, | |
0.00708403205871582, | |
0.007120895862579346, | |
0.007068672180175781, | |
0.007095295906066895, | |
0.0071485438346862796, | |
0.007102464199066162, | |
0.006989823818206787, | |
0.007072768211364746, | |
0.007144447803497315, | |
0.007068672180175781, | |
0.007156735897064209, | |
0.007094272136688232, | |
0.00709119987487793, | |
0.007101439952850342, | |
0.00710041618347168, | |
0.007077888011932373, | |
0.007069695949554444, | |
0.007074816226959229, | |
0.007069695949554444, | |
0.006989823818206787, | |
0.006998015880584717, | |
0.007222271919250488, | |
0.007235583782196045, | |
0.007073791980743408, | |
0.0072120318412780765, | |
0.007120895862579346, | |
0.007094272136688232, | |
0.007171072006225586, | |
0.007187456130981445, | |
0.007045119762420654, | |
0.007097343921661377, | |
0.007039999961853028, | |
0.007065599918365479, | |
0.00708403205871582, | |
0.007057407855987549, | |
0.007126016139984131, | |
0.007003136157989502, | |
0.007020544052124023, | |
0.007030784130096435, | |
0.006970367908477783, | |
0.007063551902770996, | |
0.007122943878173828, | |
0.006972415924072266, | |
0.007016448020935059, | |
0.007050240039825439, | |
0.007013376235961914, | |
0.007047167778015137, | |
0.007076863765716553, | |
0.007073791980743408, | |
0.0070256638526916505, | |
0.007051263809204102, | |
0.007175199985504151, | |
0.007161856174468994, | |
0.007157760143280029, | |
0.007158783912658692, | |
0.006951935768127441, | |
0.007135231971740722, | |
0.007076863765716553, | |
0.007096320152282715, | |
0.007050240039825439, | |
0.007017471790313721, | |
0.006996992111206054, | |
0.00682700777053833, | |
0.006856704235076904, | |
0.0070553598403930665, | |
0.006840320110321045, | |
0.006686719894409179, | |
0.006711296081542969, | |
0.006849535942077637, | |
0.006973440170288086, | |
0.006982656002044678, | |
0.006945792198181152, | |
0.007047167778015137, | |
0.007160831928253173, | |
0.007127039909362793, | |
0.006930431842803955, | |
0.0072499198913574215, | |
0.006800384044647217, | |
0.006656000137329102, | |
0.006706175804138184, | |
0.0066938881874084475, | |
0.006635519981384277, | |
0.006717440128326416, | |
0.006662144184112549, | |
0.006627327919006347, | |
0.006706175804138184, | |
0.0066344962120056155, | |
0.0066375679969787596, | |
0.006694911956787109, | |
0.006614016056060791, | |
0.006669312000274658, | |
0.00667852783203125, | |
0.006652927875518798, | |
0.006650879859924317, | |
0.006731776237487793, | |
0.006651904106140137, | |
0.006652927875518798, | |
0.006653952121734619, | |
0.006639616012573242, | |
0.006683648109436035, | |
0.006709248065948486, | |
0.006659071922302246, | |
0.006667263984680176, | |
0.006706175804138184, | |
0.006666272163391113, | |
0.006683648109436035, | |
0.006763519763946534, | |
0.006730751991271973, | |
0.0066979842185974124, | |
0.006708223819732666, | |
0.006688767910003662, | |
0.006668288230895996, | |
0.0067870721817016606, | |
0.006673408031463623, | |
0.006709248065948486, | |
0.00669593620300293, | |
0.006633535861968994, | |
0.006687744140625, | |
0.0066406397819519045, | |
0.006648831844329834, | |
0.0068321280479431154, | |
0.006620160102844238, | |
0.006656000137329102, | |
0.006699007987976074, | |
0.006603775978088379, | |
0.0066744318008422855, | |
0.006708223819732666, | |
0.006592512130737305 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 143.35123611773076 | |
}, | |
"energy": { | |
"unit": "kWh", | |
"cpu": 7.852378840653489e-08, | |
"ram": 4.2925626583033493e-08, | |
"gpu": 1.435468403708597e-07, | |
"total": 2.649962553604281e-07 | |
}, | |
"efficiency": { | |
"unit": "samples/kWh", | |
"value": 3773638.2298680963 | |
} | |
} | |
} | |
} |