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
53787ae
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": 2, | |
"sequence_length": 16, | |
"num_choices": 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": 1082014.490624, | |
"system": "Linux", | |
"machine": "x86_64", | |
"platform": "Linux-5.15.0-122-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.5.0.dev0", | |
"optimum_benchmark_commit": null, | |
"transformers_version": "4.47.0", | |
"transformers_commit": null, | |
"accelerate_version": "1.2.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.31.0", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.12", | |
"timm_commit": null, | |
"peft_version": "0.14.0", | |
"peft_commit": null | |
}, | |
"print_report": true, | |
"log_report": true | |
}, | |
"report": { | |
"load_model": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1059.495936, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 5534.855168, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.12992599487304687 | |
], | |
"count": 1, | |
"total": 0.12992599487304687, | |
"mean": 0.12992599487304687, | |
"p50": 0.12992599487304687, | |
"p90": 0.12992599487304687, | |
"p95": 0.12992599487304687, | |
"p99": 0.12992599487304687, | |
"stdev": 0, | |
"stdev_": 0 | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1229.35296, | |
"max_global_vram": 68702.69952, | |
"max_process_vram": 170132.406272, | |
"max_reserved": 400.556032, | |
"max_allocated": 373.34528 | |
}, | |
"latency": { | |
"unit": "s", | |
"values": [ | |
0.0066951789855957036, | |
0.006364940166473388, | |
0.006338220119476318, | |
0.006336780071258545, | |
0.0063218998908996585, | |
0.006320620059967041, | |
0.006319660186767578, | |
0.00630702018737793, | |
0.006352139949798584, | |
0.006319660186767578, | |
0.006336780071258545, | |
0.0063188600540161136, | |
0.006351339817047119, | |
0.006336780071258545, | |
0.006352940082550049, | |
0.006332620143890381, | |
0.006342700004577637, | |
0.0063524599075317385, | |
0.006308139801025391, | |
0.006347179889678955, | |
0.006333419799804688, | |
0.006345419883728027, | |
0.006320940017700195, | |
0.006337259769439697, | |
0.006566219806671143, | |
0.006365739822387696, | |
0.006340939998626709, | |
0.0063097400665283205, | |
0.006349259853363037, | |
0.006341899871826172, | |
0.006363979816436768, | |
0.006340620040893555, | |
0.006362860202789307, | |
0.006349420070648194, | |
0.0063929400444030764, | |
0.006384140014648438, | |
0.0063452601432800295, | |
0.006356939792633056, | |
0.006368780136108398, | |
0.006398540019989013, | |
0.006393099784851074, | |
0.006368939876556397, | |
0.0063684601783752445, | |
0.006376619815826416, | |
0.006395978927612305, | |
0.006372459888458252, | |
0.006368939876556397, | |
0.006381100177764893, | |
0.006377419948577881, | |
0.006376938819885254, | |
0.006369900226593017, | |
0.0063506999015808105, | |
0.006367980003356933, | |
0.00632125997543335, | |
0.0063719801902771, | |
0.006372940063476562, | |
0.006363019943237304, | |
0.006662219047546387, | |
0.00719389820098877, | |
0.0071412577629089355, | |
0.007173097133636475, | |
0.006759338855743409, | |
0.006673099040985108, | |
0.006597098827362061, | |
0.0066194992065429685, | |
0.006595818996429443, | |
0.006886538028717041, | |
0.007136776924133301, | |
0.007153738021850586, | |
0.007178536891937256, | |
0.006709259033203125, | |
0.006617739200592041, | |
0.006674698829650879, | |
0.006498219013214112, | |
0.006645258903503418, | |
0.006643178939819336, | |
0.0064523000717163085, | |
0.006615660190582275, | |
0.007624775886535645, | |
0.006673099040985108, | |
0.006428619861602783, | |
0.0064026999473571775, | |
0.006409578800201416, | |
0.006376299858093262, | |
0.006419980049133301, | |
0.006391819953918457, | |
0.006434858798980713, | |
0.0064473400115966795, | |
0.006400619983673096, | |
0.006412139892578125, | |
0.0064258999824523926, | |
0.00640526008605957, | |
0.0064566187858581545, | |
0.006427979946136474, | |
0.006461258888244629, | |
0.0064308600425720215, | |
0.006423019886016846, | |
0.006431018829345703, | |
0.006386060237884522, | |
0.006417099952697754, | |
0.00641965913772583, | |
0.00638286018371582, | |
0.006423180103302002, | |
0.006421899795532227, | |
0.006368780136108398, | |
0.006408140182495117, | |
0.006411179065704346, | |
0.00641565990447998, | |
0.006414380073547363, | |
0.006381579875946045, | |
0.006343020915985108, | |
0.006400780200958252, | |
0.006373419761657715, | |
0.006401740074157715, | |
0.006399980068206787, | |
0.0064187002182006835, | |
0.006396619796752929, | |
0.006417900085449219, | |
0.006416940212249756, | |
0.006403659820556641, | |
0.006406700134277344, | |
0.006386539936065674, | |
0.006368939876556397, | |
0.006401740074157715, | |
0.006393899917602539, | |
0.006383019924163819, | |
0.006382699966430664, | |
0.00637902021408081, | |
0.006418059825897217, | |
0.00636221981048584, | |
0.006391018867492676, | |
0.006390699863433838, | |
0.006385419845581055, | |
0.0063850998878479, | |
0.006395820140838623, | |
0.0064148597717285155, | |
0.00642333984375, | |
0.006395659923553467, | |
0.006398859024047851, | |
0.006361579895019532, | |
0.006391019821166992, | |
0.006426539897918701, | |
0.0064090991020202635, | |
0.006425419807434082, | |
0.006391180038452148, | |
0.006374859809875488, | |
0.006394380092620849, | |
0.006375339984893799, | |
0.00636814022064209, | |
0.006366859912872314, | |
0.00636893892288208, | |
0.006391180038452148, | |
0.006387340068817139, | |
0.006374859809875488, | |
0.0063929400444030764 | |
], | |
"count": 155, | |
"total": 0.9996254901885989, | |
"mean": 0.006449196710894184, | |
"p50": 0.006391180038452148, | |
"p90": 0.006644426918029785, | |
"p95": 0.0067974986076354965, | |
"p99": 0.007185603094100952, | |
"stdev": 0.00019732780493158844, | |
"stdev_": 3.059726874174208 | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 310.1161415376798 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |