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
b3d37cf
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": "6", | |
"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": 1073.750016, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 46611.095552, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 8.5519921875, | |
"mean": 8.5519921875, | |
"stdev": 0.0, | |
"p50": 8.5519921875, | |
"p90": 8.5519921875, | |
"p95": 8.5519921875, | |
"p99": 8.5519921875, | |
"values": [ | |
8.5519921875 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1244.409856, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 182298.886144, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 160, | |
"total": 0.9982256257534026, | |
"mean": 0.0062389101609587674, | |
"stdev": 0.001133103168829905, | |
"p50": 0.006158732891082763, | |
"p90": 0.006652478313446044, | |
"p95": 0.006800518822669983, | |
"p99": 0.008819214348793021, | |
"values": [ | |
0.006778573989868164, | |
0.006601774215698243, | |
0.006704174995422364, | |
0.006355213165283203, | |
0.00628881311416626, | |
0.006300013065338134, | |
0.0062755331993103024, | |
0.0063137741088867185, | |
0.006241453170776367, | |
0.006220172882080078, | |
0.006254892826080322, | |
0.0062475337982177736, | |
0.006309613227844239, | |
0.006172812938690185, | |
0.006151692867279053, | |
0.006071853160858154, | |
0.006177933216094971, | |
0.006038252830505371, | |
0.006023373126983643, | |
0.006048973083496094, | |
0.005994253158569336, | |
0.006020971775054932, | |
0.006010892868041992, | |
0.006049932956695557, | |
0.006208972930908203, | |
0.006400013923645019, | |
0.006239693164825439, | |
0.006399693965911865, | |
0.00627633285522461, | |
0.006377933025360108, | |
0.006811853885650635, | |
0.010302902221679688, | |
0.006850413799285889, | |
0.007788177013397217, | |
0.006646734237670898, | |
0.006207532882690429, | |
0.006208813190460205, | |
0.006164493083953858, | |
0.006150252819061279, | |
0.00631937313079834, | |
0.006168492794036865, | |
0.006171213150024414, | |
0.00611089277267456, | |
0.0061188931465148925, | |
0.006238254070281982, | |
0.006316493034362793, | |
0.0063510541915893556, | |
0.00623697280883789, | |
0.0061960129737854, | |
0.006187693119049072, | |
0.006161932945251465, | |
0.006147693157196045, | |
0.006227852821350098, | |
0.006251052856445312, | |
0.006438093185424805, | |
0.0062286539077758786, | |
0.006209133148193359, | |
0.006210093021392822, | |
0.006155532836914062, | |
0.006146573066711426, | |
0.006330254077911377, | |
0.006202252864837646, | |
0.006206092834472657, | |
0.006184813022613526, | |
0.006215532779693603, | |
0.005981613159179688, | |
0.006018892765045166, | |
0.00600657320022583, | |
0.006020812034606934, | |
0.005992012977600098, | |
0.006048333168029785, | |
0.006025773048400879, | |
0.006001932144165039, | |
0.00599425220489502, | |
0.006026893138885498, | |
0.005983212947845459, | |
0.0061969728469848636, | |
0.006038893222808838, | |
0.006032332897186279, | |
0.005960971832275391, | |
0.006228013038635254, | |
0.0060144119262695315, | |
0.006013453006744385, | |
0.006005932807922363, | |
0.018683080673217774, | |
0.003993928909301758, | |
0.003982568025588989, | |
0.003982409000396729, | |
0.003982408046722412, | |
0.004812650203704834, | |
0.005973453044891357, | |
0.005954253196716309, | |
0.0059593720436096195, | |
0.005970572948455811, | |
0.005965612888336182, | |
0.005957292079925537, | |
0.005963212966918945, | |
0.005955692768096924, | |
0.005970891952514649, | |
0.005961613178253174, | |
0.005979692935943604, | |
0.005960812091827392, | |
0.005963212966918945, | |
0.006098252773284912, | |
0.005927853107452393, | |
0.00597457218170166, | |
0.005960012912750244, | |
0.005982732772827149, | |
0.00596865177154541, | |
0.0059593720436096195, | |
0.0059601731300354, | |
0.005984333038330078, | |
0.006110092163085937, | |
0.005962411880493164, | |
0.005972652912139892, | |
0.005958412170410156, | |
0.005943051815032959, | |
0.005966732978820801, | |
0.005975532054901123, | |
0.005960492134094239, | |
0.00594929313659668, | |
0.005976652145385742, | |
0.005961452007293701, | |
0.005985133171081543, | |
0.00594673204421997, | |
0.005950252056121826, | |
0.0059462528228759765, | |
0.005964171886444092, | |
0.005971692085266113, | |
0.005980493068695069, | |
0.005930252075195312, | |
0.006825294017791748, | |
0.006769934177398682, | |
0.006791534900665283, | |
0.006761134147644043, | |
0.0063113741874694824, | |
0.006365132808685303, | |
0.0062308931350708, | |
0.006310733795166015, | |
0.006269292831420898, | |
0.006336493015289307, | |
0.006766734123229981, | |
0.0067956938743591305, | |
0.006420333862304687, | |
0.006398253917694092, | |
0.006186412811279297, | |
0.006365612983703613, | |
0.006246092796325683, | |
0.0062705731391906735, | |
0.006350573062896729, | |
0.00619329309463501, | |
0.006370412826538086, | |
0.006188813209533691, | |
0.005970413208007812, | |
0.005998892784118652, | |
0.006494253158569336, | |
0.006822414875030517, | |
0.006804012775421143, | |
0.0068003349304199216, | |
0.006601774215698243 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 160.2844045195106 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |