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
a424a2c
verified
{ | |
"config": { | |
"name": "cuda_inference_transformers_image-classification_google/vit-base-patch16-224", | |
"backend": { | |
"name": "pytorch", | |
"version": "2.2.2+rocm5.7", | |
"_target_": "optimum_benchmark.backends.pytorch.backend.PyTorchBackend", | |
"task": "image-classification", | |
"library": "transformers", | |
"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": {}, | |
"hub_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, | |
"latency": true, | |
"memory": 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", | |
"start_method": "spawn" | |
}, | |
"environment": { | |
"cpu": " AMD EPYC 7763 64-Core Processor", | |
"cpu_count": 128, | |
"cpu_ram_mb": 1082015.236096, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-84-generic-x86_64-with-glibc2.35", | |
"processor": "x86_64", | |
"python_version": "3.10.12", | |
"gpu": [ | |
"Advanced Micro Devices, Inc. [AMD/ATI]" | |
], | |
"gpu_count": 1, | |
"gpu_vram_mb": 68702699520, | |
"optimum_benchmark_version": "0.2.0", | |
"optimum_benchmark_commit": "77e62a3eef699bce70248c56d35c703369938b85", | |
"transformers_version": "4.40.2", | |
"transformers_commit": null, | |
"accelerate_version": "0.30.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.27.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.3", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1060.888576, | |
"max_global_vram": 2404.151296, | |
"max_process_vram": 174125.756416, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.912704 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 158, | |
"total": 0.9953347196578983, | |
"mean": 0.006299586833277835, | |
"stdev": 0.00018881198433138785, | |
"p50": 0.006230870962142945, | |
"p90": 0.006510550832748413, | |
"p95": 0.006597054648399353, | |
"p99": 0.007087310605049134, | |
"values": [ | |
0.007605429172515869, | |
0.0062847909927368165, | |
0.006293110847473145, | |
0.006200150966644287, | |
0.006234549999237061, | |
0.006250871181488037, | |
0.006228311061859131, | |
0.006254870891571045, | |
0.006219350814819336, | |
0.00624143123626709, | |
0.006474551200866699, | |
0.007172308921813965, | |
0.0067822299003601075, | |
0.006175671100616455, | |
0.0061857509613037105, | |
0.006254391193389892, | |
0.006520630836486817, | |
0.006213750839233399, | |
0.006223190784454346, | |
0.006250710964202881, | |
0.00625951099395752, | |
0.006420791149139404, | |
0.006239991188049316, | |
0.0062401509284973145, | |
0.006256471157073975, | |
0.006299830913543701, | |
0.006238550186157227, | |
0.006227351188659668, | |
0.006232951164245605, | |
0.006270071029663086, | |
0.006220311164855957, | |
0.006208311080932618, | |
0.006236151218414306, | |
0.006239671230316162, | |
0.006295510768890381, | |
0.006269751071929931, | |
0.006362870216369629, | |
0.006310390949249268, | |
0.006310070991516113, | |
0.00627471113204956, | |
0.006229270935058593, | |
0.00621583080291748, | |
0.006290871143341065, | |
0.0062494311332702635, | |
0.006218390941619873, | |
0.006240470886230469, | |
0.006237590789794922, | |
0.0062585511207580566, | |
0.0062811107635498045, | |
0.006223990917205811, | |
0.006212790966033935, | |
0.006223511219024658, | |
0.006273270130157471, | |
0.006263191223144531, | |
0.006228631019592285, | |
0.006245591163635254, | |
0.0062212710380554195, | |
0.006215671062469483, | |
0.006238231182098389, | |
0.006194711208343506, | |
0.006232151031494141, | |
0.00623327112197876, | |
0.006193591117858887, | |
0.006212790966033935, | |
0.006208150863647461, | |
0.0061729512214660645, | |
0.006214870929718018, | |
0.006210391044616699, | |
0.0061881508827209475, | |
0.006214870929718018, | |
0.006170711994171143, | |
0.006242549896240234, | |
0.006201591014862061, | |
0.0062115111351013184, | |
0.006214870929718018, | |
0.006204471111297607, | |
0.006207991123199463, | |
0.006198231220245361, | |
0.006214711189270019, | |
0.006189431190490723, | |
0.006250871181488037, | |
0.006239671230316162, | |
0.00624031114578247, | |
0.006210071086883545, | |
0.006200951099395752, | |
0.006222711086273193, | |
0.006197751045227051, | |
0.0062371110916137696, | |
0.006199350833892822, | |
0.006194070816040039, | |
0.006188470840454102, | |
0.006198071002960205, | |
0.006217590808868408, | |
0.006213430881500244, | |
0.006198710918426513, | |
0.006195190906524658, | |
0.006200631141662597, | |
0.006175351142883301, | |
0.0061851110458374025, | |
0.006161110877990723, | |
0.006214070796966553, | |
0.0061851110458374025, | |
0.006176950931549072, | |
0.006165270805358887, | |
0.006168951034545898, | |
0.006224791049957276, | |
0.006229590892791748, | |
0.006227830886840821, | |
0.006228150844573975, | |
0.006223031044006348, | |
0.006244630813598633, | |
0.006182391166687012, | |
0.006261751174926757, | |
0.006260150909423828, | |
0.0062630300521850585, | |
0.0062327909469604495, | |
0.006206231117248535, | |
0.00624799108505249, | |
0.006174551010131836, | |
0.006203831195831299, | |
0.0061998310089111325, | |
0.006219991207122803, | |
0.0062188711166381834, | |
0.006207510948181152, | |
0.006210391044616699, | |
0.006417110919952392, | |
0.007023189067840576, | |
0.006432950973510742, | |
0.006616310119628906, | |
0.006583671092987061, | |
0.006424789905548096, | |
0.006575991153717041, | |
0.006536149978637695, | |
0.006438391208648682, | |
0.00657358980178833, | |
0.006460471153259277, | |
0.006492471218109131, | |
0.006223190784454346, | |
0.0064977512359619145, | |
0.006834869861602783, | |
0.006577910900115967, | |
0.006461111068725586, | |
0.0066190299987792965, | |
0.00650623083114624, | |
0.0064719910621643065, | |
0.006598549842834473, | |
0.0064910311698913575, | |
0.00649199104309082, | |
0.006558549880981445, | |
0.006396310806274414, | |
0.006596790790557861, | |
0.006395510196685791, | |
0.006202550888061523, | |
0.006195351123809815, | |
0.006205111026763916, | |
0.006180631160736084, | |
0.006207830905914306, | |
0.006163990020751953 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 158.74056925724994 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |