IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
4c40e72
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": {}, | |
"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.3.1", | |
"optimum_benchmark_commit": "10c9775dced65978a85f54ff6905a3aea7d61cca", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1014.837248, | |
"max_global_vram": 938.901504, | |
"max_process_vram": 236178.313216, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 134, | |
"total": 1.000933670997619, | |
"mean": 0.0074696542611762656, | |
"stdev": 0.0005070918087944842, | |
"p50": 0.007427895069122314, | |
"p90": 0.007868517065048217, | |
"p95": 0.007915069055557252, | |
"p99": 0.009835899047851534, | |
"values": [ | |
0.007775174140930176, | |
0.007571494102478028, | |
0.007730053901672363, | |
0.007666053771972656, | |
0.007773892879486084, | |
0.007794212818145752, | |
0.007790213108062744, | |
0.007825413227081298, | |
0.007844772815704346, | |
0.007800932884216309, | |
0.007751812934875488, | |
0.007573894023895264, | |
0.007490534782409668, | |
0.007440935134887696, | |
0.00784557294845581, | |
0.007723013877868653, | |
0.007575014114379883, | |
0.007722214221954345, | |
0.00785613203048706, | |
0.007933893203735352, | |
0.007817092895507813, | |
0.007860453128814697, | |
0.007871973037719726, | |
0.0077473330497741695, | |
0.007731973171234131, | |
0.007434214115142822, | |
0.00743821382522583, | |
0.010712602615356445, | |
0.007619974136352539, | |
0.007430054187774658, | |
0.007243975162506104, | |
0.007137094974517822, | |
0.007051976203918457, | |
0.00709629487991333, | |
0.007013256072998047, | |
0.0069943761825561526, | |
0.0070641360282897945, | |
0.006969254970550537, | |
0.007009736061096191, | |
0.007092775821685791, | |
0.00727309513092041, | |
0.0070967750549316404, | |
0.007045415878295899, | |
0.007049415111541748, | |
0.006979656219482422, | |
0.007059336185455322, | |
0.006988615989685059, | |
0.007087814807891846, | |
0.007062695980072022, | |
0.007066376209259033, | |
0.007065094947814941, | |
0.007590693950653076, | |
0.007168775081634522, | |
0.007137576103210449, | |
0.00721853494644165, | |
0.007047814846038818, | |
0.007046055793762207, | |
0.00700765609741211, | |
0.007035655975341797, | |
0.0070575752258300786, | |
0.006982855796813965, | |
0.007043496131896972, | |
0.007035816192626953, | |
0.007969092845916749, | |
0.00784237289428711, | |
0.007837253093719482, | |
0.007366534233093262, | |
0.007311015129089355, | |
0.007205094814300537, | |
0.00729005479812622, | |
0.0074276552200317385, | |
0.007453575134277344, | |
0.007421733856201172, | |
0.007358854770660401, | |
0.007291655063629151, | |
0.007291014194488525, | |
0.007388774871826172, | |
0.007397734165191651, | |
0.007517414093017578, | |
0.010605403900146484, | |
0.008273571014404298, | |
0.007954533100128175, | |
0.007880611896514893, | |
0.0078799729347229, | |
0.007936933040618897, | |
0.007785892963409423, | |
0.007779333114624023, | |
0.00740269422531128, | |
0.007477894783020019, | |
0.007513093948364258, | |
0.007555493831634522, | |
0.007520453929901123, | |
0.007478213787078857, | |
0.007703652858734131, | |
0.007632934093475342, | |
0.007820773124694824, | |
0.007428134918212891, | |
0.007368773937225342, | |
0.007383655071258545, | |
0.007615973949432373, | |
0.007695814132690429, | |
0.007478213787078857, | |
0.0071774148941040035, | |
0.007884932994842529, | |
0.007904932975769044, | |
0.007879652976989747, | |
0.007803332805633545, | |
0.007888291835784912, | |
0.007833892822265626, | |
0.007439334869384765, | |
0.007477253913879395, | |
0.007378374099731445, | |
0.007514214992523193, | |
0.007389735221862793, | |
0.007376454830169678, | |
0.007431014060974121, | |
0.0074466938972473145, | |
0.007363655090332031, | |
0.007351813793182373, | |
0.007334855079650879, | |
0.007355175018310547, | |
0.007212615013122559, | |
0.00702477502822876, | |
0.006988776206970215, | |
0.007037415981292725, | |
0.0070186958312988285, | |
0.007058534145355224, | |
0.007011816024780273, | |
0.007037415981292725, | |
0.006981736183166504, | |
0.006966375827789307, | |
0.006959815979003906, | |
0.0069716558456420896, | |
0.006922376155853271 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 133.8750047907207 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |