IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
9084cde
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", | |
"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": "1ba65d84c92c93ea19ab2d2293c92bced987bae2", | |
"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": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1002.938368, | |
"max_global_vram": 1910.923264, | |
"max_process_vram": 255106.68288, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.0038217544555663, | |
"mean": 0.007781563988027646, | |
"stdev": 0.0001105939638299287, | |
"p50": 0.00774513578414917, | |
"p90": 0.007887407970428468, | |
"p95": 0.007960368537902832, | |
"p99": 0.008104535179138183, | |
"values": [ | |
0.008494097709655762, | |
0.007747536182403565, | |
0.007712495803833008, | |
0.00767793607711792, | |
0.00767633581161499, | |
0.0076964950561523434, | |
0.007671055793762207, | |
0.0076564960479736325, | |
0.007657616138458252, | |
0.00766161584854126, | |
0.007668335914611816, | |
0.007697936058044434, | |
0.0076723361015319826, | |
0.0076934552192687985, | |
0.007643856048583984, | |
0.0076844959259033205, | |
0.007722256183624268, | |
0.007877935886383056, | |
0.00784913682937622, | |
0.007714255809783936, | |
0.0077225761413574215, | |
0.007700975894927979, | |
0.007722095966339111, | |
0.007687534809112549, | |
0.007734576225280762, | |
0.007732816219329834, | |
0.007722095966339111, | |
0.007711215972900391, | |
0.007679215908050537, | |
0.007690735816955566, | |
0.007652175903320312, | |
0.007704815864562988, | |
0.007700975894927979, | |
0.007723855972290039, | |
0.00770689582824707, | |
0.007806096076965332, | |
0.007751855850219726, | |
0.0077464160919189454, | |
0.0077323360443115234, | |
0.007747056007385254, | |
0.007696176052093506, | |
0.007723375797271729, | |
0.007729936122894287, | |
0.007719376087188721, | |
0.007666895866394043, | |
0.007725135803222656, | |
0.007704495906829834, | |
0.007742576122283936, | |
0.0077128162384033205, | |
0.007736336231231689, | |
0.007702735900878907, | |
0.007722415924072266, | |
0.007919695854187012, | |
0.0077256159782409664, | |
0.007711376190185547, | |
0.007699056148529053, | |
0.007797935962677002, | |
0.007866576194763183, | |
0.007858256816864013, | |
0.007881455898284912, | |
0.007843855857849122, | |
0.007813937187194824, | |
0.007728496074676514, | |
0.007744976043701172, | |
0.007716654777526855, | |
0.0077736167907714844, | |
0.007775216102600097, | |
0.007768655776977539, | |
0.007743696212768555, | |
0.007733295917510987, | |
0.007779695987701416, | |
0.007771535873413086, | |
0.007740335941314697, | |
0.007831056118011475, | |
0.007842095851898193, | |
0.007811857223510742, | |
0.007751376152038574, | |
0.007730256080627442, | |
0.00775105619430542, | |
0.007737296104431152, | |
0.00774513578414917, | |
0.007717936038970947, | |
0.007719376087188721, | |
0.007742095947265625, | |
0.0077700958251953126, | |
0.007871535778045655, | |
0.007904496192932129, | |
0.007860336780548096, | |
0.007784976005554199, | |
0.007731535911560059, | |
0.007714096069335937, | |
0.007790095806121826, | |
0.007789936065673828, | |
0.00783953619003296, | |
0.00792609691619873, | |
0.008113137245178223, | |
0.008082415580749512, | |
0.007988656997680664, | |
0.008074576377868653, | |
0.008051536560058593, | |
0.007927377223968506, | |
0.007899695873260499, | |
0.007859536170959473, | |
0.00783409595489502, | |
0.007732975959777832, | |
0.007788015842437744, | |
0.007809455871582031, | |
0.007763216018676758, | |
0.0078038558959960935, | |
0.007726736068725586, | |
0.007730095863342285, | |
0.007752816200256348, | |
0.007749296188354492, | |
0.007740176200866699, | |
0.007975856781005859, | |
0.007937136173248292, | |
0.00787425708770752, | |
0.00782369613647461, | |
0.007857935905456543, | |
0.00788433599472046, | |
0.007820975780487061, | |
0.007848176956176758, | |
0.007829936027526855, | |
0.00783969497680664, | |
0.007800335884094238, | |
0.007817296028137207, | |
0.00785073709487915, | |
0.007804495811462402, | |
0.007838736057281494 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.50887065100972 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |