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
d8b636f
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_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.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.3.1", | |
"optimum_benchmark_commit": "802823c7274dfd9b1edbe9a02521fdbafa78149a", | |
"transformers_version": "4.42.4", | |
"transformers_commit": null, | |
"accelerate_version": "0.32.1", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.7", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 897.88416, | |
"max_global_vram": 974.11072, | |
"max_process_vram": 44306.018304, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 7.14881787109375, | |
"mean": 7.14881787109375, | |
"stdev": 0.0, | |
"p50": 7.14881787109375, | |
"p90": 7.14881787109375, | |
"p95": 7.14881787109375, | |
"p99": 7.14881787109375, | |
"values": [ | |
7.14881787109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1068.834816, | |
"max_global_vram": 1061.80608, | |
"max_process_vram": 159476.08064, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 155, | |
"total": 0.9972156066894535, | |
"mean": 0.006433649075415826, | |
"stdev": 0.0003490110478197623, | |
"p50": 0.006307662010192871, | |
"p90": 0.0067674049377441405, | |
"p95": 0.006873788738250731, | |
"p99": 0.007261067514419557, | |
"values": [ | |
0.007188940048217773, | |
0.006938061237335205, | |
0.006841580867767334, | |
0.006854061126708984, | |
0.006919819831848145, | |
0.006832301139831543, | |
0.0067108612060546875, | |
0.006739340782165528, | |
0.006663500785827637, | |
0.006530861854553222, | |
0.006549420833587646, | |
0.006542222023010254, | |
0.006481101989746094, | |
0.006501421928405761, | |
0.006458062171936035, | |
0.006444141864776611, | |
0.006435661792755127, | |
0.006388943195343017, | |
0.006388623237609864, | |
0.006379343032836914, | |
0.006426541805267334, | |
0.006420941829681397, | |
0.006387022018432617, | |
0.006401902198791504, | |
0.006395822048187256, | |
0.006412941932678223, | |
0.006457742214202881, | |
0.0063980622291564945, | |
0.006404942035675049, | |
0.009771492004394531, | |
0.006494862079620361, | |
0.006205262184143067, | |
0.006225742816925049, | |
0.006239501953125, | |
0.006229262828826904, | |
0.006165741920471191, | |
0.006207822799682617, | |
0.00626238203048706, | |
0.006250863075256348, | |
0.006267022132873535, | |
0.006263182163238525, | |
0.006269261837005615, | |
0.006224782943725586, | |
0.0062499017715454104, | |
0.0062687830924987795, | |
0.006266542911529541, | |
0.006268782138824463, | |
0.006322381973266601, | |
0.006286383152008057, | |
0.006251341819763183, | |
0.006266382217407227, | |
0.006259983062744141, | |
0.006307662010192871, | |
0.006249261856079102, | |
0.006249423027038574, | |
0.00623182201385498, | |
0.006266702175140381, | |
0.006264142990112305, | |
0.006243341922760009, | |
0.006253423213958741, | |
0.006279502868652344, | |
0.006268782138824463, | |
0.006234542846679687, | |
0.00630830192565918, | |
0.00630062198638916, | |
0.006273581981658936, | |
0.006264462947845459, | |
0.006275981903076172, | |
0.00628158187866211, | |
0.006289422988891602, | |
0.0062639818191528324, | |
0.0063062219619750975, | |
0.006275022029876709, | |
0.006311822891235352, | |
0.006423182010650634, | |
0.006311182975769043, | |
0.007345738887786865, | |
0.00630990219116211, | |
0.00633886194229126, | |
0.006342543125152588, | |
0.00632606315612793, | |
0.006285421848297119, | |
0.006269261837005615, | |
0.006329102993011475, | |
0.00626766300201416, | |
0.006295502185821533, | |
0.006305741786956787, | |
0.006277583122253418, | |
0.006295342922210693, | |
0.006281742095947266, | |
0.006302221775054932, | |
0.006335982799530029, | |
0.006304623126983643, | |
0.0063063821792602535, | |
0.006339501857757568, | |
0.006297421932220459, | |
0.0063047828674316405, | |
0.006322543144226075, | |
0.006317741870880127, | |
0.006334862232208252, | |
0.006352622032165528, | |
0.00628862190246582, | |
0.006317742824554443, | |
0.006342862129211426, | |
0.006268143177032471, | |
0.006293422222137452, | |
0.006302062034606933, | |
0.00631294298171997, | |
0.006274862766265869, | |
0.006265421867370605, | |
0.006289902210235595, | |
0.006286862850189209, | |
0.0063062219619750975, | |
0.0071206197738647465, | |
0.0067908611297607425, | |
0.006827499866485596, | |
0.00678446102142334, | |
0.0066671819686889644, | |
0.0067731008529663085, | |
0.006752780914306641, | |
0.0071305398941040035, | |
0.0070257411003112795, | |
0.006704142093658447, | |
0.006655500888824463, | |
0.006545741081237793, | |
0.006758861064910889, | |
0.0066598219871520994, | |
0.00664174222946167, | |
0.006775341033935547, | |
0.00665566110610962, | |
0.00658414077758789, | |
0.00664558219909668, | |
0.006695341110229492, | |
0.006562541007995606, | |
0.00663582181930542, | |
0.006299181938171387, | |
0.0063179020881652835, | |
0.006295022010803223, | |
0.006299502849578857, | |
0.006307982921600342, | |
0.006295022010803223, | |
0.00622750186920166, | |
0.006284303188323974, | |
0.006281102180480957, | |
0.006310222148895264, | |
0.006238223075866699, | |
0.006298222064971924, | |
0.00628254222869873, | |
0.006279501914978027, | |
0.006268622875213623, | |
0.006277421951293946, | |
0.0062961411476135255, | |
0.006280783176422119, | |
0.006287501811981201, | |
0.006311821937561035 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 155.43278600960483 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |