AMD ROCm LLM guide: Radeon GPUs, Vulkan, Linux and Windows
By LLM Hardware team · Methodology ·
LLM Hardware team
Short answer
AMD ROCm (Radeon Open Compute) is the official compute stack for running local large language models (LLMs) on AMD Radeon graphics cards. llama.cpp can build a HIP (Heterogeneous-compute Interface for Portability) backend against ROCm, or a Vulkan backend that runs on Windows and Linux without a full ROCm install. Ollama documents a ROCm path and a Vulkan path, and it lists more Radeon cards on Linux than on Windows. vLLM also documents an official AMD ROCm install, on Linux only.
The one AMD GPU in the site catalog is the AMD Radeon RX 7900 XTX (24GB). AMD lists 24 GB of GDDR6, up to 960 GB/s of memory bandwidth, and 355 W typical board power. It appears on AMD's ROCm 10.2.0 compatibility matrix as gfx1100, on Ollama's Linux and Windows ROCm tables, and on vLLM's ROCm GPU list (RX 7900 series, gfx1100/1101).
CUDA (Compute Unified Device Architecture) remains the wider software default. The gaps below are the ones in the official docs checked on 29 November 2026, not a speed test.
For the 24 GB Radeon in the catalog, see the RX 7900 XTX LLM guide. For Ryzen AI Max+ 395 machines, see Strix Halo mini PCs. For install steps on a Linux box, see how to run LLMs on Linux. For a runtime comparison, see Ollama vs llama.cpp.
Which Radeon cards are supported
Start with the vendor list for the tool you will run, then confirm the card on AMD's live matrix.
AMD's ROCm 10.2.0 compatibility matrix (dated 26 August 2026, applies to Linux and Windows) includes AMD Radeon RX 7900 XTX (gfx1100), RX 7900 XT, RX 7900 GRE, RX 7800 XT, RX 7700 XT, RX 7700, RX 7600, and Radeon RX 9000-series cards such as the RX 9070 XT and RX 9070 (gfx1200/gfx1201 in the same list). The matrix is a selector, so open it and pick your operating system before you treat a card as supported on both Linux and Windows. If a GPU is not on AMD's official list, AMD's install docs say it is not officially supported. Community nightlies exist under TheRock; those are not the official ROCm release.
Ollama, in its hardware support doc, requires the AMD ROCm v7 driver on Linux (via amdgpu-install) and an AMD ROCm v7 / HIP7-capable driver stack on Windows. The Linux table is the longer one. It includes Radeon RX 7900 XTX, 7900 XT, 7900 GRE, 7800 XT, 7700 XT, 7700, 7600 XT, 7600, several 6900/6800-series cards, the RX 9070 family, Radeon PRO W7900-class cards, Ryzen AI Max+ 395 and related accelerated processing units (APUs), and Instinct MI300/MI350-class accelerators. The Windows table is shorter: RX 7900 XTX, 7900 XT, 7900 GRE, 7800 XT, 7700 XT, 7600 XT, 7600, and a short Radeon PRO W7900-to-W7500 list. It does not list the RX 9070 family or the Ryzen AI Max parts on Windows.
Ollama also documents HSA_OVERRIDE_GFX_VERSION on Linux if you need to try a nearby LLVM target for an unofficial card, with a warning that ROCm does not support every GPU. llama.cpp's HIP build notes say the same override is not supported on Windows.
vLLM says it supports AMD GPUs with ROCm 6.3 or above. The requirements list includes MI200s (gfx90a), MI300 (gfx942), MI350 (gfx950, which needs ROCm 7.0 or above), Radeon RX 7900 series (gfx1100/1101), Radeon RX 9000 series (gfx1200/1201), and Ryzen AI MAX / AI 300 Series (gfx1151/1150, which need ROCm 7.0.2 or above). vLLM's GPU page lists the operating system as Linux and says vLLM does not support Windows natively.
llama.cpp does not publish its own product-name table. The HIP build uses GPU_TARGETS such as gfx1100, and the build doc says gfx1100 corresponds to Radeon RX 7900 XTX, XT and GRE. Confirm your target with rocminfo.
The catalog product for this page is AMD Radeon RX 7900 XTX (24GB), ASIN B0BR6HZZ6Z. Amazon links on this site use the tag llmhardware20-20. Other Radeon names above are from the official support lists, not additional catalog buy-now items.
Check AMD Radeon RX 7900 XTX (24GB) on Amazon
ASIN B0BR6HZZ6Z. Amazon Associates link. The live price is on that page, not locked in here.
ROCm versus Vulkan in llama.cpp, Ollama and LM Studio
ROCm is AMD's native compute stack (HIP on the llama.cpp side). Vulkan is a cross-vendor graphics and compute API. On a supported card, ROCm is the path the AMD and Ollama docs describe first. Vulkan is the fallback when ROCm has no official target, or when you want a build that does not depend on a full ROCm install.
llama.cpp. The official build guide has a HIP section ("GPU acceleration on HIP-supported AMD GPUs") that requires ROCm, with CMake examples for Linux (-DGGML_HIP=ON) and Windows (same flag, gfx1100 in the example). It also has a Vulkan section for Windows and Linux (-DGGML_VULKAN=ON). You can build more than one backend at once and pick a device at run time with --list-devices and --device. HIP_VISIBLE_DEVICES selects HIP GPUs.
Ollama. Official support is split the same way. The ROCm tables above are the named-card lists. Additional GPU support on Windows and Linux is provided through Vulkan, and the hardware page says Vulkan is enabled by default when the backend is installed. On Windows, vendor drivers usually already include Vulkan. On Linux you may need extra packages, and the ollama user may need to be in the render group. If Vulkan is unstable, set OLLAMA_VULKAN=0 or GGML_VK_VISIBLE_DEVICES=-1. To pick specific Vulkan devices, set GGML_VK_VISIBLE_DEVICES to numeric IDs. To pick ROCm devices, set ROCR_VISIBLE_DEVICES.
On mixed integrated and discrete GPU systems, Ollama's Vulkan section says to keep Vulkan enabled and point GGML_VK_VISIBLE_DEVICES at the discrete GPU, for example 1 when Vulkan1 is the discrete card.
LM Studio. The official system requirements page (checked 29 November 2026) lists macOS on Apple Silicon, and Windows and Linux on x64 and ARM, and it recommends at least 4 GB of dedicated VRAM on Windows. That page does not name a ROCm or Vulkan backend. This guide does not invent one. Check the current LM Studio docs or the in-app runtime list for the backend that is installed.
Linux versus Windows
Linux is the more complete AMD path in every official doc checked today.
- AMD publishes the ROCm compatibility matrix for Linux and Windows, but the install guides and package flows are still centered on Linux distributions.
- Ollama requires ROCm v7 on Linux and a ROCm v7 / HIP7-capable stack on Windows, and it lists fewer Windows cards.
- llama.cpp documents HIP and Vulkan builds for both operating systems, and it states that
HSA_OVERRIDE_GFX_VERSIONis not supported on Windows. - vLLM's GPU install page names Linux as the OS and says there is no native Windows support. The documented Windows option is WSL, or a community-maintained fork, which is not an official vLLM build.
If you are choosing an OS for a Radeon LLM box, Linux matches the official ROCm, Ollama and vLLM docs more closely. Windows can still run Ollama's listed ROCm cards, or the Vulkan backend, and it can run a llama.cpp HIP or Vulkan build.
What a 24 GB Radeon holds, and where CUDA still leads
VRAM fit uses the same site formula as the other guides, from the methodology page:
GB = parameters in billions x bytes per parameter x 1.2 + 2
The 1.2 factor and the 2 GB reserve are a site assumption for modest context, about 4K to 8K tokens. Q4 is 0.5 bytes per parameter. Q8 is 1.0. This is arithmetic, not a measured tokens-per-second result.
| Model size and quant | Site formula (GB) | RX 7900 XTX (24 GB) |
|---|---|---|
| 8B Q4 | 8 x 0.5 x 1.2 + 2 = 6.8 | Fits |
| 14B Q8 | 14 x 1.0 x 1.2 + 2 = 18.8 | Fits |
| 32B Q4 | 32 x 0.5 x 1.2 + 2 = 21.2 | Tight (21.2 GB of 24 GB) |
| 32B Q8 | 32 x 1.0 x 1.2 + 2 = 40.4 | Does not fit |
| 70B Q4 | 70 x 0.5 x 1.2 + 2 = 44 | Does not fit |
A single 24 GB card is in the same capacity class as a 24 GB NVIDIA card. The differences are in software, not in the formula.
Documented gaps versus CUDA, as of 29 November 2026:
- Ollama's NVIDIA table runs from older compute-capability 5.0 cards through the RTX 50 series, on the platforms Ollama supports. The official AMD ROCm table is a named-card list, and the Windows list is shorter than the Linux list.
- llama.cpp's experimental
--split-mode tensoris documented as a good fit for multiple NVIDIA GPUs on the CUDA backend, with no guarantees otherwise. Multi-GPU AMD users should treatlayeras the supported llama.cpp path unless they have verifiedtensoron their cards. - vLLM supports AMD on Linux through official ROCm wheels and Docker images, and it still does not support Windows natively. The CUDA path is the one most vLLM examples assume.
- LM Studio's public system-requirements page does not describe an AMD-specific backend, so this guide does not claim feature parity there.
None of those points is a claim that a given model is slower on Radeon. This site does not invent benchmark numbers.
FAQ
Does the RX 7900 XTX work with ROCm for local LLMs?
Yes, on the official lists checked today. AMD's ROCm 10.2.0 matrix includes AMD Radeon RX 7900 XTX (gfx1100). Ollama lists it on both Linux and Windows ROCm tables. vLLM lists the Radeon RX 7900 series (gfx1100/1101). llama.cpp's HIP example uses gfx1100 for the 7900 XTX, XT and GRE.
Should I use ROCm or Vulkan?
Use ROCm when your card is on the official ROCm or Ollama ROCm list and you can install the required driver. Use Vulkan when the card is missing from that list, when a ROCm install is not available, or when you want llama.cpp or Ollama to run through the Vulkan backend. Ollama enables Vulkan by default when that backend is installed.
Does ROCm work on Windows for these tools?
In part. Ollama documents a ROCm v7 / HIP7-capable Windows stack and a shorter card list than Linux. llama.cpp documents a Windows HIP build. vLLM does not support Windows natively. AMD's compatibility matrix applies to Linux and Windows, but you should confirm your card and OS on the live selector.
Does vLLM run on AMD GPUs?
Yes, on Linux, with ROCm 6.3 or above, including the RX 7900 series. Install from the official vLLM ROCm wheels or Docker images. It does not run natively on Windows.
How much VRAM does a 32B Q4 model need on a 24 GB Radeon?
32 x 0.5 x 1.2 + 2 = 21.2 GB by the site formula, which is tight on 24 GB at about 4K to 8K context.
Is Strix Halo the same as a Radeon RX card?
No. Strix Halo is the Ryzen AI Max+ 395 class of integrated graphics, covered in the Strix Halo mini PCs guide. Ollama lists Ryzen AI Max+ 395 on its Linux ROCm table. It is not in the Windows ROCm table.
SOURCES
| # | URL | Claim it supports | Date checked (ET) |
|---|---|---|---|
| 1 | https://rocm.docs.amd.com/en/latest/compatibility/compatibility-matrix.html | ROCm 10.2.0 compatibility matrix, applies to Linux and Windows, includes RX 7900 XTX (gfx1100) and RX 9000-series parts | 2026-11-29 |
| 2 | https://github.com/ggml-org/llama.cpp/blob/master/docs/build.md | llama.cpp HIP build on Linux and Windows (gfx1100 = 7900 XTX/XT/GRE), Vulkan build on Windows and Linux, HSA_OVERRIDE_GFX_VERSION not supported on Windows, multi-backend builds, --list-devices | 2026-11-29 |
| 3 | https://github.com/ollama/ollama/blob/main/docs/gpu.mdx | Ollama ROCm v7 on Linux, ROCm v7 / HIP7 on Windows, Linux and Windows card tables, Vulkan default, ROCR_VISIBLE_DEVICES, GGML_VK_VISIBLE_DEVICES, OLLAMA_VULKAN=0 | 2026-11-29 |
| 4 | https://docs.vllm.ai/en/stable/getting_started/installation/gpu/ | vLLM GPU install: Linux only, no native Windows, AMD ROCm tab | 2026-11-29 |
| 5 | https://raw.githubusercontent.com/vllm-project/vllm/main/docs/getting_started/installation/gpu.rocm.inc.md | vLLM supports AMD GPUs with ROCm 6.3+; RX 7900 series gfx1100/1101; RX 9000 series; official ROCm wheels and Docker | 2026-11-29 |
| 6 | https://raw.githubusercontent.com/vllm-project/vllm/main/docs/getting_started/installation/gpu.md | vLLM OS is Linux; no native Windows support; WSL or a community fork | 2026-11-29 |
| 7 | https://www.amd.com/en/products/graphics/desktops/radeon/7000-series/amd-radeon-rx-7900xtx.html | RX 7900 XTX: 24 GB GDDR6, up to 960 GB/s memory bandwidth, 355 W typical board power | 2026-11-29 |
| 8 | https://lmstudio.ai/docs/app/system-requirements | LM Studio OS matrix and 4 GB dedicated VRAM recommendation on Windows; no ROCm or Vulkan backend named on this page | 2026-11-29 |
| 9 | https://github.com/ggml-org/llama.cpp/blob/master/docs/multi-gpu.md | llama.cpp tensor split: good fit for multiple NVIDIA GPUs on CUDA, no guarantees otherwise | 2026-11-29 |
| 10 | https://llmhardware.io/methodology | Site formula GB = params x bytes per param x 1.2 + 2 | 2026-11-29 |
| 11 | https://llmhardware.io/hardware | Catalog entry: AMD Radeon RX 7900 XTX (24GB) | 2026-11-29 |