IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_fill-mask_google-bert/bert-base-uncased/benchmark.json with huggingface_hub
79b169f
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": "0b24af9d7b7751f74b160dfade73ef78e10964d6", | |
"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.164224, | |
"max_global_vram": 3129.511936, | |
"max_process_vram": 217081.700352, | |
"max_reserved": 589.299712, | |
"max_allocated": 439.700992 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 126, | |
"total": 1.0042810144424439, | |
"mean": 0.007970484241606698, | |
"stdev": 0.0002114939257423605, | |
"p50": 0.007932140350341796, | |
"p90": 0.008040940284729004, | |
"p95": 0.0081751389503479, | |
"p99": 0.008858258485794067, | |
"values": [ | |
0.008182218551635742, | |
0.007931180000305176, | |
0.007932140827178955, | |
0.007889739990234375, | |
0.008041740417480469, | |
0.008125259399414062, | |
0.008255979537963868, | |
0.008218699455261231, | |
0.008205739974975586, | |
0.008188618659973144, | |
0.008153900146484375, | |
0.008095499992370605, | |
0.008047499656677247, | |
0.008032778739929199, | |
0.00804014015197754, | |
0.0080345401763916, | |
0.008059020042419434, | |
0.007953100204467774, | |
0.007954700946807862, | |
0.008037420272827148, | |
0.007953900814056397, | |
0.007967820167541504, | |
0.007926060199737548, | |
0.00790749979019165, | |
0.007937099933624268, | |
0.007940300941467285, | |
0.007921579837799073, | |
0.007975820064544678, | |
0.007994540214538574, | |
0.007955339908599854, | |
0.007945740222930908, | |
0.007945419788360596, | |
0.0090590181350708, | |
0.009883655548095702, | |
0.007923500061035156, | |
0.007843019962310792, | |
0.007829421043395996, | |
0.007927340030670166, | |
0.007874859809875488, | |
0.007888300895690918, | |
0.007856781005859376, | |
0.007853099822998047, | |
0.007959819793701172, | |
0.00794606113433838, | |
0.007984140872955322, | |
0.007949580192565918, | |
0.007923820018768311, | |
0.007899980068206787, | |
0.007976940155029297, | |
0.007931180953979492, | |
0.007910059928894044, | |
0.007951340198516847, | |
0.007942220211029053, | |
0.007929900169372558, | |
0.007911661148071288, | |
0.007939980030059815, | |
0.007896940231323242, | |
0.007933899879455567, | |
0.008012459754943848, | |
0.007997580051422119, | |
0.007930059909820557, | |
0.007953421115875244, | |
0.007956299781799316, | |
0.007914859771728516, | |
0.007903180122375487, | |
0.007916460037231446, | |
0.007979180812835693, | |
0.007925899982452392, | |
0.00793262004852295, | |
0.007947020053863526, | |
0.007922860145568847, | |
0.007938540935516358, | |
0.007880780220031738, | |
0.007927340030670166, | |
0.007920300006866455, | |
0.007957580089569092, | |
0.007908461093902587, | |
0.007898059844970703, | |
0.007941579818725586, | |
0.007920780181884766, | |
0.007921260833740234, | |
0.007932940006256103, | |
0.00793917989730835, | |
0.007932139873504638, | |
0.007941100120544433, | |
0.00789966106414795, | |
0.00786382007598877, | |
0.007871019840240478, | |
0.00789086103439331, | |
0.007922220230102538, | |
0.00792814016342163, | |
0.00792494010925293, | |
0.00786910104751587, | |
0.007875979900360108, | |
0.00791453981399536, | |
0.007902221202850342, | |
0.007940299987792969, | |
0.007884940147399903, | |
0.007901579856872558, | |
0.007886061191558838, | |
0.007843019962310792, | |
0.00788238000869751, | |
0.007961900234222411, | |
0.007880461215972901, | |
0.007880300045013429, | |
0.007943339824676513, | |
0.00790093994140625, | |
0.00797342014312744, | |
0.0079286208152771, | |
0.00795005989074707, | |
0.007992939949035644, | |
0.007908140182495117, | |
0.007981420040130615, | |
0.007961900234222411, | |
0.007971020221710205, | |
0.007936460971832275, | |
0.007905419826507568, | |
0.007922379970550538, | |
0.007944779872894287, | |
0.007856941223144532, | |
0.00790605878829956, | |
0.007855659961700439, | |
0.007858380794525147, | |
0.007944779872894287, | |
0.007885419845581054, | |
0.007899980068206787 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 125.46289154928672 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |