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
d24e77d
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.4.0+rocm6.1", | |
"_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": "0", | |
"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": "error", | |
"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.33.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": 1387.78624, | |
"max_global_vram": 11.20256, | |
"max_process_vram": 0.0, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.96939453125, | |
"mean": 7.96939453125, | |
"stdev": 0.0, | |
"p50": 7.96939453125, | |
"p90": 7.96939453125, | |
"p95": 7.96939453125, | |
"p99": 7.96939453125, | |
"values": [ | |
7.96939453125 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1558.528, | |
"max_global_vram": 11.198464, | |
"max_process_vram": 0.0, | |
"max_reserved": 406.847488, | |
"max_allocated": 354.740224 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 174, | |
"total": 0.9973866615295409, | |
"mean": 0.005732107250169776, | |
"stdev": 0.00025030795956185946, | |
"p50": 0.005626141548156738, | |
"p90": 0.006228891897201539, | |
"p95": 0.006308451509475708, | |
"p99": 0.006370847792625427, | |
"values": [ | |
0.00624813985824585, | |
0.006038380146026611, | |
0.005726221084594726, | |
0.005725740909576416, | |
0.005733261108398438, | |
0.005754701137542725, | |
0.005708462238311768, | |
0.005734060764312744, | |
0.006076300144195556, | |
0.005969099998474121, | |
0.0061604599952697755, | |
0.005944300174713135, | |
0.0056884617805480955, | |
0.005701101779937744, | |
0.005675021171569824, | |
0.005647021770477295, | |
0.005651502132415771, | |
0.00562830114364624, | |
0.00564830207824707, | |
0.005645740985870362, | |
0.0056139020919799805, | |
0.005636301040649414, | |
0.005623981952667236, | |
0.005650061130523682, | |
0.0056475019454956055, | |
0.005636941909790039, | |
0.005669900894165039, | |
0.0056639819145202636, | |
0.005763501167297363, | |
0.005649260997772217, | |
0.005676620960235595, | |
0.005636782169342041, | |
0.005655341148376465, | |
0.005657261848449707, | |
0.005656621932983399, | |
0.005709260940551758, | |
0.005721261024475097, | |
0.0057116618156433105, | |
0.005670382022857666, | |
0.005685901165008545, | |
0.005644941806793213, | |
0.005703981876373291, | |
0.0056606211662292485, | |
0.005659182071685791, | |
0.006910377979278564, | |
0.005764141082763672, | |
0.005553262233734131, | |
0.005555342197418213, | |
0.005541262149810791, | |
0.005555662155151367, | |
0.005529582023620605, | |
0.005580461978912353, | |
0.00552558183670044, | |
0.005556302070617676, | |
0.005723021030426025, | |
0.0058012609481811524, | |
0.006026700019836426, | |
0.005841421127319336, | |
0.005821741104125976, | |
0.00624813985824585, | |
0.006351819038391113, | |
0.006317899227142334, | |
0.006307499885559082, | |
0.0063118190765380855, | |
0.0062897391319274906, | |
0.006314058780670166, | |
0.00627869987487793, | |
0.006305418968200684, | |
0.006299818992614746, | |
0.006115499973297119, | |
0.006310218811035156, | |
0.006292620182037354, | |
0.006274858951568604, | |
0.005966219902038574, | |
0.0059028611183166504, | |
0.005726221084594726, | |
0.005771340847015381, | |
0.005985899925231934, | |
0.005793100833892823, | |
0.00571982192993164, | |
0.0057705421447753905, | |
0.005772141933441162, | |
0.00570670223236084, | |
0.0055950207710266115, | |
0.0055454220771789554, | |
0.005623501777648926, | |
0.005579981803894043, | |
0.0055662221908569336, | |
0.005564621925354004, | |
0.005565742015838623, | |
0.0055643019676208496, | |
0.005551181793212891, | |
0.005578701019287109, | |
0.0055619020462036135, | |
0.005564941883087158, | |
0.005557900905609131, | |
0.00556478214263916, | |
0.005585422039031982, | |
0.005552141189575195, | |
0.005574222087860107, | |
0.00556318187713623, | |
0.005565421104431152, | |
0.005561421871185303, | |
0.005545742034912109, | |
0.005537901878356934, | |
0.005550540924072265, | |
0.005567821979522705, | |
0.00558446216583252, | |
0.005563021183013916, | |
0.005562702178955078, | |
0.005585902214050293, | |
0.005583341121673584, | |
0.005585422039031982, | |
0.00559102201461792, | |
0.0055876622200012206, | |
0.005569581985473633, | |
0.005567821979522705, | |
0.005573421955108643, | |
0.005595181941986084, | |
0.0055737409591674805, | |
0.0055857419967651365, | |
0.005568302154541015, | |
0.005562221050262451, | |
0.005552462100982666, | |
0.005558062076568604, | |
0.005566381931304932, | |
0.005572301864624023, | |
0.005599341869354248, | |
0.005574221134185791, | |
0.005527661800384521, | |
0.005577422142028808, | |
0.0055625419616699215, | |
0.005568461894989014, | |
0.005598381996154785, | |
0.005615500926971435, | |
0.0055887818336486815, | |
0.005573421955108643, | |
0.005565580844879151, | |
0.005574222087860107, | |
0.005560622215270996, | |
0.005585101127624512, | |
0.0055691018104553226, | |
0.005583022117614746, | |
0.005583501815795898, | |
0.005637581825256348, | |
0.005577900886535645, | |
0.0055905418395996095, | |
0.005633420944213867, | |
0.005561582088470459, | |
0.005598381996154785, | |
0.005556140899658203, | |
0.005557901859283447, | |
0.005597261905670166, | |
0.005555981159210205, | |
0.0055876622200012206, | |
0.005584621906280517, | |
0.00557086181640625, | |
0.00556862211227417, | |
0.005580301761627197, | |
0.005575022220611572, | |
0.005568302154541015, | |
0.005587821960449219, | |
0.006183979988098144, | |
0.006368299007415771, | |
0.00635853910446167, | |
0.006377738952636719, | |
0.006079179763793945, | |
0.005881741046905518, | |
0.005836940765380859, | |
0.005907979965209961, | |
0.0059569411277771, | |
0.005847179889678955, | |
0.005857261180877685, | |
0.005828461170196533 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 174.4559123471358 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |