Executable programs and extensions
Last updated
Local AI with ROCm and Radeon: Reading Support Combinations and Runtime Paths
Check Radeon support across the GPU, operating system, and ROCm combination
ROCm1 is a software stack for computing AI workloads on AMD GPUs. It connects drivers, runtimes, libraries, and frameworks such as PyTorch2 to run image-generation or language-model tasks. Find a supported combination for your GPU3 and operating system, then choose the app’s installation path.
To run PyTorch image workloads on a Radeon, match the operating system and application as well as the GPU model. This guide first checks one supported combination, then tests the connection with a small workload.
Distinguish the ROCm stack from HIP porting
ROCm includes drivers, runtimes, compilers, math libraries, and framework integration. Image generation with PyTorch requires a compatible PyTorch build, ROCm version, and GPU kernels. Install a version combination listed in the official support matrix.
HIP4 is a C++ runtime5 API6 and GPU kernel7 language. Use HIPIFY8 to convert supported CUDA9 source calls to HIP, build for AMD, and connect libraries such as cuBLAS to their ROCm counterparts. After building, test an input and inspect the output and errors.
- AMD HIP porting guide
- AMD HIPIFY documentation
- GGUF vs MLX: which model format should you download?
- When PyTorch seems to use the CPU despite an NVIDIA GPU
- Do you need an NVIDIA GPU and CUDA for local AI?
- Which local LLM app or serving engine should you start with?
- If you port CUDA code to AMD, will it run just as fast?

Find the product family and complete software combination in the support matrix
AMD provides separate support paths for Radeon, Instinct, and Ryzen APUs. Find consumer Radeon cards in the ROCm on Radeon matrix; for data-center Instinct, check the server distribution, kernel, and software combination. Select the device, then follow the release listed for its product family and OS.
The latest AMD ROCm Core SDK is 10.1.0 and provides an integrated compatibility matrix. Find a row that supports your GPU, operating system, driver, kernel, ROCm, and framework together. Match the version in app installation instructions such as PyTorch to that row, then run the documented command.

Choose the Windows, WSL, or Linux path based on the app
On Linux, install a supported distribution, kernel, and driver combination. For native Windows PyTorch and WSL, follow the support scope and configuration documented for each. The WSL path may include a ROCDXG setup between the Windows host and Linux guest. Choose an OS/GPU combination supported by the app’s installation procedure.
When using Docker, prepare the host driver and pass the GPU into the container as described in the official container guide. Check that the device is visible inside the container, then install libraries and the model to isolate environment issues step by step.

Read PyTorch’s cuda naming together with the actual build
PyTorch ROCm retains the torch.cuda namespace and "cuda" device label so existing APIs and code can be reused. To check whether the installed build uses ROCm, inspect torch.version.hip too; this value indicates whether the framework is built for the AMD HIP runtime.
If PyTorch cannot find the GPU, check the installed build, supported combination, and device connection in sequence. If the GPU is detected but one app fails, look in its logs for a required operation or extension package. Complete a small basic PyTorch operation, then test app features one at a time to locate the failure.
Vulkan is a separate backend from ROCm
llama.cpp provides a Vulkan backend for Radeon GPUs. Match the Vulkan driver and llama.cpp build options, then run the model using the app’s Vulkan instructions. Configure PyTorch image workloads that use ROCm through their separate execution path.
Run a small GGUF10 chat and PyTorch image workload to completion to check each feature. When comparing backend speed, use the same model, quantization11, and input conditions.
Run a small workload to completion before buying
If you already have a Radeon, prepare the app and model using a support-matrix installation path, then complete a small image workload through saving the output. Reopen the app, repeat the same input, and record quality, memory, and run time. When choosing a new GPU, select the model and app first, then compare VRAM12 and power requirements for supported cards.
When considering a combination absent from official documentation, plan for community configuration and maintenance work together. To reduce that burden, choose another GPU or backend officially supported by the app.
Terminology notes
ROCm — AMD’s software platform for AI and high-performance computing on GPUs. Support depends on the combination of GPU, operating system, driver, and framework versions.
Back to the textPyTorch — A software framework for building and running AI models. Check the compatible PyTorch version and hardware support along with the model.
Back to the textGPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.
Back to the textHIP — An API and runtime for portable GPU C++ code. It helps with porting CUDA code.
Back to the textRuntime — The software environment that provides facilities needed while a program runs. In local AI, it can also refer to a model execution engine.
Back to the textAPI — A defined interface that lets other code call a program’s functions.
Back to the textGPU kernel — Code executed in parallel on a GPU to perform operations such as matrix multiplication or normalization.
Back to the textHIPIFY — Tools that translate CUDA source constructs and API calls into HIP. Builds, correctness checks, and performance tuning may still be needed after conversion.
Back to the textCUDA — A software platform for general-purpose computing on NVIDIA GPUs.
Back to the textGGUF — A file format for model data, widely used by llama.cpp-based tools.
Back to the textQuantization — A way to represent model weights or values with fewer bits, reducing storage and memory use. The coarser representation can also affect accuracy.
Back to the textVRAM — Memory used by a graphics card’s GPU to store model weights and intermediate values.
Back to the text
Frequently asked questions
- What should you check first in this article?
- ROCm is a software stack for computing AI workloads on AMD GPUs. It connects drivers, runtimes, libraries, and frameworks such as PyTorch to run image-generation or language-model tasks. Find a supported combination for your GPU and operating system, then choose the app’s installation path.
Read next
Model setup recipes
Install PyTorch ROCm on AMD Radeon and verify GPU operation
Executable programs and extensions
If you port CUDA code to AMD, will it run just as fast?
Executable programs and extensions
Do you need an NVIDIA GPU and CUDA for local AI?
Executable programs and extensions
How to Back Up and Restore a Local LLM You Already Use
