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
87d6045
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.386048, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 42867.113984, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.20214453125, | |
"mean": 8.20214453125, | |
"stdev": 0.0, | |
"p50": 8.20214453125, | |
"p90": 8.20214453125, | |
"p95": 8.20214453125, | |
"p99": 8.20214453125, | |
"values": [ | |
8.20214453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1244.209152, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 184184.078336, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 0.9945468297004694, | |
"mean": 0.0059553702377273645, | |
"stdev": 0.0003279985864829348, | |
"p50": 0.0057231860160827635, | |
"p90": 0.006450193023681641, | |
"p95": 0.006518304872512817, | |
"p99": 0.0070112126350402836, | |
"values": [ | |
0.006941743850708008, | |
0.006444624900817871, | |
0.0065643048286437985, | |
0.006209105968475342, | |
0.0062467060089111326, | |
0.006295985221862793, | |
0.006236626148223877, | |
0.006241905212402344, | |
0.006220786094665527, | |
0.006249585151672363, | |
0.006228466033935547, | |
0.006246065139770508, | |
0.006234226226806641, | |
0.006200466156005859, | |
0.006223666191101074, | |
0.006212625980377197, | |
0.006210704803466797, | |
0.006194066047668457, | |
0.006151665210723877, | |
0.006154706001281738, | |
0.006161265850067139, | |
0.0061067061424255374, | |
0.006111185073852539, | |
0.0061212658882141115, | |
0.006110226154327393, | |
0.006113265991210938, | |
0.0061772651672363284, | |
0.006125425815582276, | |
0.006112785816192627, | |
0.006150705814361572, | |
0.006119185924530029, | |
0.006060945987701416, | |
0.006138545989990234, | |
0.006131986141204834, | |
0.006175826072692871, | |
0.006220145225524902, | |
0.007287182807922363, | |
0.0062993459701538084, | |
0.0057382268905639645, | |
0.005712626934051513, | |
0.005710546016693115, | |
0.005713427066802978, | |
0.005787346839904785, | |
0.005692787170410156, | |
0.005698067188262939, | |
0.0056929469108581545, | |
0.005692306995391846, | |
0.005679986953735352, | |
0.005679506778717041, | |
0.005691506862640381, | |
0.00570302677154541, | |
0.005719986915588379, | |
0.005715987205505371, | |
0.005691347122192383, | |
0.005689106941223145, | |
0.005679666996002197, | |
0.005707507133483887, | |
0.0056831870079040525, | |
0.005686387062072754, | |
0.005682066917419433, | |
0.005695026874542236, | |
0.005668306827545166, | |
0.005673747062683105, | |
0.005684627056121826, | |
0.005679666996002197, | |
0.005707986831665039, | |
0.005687187194824219, | |
0.005689106941223145, | |
0.0056905469894409175, | |
0.00569646692276001, | |
0.005713427066802978, | |
0.005680946826934814, | |
0.005697105884552002, | |
0.005676466941833496, | |
0.0057003068923950195, | |
0.005690866947174072, | |
0.005917426109313965, | |
0.00569646692276001, | |
0.0057095870971679685, | |
0.0057134261131286624, | |
0.005718387126922607, | |
0.005685427188873291, | |
0.005692306995391846, | |
0.0057231860160827635, | |
0.0056825470924377446, | |
0.005677106857299804, | |
0.005699027061462403, | |
0.005690386772155762, | |
0.005688626766204834, | |
0.005675026893615723, | |
0.005906546115875244, | |
0.005679347038269043, | |
0.005687827110290527, | |
0.005675666809082032, | |
0.005682867050170898, | |
0.005697587013244629, | |
0.0056935868263244625, | |
0.005705586910247803, | |
0.005689426898956299, | |
0.00568830680847168, | |
0.005674386024475097, | |
0.005748627185821534, | |
0.005693747043609619, | |
0.005693747043609619, | |
0.00572046709060669, | |
0.00572478723526001, | |
0.005710546970367432, | |
0.00569422721862793, | |
0.005688467025756836, | |
0.0056812667846679685, | |
0.0056825470924377446, | |
0.005699986934661865, | |
0.005707186222076416, | |
0.005685747146606445, | |
0.005691347122192383, | |
0.0056972670555114745, | |
0.005698866844177246, | |
0.005707985877990722, | |
0.00570302677154541, | |
0.005690227031707764, | |
0.005711667060852051, | |
0.005693585872650147, | |
0.005710227012634277, | |
0.006087346076965332, | |
0.006103186130523681, | |
0.006109745979309082, | |
0.005920626163482666, | |
0.0063251051902771, | |
0.006131505966186524, | |
0.006046865940093994, | |
0.005920306205749511, | |
0.005711987018585205, | |
0.0056953468322753905, | |
0.005690707206726074, | |
0.005679186820983887, | |
0.005689267158508301, | |
0.005909905910491943, | |
0.00652494478225708, | |
0.006458545207977295, | |
0.0063628659248352055, | |
0.0063745460510253905, | |
0.006482385158538819, | |
0.006501424789428711, | |
0.006539505004882812, | |
0.006458865165710449, | |
0.006475025177001953, | |
0.006534385204315186, | |
0.0064715051651000974, | |
0.0065190248489379885, | |
0.006273904800415039, | |
0.005993105888366699, | |
0.005854227066040039, | |
0.006202704906463623, | |
0.005897747039794922, | |
0.006195664882659912, | |
0.005926867008209228, | |
0.007146063804626465, | |
0.006906223773956299, | |
0.0065166249275207516, | |
0.006461905002593994, | |
0.006249265193939209, | |
0.0058684668540954586, | |
0.006082705020904541, | |
0.00611966609954834, | |
0.0060692658424377445, | |
0.005883027076721192, | |
0.006079026222229004 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 167.91567275951783 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |