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
8b46d19
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.2", | |
"accelerate_commit": null, | |
"diffusers_version": "0.30.3", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.9", | |
"timm_commit": null, | |
"peft_version": "0.12.0", | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1072.242688, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 48267.718656, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.359982421875, | |
"mean": 8.359982421875, | |
"stdev": 0.0, | |
"p50": 8.359982421875, | |
"p90": 8.359982421875, | |
"p95": 8.359982421875, | |
"p99": 8.359982421875, | |
"values": [ | |
8.359982421875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1244.209152, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 180877.438976, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 0.9996228919029237, | |
"mean": 0.005985765819777986, | |
"stdev": 0.0010938167773357364, | |
"p50": 0.005933420181274414, | |
"p90": 0.006406217575073242, | |
"p95": 0.006508440923690796, | |
"p99": 0.007579589605331427, | |
"values": [ | |
0.006485097885131836, | |
0.006267817974090576, | |
0.0062238178253173826, | |
0.006236937999725342, | |
0.006239337921142578, | |
0.006171019077301026, | |
0.006198379039764404, | |
0.006142058849334717, | |
0.006076777935028076, | |
0.006065098762512207, | |
0.006045258998870849, | |
0.00601133918762207, | |
0.005972299098968506, | |
0.00594157886505127, | |
0.005917579174041748, | |
0.005899980068206787, | |
0.005940939903259277, | |
0.005933420181274414, | |
0.005887019157409668, | |
0.0058946990966796875, | |
0.005925899028778076, | |
0.005926379203796387, | |
0.005896618843078613, | |
0.005913898944854736, | |
0.005959019184112548, | |
0.005930220127105713, | |
0.005964138984680176, | |
0.00599501895904541, | |
0.005954379081726074, | |
0.005971498966217041, | |
0.005958058834075928, | |
0.0059161391258239744, | |
0.005946858882904053, | |
0.005960299015045166, | |
0.005928779125213623, | |
0.0059330987930297854, | |
0.005939979076385498, | |
0.006970856189727783, | |
0.006248938083648682, | |
0.005919340133666992, | |
0.006096138954162598, | |
0.006867495059967041, | |
0.006639817237854004, | |
0.006688936233520508, | |
0.006658856868743897, | |
0.006443497180938721, | |
0.006340457916259766, | |
0.008761248588562011, | |
0.0064674968719482424, | |
0.0065948572158813475, | |
0.006147017955780029, | |
0.006090057849884033, | |
0.006103659152984619, | |
0.006221578121185302, | |
0.006324138164520264, | |
0.00619613790512085, | |
0.0063770971298217774, | |
0.00651837682723999, | |
0.00607197904586792, | |
0.006467337131500244, | |
0.006156938076019287, | |
0.006200297832489014, | |
0.006384138107299805, | |
0.006222537994384766, | |
0.006485257148742676, | |
0.006137897968292236, | |
0.006177097797393799, | |
0.006298058032989502, | |
0.0061694178581237795, | |
0.006322058200836181, | |
0.006224617958068847, | |
0.006231497764587402, | |
0.006302217960357666, | |
0.006118217945098877, | |
0.005900299072265625, | |
0.005888460159301757, | |
0.00620573902130127, | |
0.0059441390037536625, | |
0.005935179233551025, | |
0.005647500038146972, | |
0.0056180601119995115, | |
0.005635340213775635, | |
0.005616300106048584, | |
0.005625740051269531, | |
0.0056043009757995605, | |
0.005620619773864746, | |
0.005631499767303467, | |
0.005623980045318604, | |
0.0056393399238586425, | |
0.005617099761962891, | |
0.005622220993041992, | |
0.005609420776367188, | |
0.005600619792938233, | |
0.005610380172729492, | |
0.00559630012512207, | |
0.005640620231628418, | |
0.005773419857025146, | |
0.005607979774475098, | |
0.01844953536987305, | |
0.0040326261520385745, | |
0.0040289459228515625, | |
0.004021105766296387, | |
0.0040235061645507815, | |
0.004041106224060059, | |
0.0044227042198181155, | |
0.005629740238189697, | |
0.005621099948883056, | |
0.005618861198425293, | |
0.0057532601356506344, | |
0.005614540100097656, | |
0.005609261035919189, | |
0.005603660106658936, | |
0.005613580226898194, | |
0.005615340232849121, | |
0.005608459949493408, | |
0.005617580890655518, | |
0.005619659900665284, | |
0.0056247801780700685, | |
0.005618380069732666, | |
0.005597899913787842, | |
0.0056231808662414555, | |
0.005607501029968261, | |
0.005640779972076416, | |
0.005631179809570313, | |
0.005632299900054932, | |
0.005629899978637695, | |
0.005614860057830811, | |
0.005632300853729248, | |
0.005622060775756836, | |
0.005620779991149902, | |
0.005605579853057862, | |
0.005596779823303223, | |
0.005623021125793457, | |
0.005613901138305664, | |
0.005614540100097656, | |
0.005598219871520996, | |
0.005613259792327881, | |
0.005631021022796631, | |
0.005945419788360596, | |
0.006428458213806152, | |
0.00641789722442627, | |
0.0063994979858398434, | |
0.00641629695892334, | |
0.006120458126068116, | |
0.006007178783416748, | |
0.005827660083770752, | |
0.005974218845367431, | |
0.0058479800224304195, | |
0.005947178840637207, | |
0.006002859115600586, | |
0.006365097045898437, | |
0.006113258838653565, | |
0.006370697021484375, | |
0.005849740028381348, | |
0.006070697784423828, | |
0.005841579914093018, | |
0.006139977931976319, | |
0.0058474988937377926, | |
0.006029098987579346, | |
0.005828780174255371, | |
0.006036139011383056, | |
0.005801420211791992, | |
0.005789099216461181, | |
0.00583597993850708, | |
0.005766538143157959, | |
0.005983819007873535, | |
0.0060506992340087894 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.06300081032745 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |