New Tool Radar

Local AI

How to Run a Local Model on an AMD GPU with ROCm on Linux

Check the AMD GPU with rocminfo, install the ROCm stack Ollama needs, and confirm the model loads on the GPU with ollama ps.

Schematic diagram with three steps: check the AMD GPU with rocminfo, install the ROCm stack, and confirm the model runs on the GPU.

AMD GPUs can run local models, but the path is narrower than NVIDIA’s: the GPU must be one Ollama’s ROCm build supports, and the ROCm runtime must be installed before Ollama can use it. Installing the driver alone is not proof of acceleration — the chain is driver, runtime, Ollama backend, and finally the model actually occupying VRAM.

Related guide: How to Check Whether Ollama Is Using the GPU or CPU

Check the card, then install ROCm

Start with an inventory: lspci | grep -Ei 'vga|3d|display' shows the card, and rocminfo shows whether the ROCm runtime sees it. The Ubuntu guide quoted here says a supported AMD GPU needs the ROCm v7 stack required by current Ollama documentation, verified with rocminfo. If rocminfo fails, stop: Ollama will fall back to the CPU, and no model setting fixes a missing runtime. If your card is not supported, the same guide suggests a documented Vulkan path — for example through KoboldCpp with --usevulkan — but warns not to treat it as guaranteed support.

Prove the GPU is doing the work

Start Ollama, run a model, and check ollama ps: the PROCESSOR column should show the GPU, not 100% CPU. Watch VRAM while the model loads with rocm-smi --showmeminfo vram or amd-smi monitor. If the model loads on the CPU, read the server log for the inference-compute line, which names the hardware Ollama actually found at startup.

Expected result. We checked the Ollama FAQ for the GPU docs pointer and the linked Ubuntu guide for the ROCm v7 stack, rocminfo, and the Vulkan fallback. We did not run this software ourselves for this guide, so no output here is a recorded result; steps marked UNTESTED were checked against the sources below, not run.

Limits

ROCm support depends on the exact GPU model and the Ollama version — a card that works in one release may not in another, and Windows support for AMD lags Linux. The ROCm version named here is from a secondary guide, not from Ollama’s own docs page, so check the current Ollama GPU docs for your card before installing. We did not run Ollama on AMD hardware.

Sources

Checked 2026-11-28.

See all