IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
870e7b6
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_type": "bert", | |
"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": {}, | |
"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, | |
"memory": true, | |
"latency": 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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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.3.1", | |
"optimum_benchmark_commit": "c8d76f6e24e813974534bb204a76658d503b7b1f", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 899.293184, | |
"max_global_vram": 875.331584, | |
"max_process_vram": 44252.823552, | |
"max_reserved": 589.299712, | |
"max_allocated": 533.571072 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.80892529296875, | |
"mean": 6.80892529296875, | |
"stdev": 0.0, | |
"p50": 6.80892529296875, | |
"p90": 6.80892529296875, | |
"p95": 6.80892529296875, | |
"p99": 6.80892529296875, | |
"values": [ | |
6.80892529296875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1018.994688, | |
"max_global_vram": 938.868736, | |
"max_process_vram": 223412.49024, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.456768 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 129, | |
"total": 1.002403895378113, | |
"mean": 0.0077705728323884705, | |
"stdev": 0.008160046132390976, | |
"p50": 0.0067534041404724125, | |
"p90": 0.008819697380065918, | |
"p95": 0.008919792175292969, | |
"p99": 0.01185048343658447, | |
"values": [ | |
0.0069438028335571285, | |
0.00694700288772583, | |
0.007136120796203614, | |
0.007107481956481933, | |
0.007065402030944824, | |
0.007905877113342286, | |
0.0069218831062316894, | |
0.006932922840118408, | |
0.006865242958068848, | |
0.006830362796783447, | |
0.006701563835144043, | |
0.0066724448204040524, | |
0.006634044170379639, | |
0.006617243766784668, | |
0.006599645137786866, | |
0.0066078038215637205, | |
0.006593725204467773, | |
0.006667963981628418, | |
0.006623485088348389, | |
0.006650683879852295, | |
0.0066897239685058596, | |
0.00710764217376709, | |
0.009769867897033692, | |
0.006814202785491943, | |
0.006763323783874512, | |
0.007422999858856201, | |
0.008759793281555175, | |
0.008965230941772461, | |
0.008825713157653809, | |
0.008870832443237305, | |
0.008818193435668946, | |
0.008872112274169923, | |
0.00884475326538086, | |
0.00888491153717041, | |
0.00888811206817627, | |
0.009021711349487305, | |
0.008940912246704102, | |
0.00894315242767334, | |
0.0077999582290649416, | |
0.006795804023742676, | |
0.012659611701965333, | |
0.006712284088134766, | |
0.0066066842079162596, | |
0.006691644191741944, | |
0.006616125106811524, | |
0.006643643856048584, | |
0.006633563995361328, | |
0.006644444942474365, | |
0.006595804214477539, | |
0.007408440113067627, | |
0.0066804437637329106, | |
0.006698363780975341, | |
0.006656125068664551, | |
0.006713404178619385, | |
0.006685244083404541, | |
0.006728922843933106, | |
0.006708923816680908, | |
0.006765244007110596, | |
0.006731004238128662, | |
0.0066641240119934084, | |
0.0066713237762451175, | |
0.006725403785705566, | |
0.006629404067993164, | |
0.006618684768676758, | |
0.00679468297958374, | |
0.006683323860168457, | |
0.006713243961334228, | |
0.0066990041732788086, | |
0.006665565013885498, | |
0.006753403186798096, | |
0.006722043991088867, | |
0.0067822041511535645, | |
0.006724924087524414, | |
0.006706203937530518, | |
0.006646843910217285, | |
0.006704123973846435, | |
0.006702844142913818, | |
0.006776762962341309, | |
0.0067588438987731935, | |
0.006728603839874268, | |
0.006742204189300537, | |
0.00676572322845459, | |
0.00674540376663208, | |
0.00675788402557373, | |
0.006705883979797363, | |
0.0067559628486633305, | |
0.006724763870239258, | |
0.0075175600051879884, | |
0.006752923965454101, | |
0.006755804061889649, | |
0.0067534041404724125, | |
0.006728764057159424, | |
0.006662044048309326, | |
0.006676124095916748, | |
0.006660764217376709, | |
0.006625404834747314, | |
0.006635484218597412, | |
0.0066953239440917965, | |
0.006620604991912842, | |
0.006656923770904541, | |
0.0066617240905761715, | |
0.006664924144744873, | |
0.006657084941864014, | |
0.006679965019226074, | |
0.006652604103088379, | |
0.006644763946533203, | |
0.09959290313720703, | |
0.006955002784729004, | |
0.00676556396484375, | |
0.006820602893829346, | |
0.006778363227844238, | |
0.006871163845062256, | |
0.006833083152770996, | |
0.006832283020019531, | |
0.00680156421661377, | |
0.006811482906341553, | |
0.006876283168792725, | |
0.006881883144378662, | |
0.006799323081970215, | |
0.006934523105621338, | |
0.006844283103942871, | |
0.006875002861022949, | |
0.006953722953796386, | |
0.006849883079528808, | |
0.006838364124298096, | |
0.006835163116455078, | |
0.006815163135528565, | |
0.006860281944274902, | |
0.006802844047546387 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 128.6906411625031 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |