rocm
/
cuda_inference_transformers_image-classification_google
/vit-base-patch16-224
/benchmark.json
IlyasMoutawwakil
HF staff
Upload cuda_inference_transformers_image-classification_google/vit-base-patch16-224/benchmark.json with huggingface_hub
723f973
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.3.1+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "transformers", | |
"model_type": "vit", | |
"model": "google/vit-base-patch16-224", | |
"processor": "google/vit-base-patch16-224", | |
"device": "cuda", | |
"device_ids": "5", | |
"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": "warn", | |
"numactl": false, | |
"numactl_kwargs": {}, | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.256576, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-101-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]", | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 8, | |
"gpu_vram_mb": 549621596160, | |
"optimum_benchmark_version": "0.4.0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.44.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.34.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1027.641344, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46075.568128, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.801080078125, | |
"mean": 7.801080078125, | |
"stdev": 0.0, | |
"p50": 7.801080078125, | |
"p90": 7.801080078125, | |
"p95": 7.801080078125, | |
"p99": 7.801080078125, | |
"values": [ | |
7.801080078125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1198.026752, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 173170.696192, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 148, | |
"total": 0.993646417617798, | |
"mean": 0.006713827146066202, | |
"stdev": 0.00042645573792326623, | |
"p50": 0.006875572443008423, | |
"p90": 0.0070914912223815916, | |
"p95": 0.007193731379508972, | |
"p99": 0.007327513527870179, | |
"values": [ | |
0.0067753329277038575, | |
0.006732293128967285, | |
0.006580614089965821, | |
0.006518054008483887, | |
0.006555974006652832, | |
0.0065526127815246586, | |
0.006500133991241455, | |
0.006516454219818116, | |
0.006495974063873291, | |
0.006397894859313965, | |
0.006337574005126953, | |
0.006355014801025391, | |
0.006367975234985351, | |
0.006333573818206787, | |
0.006288935184478759, | |
0.006267815113067627, | |
0.006199174880981445, | |
0.007040131092071533, | |
0.007017891883850097, | |
0.006991012096405029, | |
0.007061410903930664, | |
0.006845733165740967, | |
0.006734212875366211, | |
0.009736440658569335, | |
0.006850052833557129, | |
0.006379014015197754, | |
0.006459494113922119, | |
0.006373094081878662, | |
0.006418055057525635, | |
0.006434215068817139, | |
0.006870052814483643, | |
0.007133251190185547, | |
0.00723197078704834, | |
0.007290209770202637, | |
0.007197091102600098, | |
0.007236771106719971, | |
0.007159491062164306, | |
0.007020291805267334, | |
0.006564453125, | |
0.006630373954772949, | |
0.007315811157226563, | |
0.007121732234954834, | |
0.0070606107711792, | |
0.0070238118171691896, | |
0.007059812068939209, | |
0.007187491893768311, | |
0.007225090980529785, | |
0.0073378911018371585, | |
0.007182691097259521, | |
0.00716045093536377, | |
0.0070785307884216305, | |
0.006999651908874512, | |
0.006909731864929199, | |
0.006888772964477539, | |
0.006961253166198731, | |
0.006884932994842529, | |
0.006914052009582519, | |
0.006943972110748291, | |
0.006950372219085693, | |
0.006890532016754151, | |
0.006902212142944336, | |
0.006954532146453857, | |
0.00693309211730957, | |
0.006931812763214112, | |
0.006925093173980713, | |
0.006953732967376709, | |
0.0069458928108215336, | |
0.00689581298828125, | |
0.0069450922012329105, | |
0.006915972232818603, | |
0.006933571815490723, | |
0.006954371929168701, | |
0.0069665322303771975, | |
0.0069548521041870115, | |
0.006902212142944336, | |
0.006901251792907715, | |
0.0071866908073425296, | |
0.006944771766662598, | |
0.006941731929779053, | |
0.006364934921264649, | |
0.0062828540802001955, | |
0.0063566150665283205, | |
0.006339494228363037, | |
0.006308615207672119, | |
0.006167974948883057, | |
0.006189734935760498, | |
0.006168934822082519, | |
0.006331335067749024, | |
0.006183334827423096, | |
0.006186695098876953, | |
0.00613501501083374, | |
0.006168934822082519, | |
0.006146376132965088, | |
0.00616429615020752, | |
0.006196615219116211, | |
0.006160134792327881, | |
0.006171655178070068, | |
0.0062030148506164555, | |
0.00622285509109497, | |
0.006240135192871094, | |
0.006236615180969238, | |
0.006223334789276123, | |
0.00620381498336792, | |
0.006223334789276123, | |
0.006145094871520996, | |
0.006191014766693115, | |
0.006178534984588623, | |
0.006215974807739257, | |
0.00624637508392334, | |
0.006183975219726563, | |
0.006183495044708252, | |
0.00620813512802124, | |
0.006323494911193848, | |
0.006377574920654297, | |
0.0065740528106689455, | |
0.006383655071258545, | |
0.006463335037231445, | |
0.006520934104919433, | |
0.006340455055236816, | |
0.00687421178817749, | |
0.006973251819610595, | |
0.006909731864929199, | |
0.006898372173309326, | |
0.006870052814483643, | |
0.006945891857147217, | |
0.006888291835784912, | |
0.006844771862030029, | |
0.006863012790679932, | |
0.006927011966705322, | |
0.00692221212387085, | |
0.006917731761932373, | |
0.006896292209625244, | |
0.0068916530609130855, | |
0.006886212825775146, | |
0.00691453218460083, | |
0.006913732051849366, | |
0.00688397216796875, | |
0.006892453193664551, | |
0.006890851974487305, | |
0.006867971897125244, | |
0.00690909194946289, | |
0.006863333225250244, | |
0.006885252952575684, | |
0.006881731986999512, | |
0.0069334120750427245, | |
0.0068769330978393555, | |
0.006888613224029541, | |
0.006886531829833984 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 148.946342859888 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |