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
c5b3571
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 7643 48-Core Processor", | |
"cpu_count": 96, | |
"cpu_ram_mb": 1082028.982272, | |
"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": "0aac0108c378c328492774ddb431ea89a3c2b507", | |
"transformers_version": "4.43.3", | |
"transformers_commit": null, | |
"accelerate_version": "0.33.0", | |
"accelerate_commit": null, | |
"diffusers_version": "0.29.2", | |
"diffusers_commit": null, | |
"optimum_version": null, | |
"optimum_commit": null, | |
"timm_version": "1.0.8", | |
"timm_commit": null, | |
"peft_version": null, | |
"peft_commit": null | |
} | |
}, | |
"report": { | |
"load": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 898.637824, | |
"max_global_vram": 689.364992, | |
"max_process_vram": 44078.727168, | |
"max_reserved": 400.556032, | |
"max_allocated": 346.271744 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 1, | |
"total": 6.75847412109375, | |
"mean": 6.75847412109375, | |
"stdev": 0.0, | |
"p50": 6.75847412109375, | |
"p90": 6.75847412109375, | |
"p95": 6.75847412109375, | |
"p99": 6.75847412109375, | |
"values": [ | |
6.75847412109375 | |
] | |
}, | |
"throughput": null, | |
"energy": null, | |
"efficiency": null | |
}, | |
"forward": { | |
"memory": { | |
"unit": "MB", | |
"max_ram": 1068.478464, | |
"max_global_vram": 777.060352, | |
"max_process_vram": 171045.298176, | |
"max_reserved": 406.847488, | |
"max_allocated": 355.303424 | |
}, | |
"latency": { | |
"unit": "s", | |
"count": 167, | |
"total": 1.0001633026599877, | |
"mean": 0.0059890018123352606, | |
"stdev": 0.0011294697436591095, | |
"p50": 0.005763226985931396, | |
"p90": 0.006660318374633789, | |
"p95": 0.007776003313064575, | |
"p99": 0.008240156316757206, | |
"values": [ | |
0.006149787902832032, | |
0.006040027141571045, | |
0.00608594799041748, | |
0.006066907882690429, | |
0.00602642822265625, | |
0.006041788101196289, | |
0.005999867916107178, | |
0.005973466873168945, | |
0.005977628231048584, | |
0.005965307235717774, | |
0.005885147094726563, | |
0.0058824272155761715, | |
0.005881785869598389, | |
0.00587442684173584, | |
0.005864346981048584, | |
0.005897946834564209, | |
0.005861786842346192, | |
0.005919227123260498, | |
0.005868506908416748, | |
0.005924827098846436, | |
0.00586914587020874, | |
0.0059061069488525395, | |
0.005881786823272705, | |
0.005940826892852783, | |
0.005915067195892334, | |
0.005927387237548828, | |
0.017285520553588868, | |
0.0038998579978942872, | |
0.0038777780532836914, | |
0.003886257886886597, | |
0.0038780970573425292, | |
0.0038910579681396486, | |
0.005644186019897461, | |
0.005943067073822021, | |
0.0059208269119262694, | |
0.005648985862731933, | |
0.005609786033630371, | |
0.005673625946044922, | |
0.005647386074066162, | |
0.005630266189575195, | |
0.0056659460067749025, | |
0.005624664783477783, | |
0.005631225109100342, | |
0.00561762523651123, | |
0.005624505996704101, | |
0.0057345871925354, | |
0.00578610610961914, | |
0.00579570722579956, | |
0.00576738691329956, | |
0.005716986179351806, | |
0.005890107154846192, | |
0.00571634578704834, | |
0.005763226985931396, | |
0.005735866069793701, | |
0.005752507209777832, | |
0.005712985992431641, | |
0.00573410701751709, | |
0.005746426105499268, | |
0.005726746082305908, | |
0.005688025951385498, | |
0.005618905067443848, | |
0.005610424995422364, | |
0.005604825973510742, | |
0.005672986030578613, | |
0.0057587471008300785, | |
0.005728186130523682, | |
0.005812507152557373, | |
0.005701786041259766, | |
0.00579362678527832, | |
0.00571682596206665, | |
0.005759067058563232, | |
0.005732346057891846, | |
0.00573682689666748, | |
0.0057709059715271, | |
0.005722267150878906, | |
0.005774265766143799, | |
0.005981307983398437, | |
0.005826745986938477, | |
0.005738105773925781, | |
0.0058254671096801755, | |
0.005780186176300049, | |
0.005836027145385742, | |
0.0057611470222473146, | |
0.005827227115631104, | |
0.005693305969238281, | |
0.005738105773925781, | |
0.0057472271919250485, | |
0.005665145874023438, | |
0.005756986141204834, | |
0.005719226837158203, | |
0.005651706218719482, | |
0.005646905899047852, | |
0.005659706115722656, | |
0.005654426097869873, | |
0.005644346237182617, | |
0.0056592259407043455, | |
0.005658745765686035, | |
0.005666265964508057, | |
0.005665145874023438, | |
0.0056733059883117675, | |
0.005663705825805664, | |
0.005642906188964843, | |
0.005656025886535645, | |
0.005653145790100097, | |
0.00899636173248291, | |
0.00572114610671997, | |
0.005634265899658203, | |
0.005747226238250733, | |
0.00562914514541626, | |
0.005670745849609375, | |
0.005635385036468506, | |
0.005655704975128174, | |
0.005646265029907226, | |
0.005642745018005371, | |
0.005637945175170899, | |
0.005653145790100097, | |
0.005904667854309082, | |
0.005949467182159424, | |
0.005985948085784912, | |
0.005931706905364991, | |
0.0057997069358825684, | |
0.005806746006011963, | |
0.005705307006835938, | |
0.005810585975646973, | |
0.005717785835266114, | |
0.005795866012573242, | |
0.005739225864410401, | |
0.005660185813903809, | |
0.005635066032409668, | |
0.005650906085968017, | |
0.005612986087799072, | |
0.005615386009216308, | |
0.005814266204833984, | |
0.00592402696609497, | |
0.0059251470565795895, | |
0.005898587226867676, | |
0.005912347793579102, | |
0.00575506591796875, | |
0.005718905925750733, | |
0.005776185989379883, | |
0.005742586135864257, | |
0.005923867225646973, | |
0.005668826103210449, | |
0.005782906055450439, | |
0.006763230800628662, | |
0.00771827507019043, | |
0.007769956111907959, | |
0.007731075763702393, | |
0.007769956111907959, | |
0.007778594970703125, | |
0.007768354892730713, | |
0.007782276153564453, | |
0.007768196105957031, | |
0.007778756141662598, | |
0.007788196086883545, | |
0.00781027603149414, | |
0.007801476001739502, | |
0.007850595951080322, | |
0.007751235961914063, | |
0.006591710090637207, | |
0.005904666900634766, | |
0.005917625904083252, | |
0.005969626903533936, | |
0.005936986923217773, | |
0.005873947143554687, | |
0.005907707214355469, | |
0.005894267082214356 | |
] | |
}, | |
"throughput": { | |
"unit": "samples/s", | |
"value": 166.9727329085705 | |
}, | |
"energy": null, | |
"efficiency": null | |
} | |
} | |
} |