Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
rocm: doc driver constraints (#14833)
Daniel Hiltgen2f9a68f9e924
diff --git a/docs/gpu.mdx b/docs/gpu.mdxindex e129cdce2..e1009e365 100644--- a/docs/gpu.mdx+++ b/docs/gpu.mdx@@ -61,6 +61,10 @@ Ollama supports the following AMD GPUs via the ROCm library:### Linux Support+Ollama requires the AMD ROCm v7 driver on Linux. You can install or upgrade+using the `amdgpu-install` utility from+[AMD's ROCm documentation](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/).+| Family | Cards and accelerators || -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- || AMD Radeon RX | `9070 XT` `9070 GRE` `9070` `9060 XT` `9060 XT LP` `9060` `7900 XTX` `7900 XT` `7900 GRE` `7800 XT` `7700 XT` `7700` `7600 XT` `7600` `6950 XT` `6900 XTX` `6900XT` `6800 XT` `6800` `5700 XT` `5700` `5600 XT` `5500 XT` |diff --git a/docs/troubleshooting.mdx b/docs/troubleshooting.mdxindex 9083dd8c8..72a34f2cb 100644--- a/docs/troubleshooting.mdx+++ b/docs/troubleshooting.mdx@@ -114,6 +114,25 @@ If you are experiencing problems getting Ollama to correctly discover or use you- `OLLAMA_DEBUG=1` During GPU discovery additional information will be reported- Check dmesg for any errors from amdgpu or kfd drivers `sudo dmesg | grep -i amdgpu` and `sudo dmesg | grep -i kfd`+### AMD Driver Version Mismatch++If your AMD GPU is not detected on Linux and the server logs contain messages like:++```+msg="failure during GPU discovery" ... error="failed to finish discovery before timeout"+msg="bootstrap discovery took" duration=30s ...+```++This typically means the system's AMD GPU driver is too old. Ollama bundles+ROCm 7 linux libraries which require a compatible ROCm 7 kernel driver. If the+system is running an older driver (ROCm 6.x or earlier), GPU initialization+will hang during device discovery and eventually time out, causing Ollama to+fall back to CPU.++To resolve this, upgrade to the ROCm v7 driver using the `amdgpu-install`+utility from [AMD's ROCm documentation](https://rocm.docs.amd.com/projects/install-on-linux/en/latest/).+After upgrading, reboot and restart Ollama.+## Multiple AMD GPUsIf you experience gibberish responses when models load across multiple AMD GPUs on Linux, see the following guide.