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
76b3387
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.357376, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 47362.236416, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.23784375, | |
"mean": 8.23784375, | |
"stdev": 0.0, | |
"p50": 8.23784375, | |
"p90": 8.23784375, | |
"p95": 8.23784375, | |
"p99": 8.23784375, | |
"values": [ | |
8.23784375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1244.065792, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 177295.970304, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 164, | |
"total": 0.9942491350173942, | |
"mean": 0.006062494725715823, | |
"stdev": 0.0008476084800709577, | |
"p50": 0.0059427058696746825, | |
"p90": 0.006410496854782105, | |
"p95": 0.006731472134590149, | |
"p99": 0.007937046756744396, | |
"values": [ | |
0.006436785221099853, | |
0.006298385143280029, | |
0.006031185150146484, | |
0.006093585014343262, | |
0.0061638250350952144, | |
0.006109745979309082, | |
0.006088304996490479, | |
0.006065585136413574, | |
0.00606510591506958, | |
0.006038384914398193, | |
0.009360137939453126, | |
0.006462544918060303, | |
0.00602222490310669, | |
0.005949585914611816, | |
0.005931826114654541, | |
0.00590238618850708, | |
0.005920626163482666, | |
0.005874546051025391, | |
0.005890066146850586, | |
0.005821906089782715, | |
0.005826705932617187, | |
0.005818545818328857, | |
0.00579822587966919, | |
0.005805905818939209, | |
0.005787186145782471, | |
0.0057873458862304685, | |
0.005805905818939209, | |
0.0058276658058166505, | |
0.005808626174926758, | |
0.0058019070625305175, | |
0.00578862714767456, | |
0.005791825771331787, | |
0.005781105995178223, | |
0.005771026134490966, | |
0.005772146224975586, | |
0.005761106014251709, | |
0.007101263046264648, | |
0.006381264209747314, | |
0.005947825908660889, | |
0.005942225933074951, | |
0.0058655858039855955, | |
0.005939665794372558, | |
0.005933266162872314, | |
0.005921265125274658, | |
0.005940465927124023, | |
0.0059199857711791995, | |
0.005915504932403564, | |
0.005933105945587158, | |
0.005894865989685059, | |
0.005915825843811035, | |
0.005914545059204102, | |
0.00594062614440918, | |
0.005926705837249756, | |
0.0059214248657226565, | |
0.005925906181335449, | |
0.00593134593963623, | |
0.005925586223602295, | |
0.005907505989074707, | |
0.0059060659408569334, | |
0.005925426006317139, | |
0.0059638252258300785, | |
0.005943185806274414, | |
0.005935346126556397, | |
0.005929584980010986, | |
0.005912946224212646, | |
0.015218843460083007, | |
0.004016790866851807, | |
0.004001110076904297, | |
0.0039955110549926755, | |
0.0053603072166442875, | |
0.0059380650520324705, | |
0.005898866176605224, | |
0.00597502613067627, | |
0.00594574499130249, | |
0.0059385461807250975, | |
0.0059004659652709965, | |
0.006223505020141602, | |
0.005930545806884765, | |
0.0059555058479309085, | |
0.005950386047363281, | |
0.005928144931793213, | |
0.005921425819396972, | |
0.00595918607711792, | |
0.0059495849609375, | |
0.005938705921173096, | |
0.0059409461021423336, | |
0.005923824787139893, | |
0.005937585830688477, | |
0.005937265872955322, | |
0.005918546199798584, | |
0.0059244661331176755, | |
0.005918546199798584, | |
0.005919826030731201, | |
0.00593150520324707, | |
0.0059580659866333005, | |
0.005913105964660645, | |
0.005921265125274658, | |
0.005927346229553223, | |
0.005919506072998047, | |
0.0058919858932495114, | |
0.0059243059158325196, | |
0.005910706043243408, | |
0.00591230583190918, | |
0.005925105094909668, | |
0.005871985912322998, | |
0.0059097461700439455, | |
0.005939664840698242, | |
0.005947825908660889, | |
0.005946226119995117, | |
0.005939505100250244, | |
0.0059433460235595705, | |
0.005925106048583984, | |
0.005952624797821045, | |
0.00596142578125, | |
0.006007345199584961, | |
0.005983185768127441, | |
0.006002865791320801, | |
0.005989905834197998, | |
0.006014066219329834, | |
0.006008465766906738, | |
0.005983985900878906, | |
0.005974705219268799, | |
0.0060596661567687985, | |
0.005970545768737793, | |
0.006004946231842041, | |
0.005990224838256836, | |
0.006015505790710449, | |
0.006003664970397949, | |
0.006034225940704346, | |
0.005977425098419189, | |
0.005993266105651856, | |
0.005967504978179931, | |
0.005993745803833008, | |
0.005954706192016602, | |
0.005970066070556641, | |
0.005962386131286621, | |
0.005976785182952881, | |
0.005937746047973633, | |
0.005997745037078858, | |
0.0059599862098693845, | |
0.005970545768737793, | |
0.005962385177612305, | |
0.006011345863342285, | |
0.006807182788848877, | |
0.006724143981933594, | |
0.006731664180755615, | |
0.0067971029281616215, | |
0.006423025131225586, | |
0.006175185203552246, | |
0.006219665050506592, | |
0.006289424896240234, | |
0.0060193448066711425, | |
0.006210384845733642, | |
0.006585423946380615, | |
0.006726862907409668, | |
0.0067271838188171385, | |
0.0067932639122009275, | |
0.00673038387298584, | |
0.0068166241645812985, | |
0.006753424167633057, | |
0.006364624977111816, | |
0.00618974494934082, | |
0.005958705902099609, | |
0.005964145183563232 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 164.9485971110558 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |