Ollama GPU Not Recognized? 7 Fixes That Work
In this article
If Ollama says it is running on CPU or a model loads slowly despite having a capable GPU, the fix is usually one of three things: the GPU driver is missing or outdated, Ollama was installed before the driver was ready, or the GPU does not meet Ollama's supported requirements. Start by confirming Ollama can actually see the GPU with ollama ps while a model is loaded, then work through the checks below. You do not need to reinstall your operating system or wipe models to fix this.
What You'll Need
- A terminal or command prompt where you can run
ollamacommands. - Your GPU model name and the latest official driver from NVIDIA, AMD, or Intel.
- Administrator rights to install drivers and restart services.
- Enough free disk space for a model download if you need to re-pull one.
Step-by-Step
- Check what Ollama is actually using. Run a model, then in a second terminal run
ollama ps. The output includes a processor column. If it says 100% CPU, Ollama is not using the GPU. If it says GPU or a split like 70/30 CPU/GPU, the GPU is being detected but the model may be too large for VRAM. Menu labels and output wording can differ slightly by Ollama version and operating system. - Confirm your GPU is supported. Ollama officially supports NVIDIA GPUs with compute capability 5.0 or higher, AMD GPUs on its supported list (mostly recent Radeon and Instinct cards), and Apple Silicon GPUs on macOS. Very old cards, some integrated Intel graphics, and most laptop GPUs with switchable graphics are not fully supported. If your card is not on the supported list, Ollama will fall back to CPU and no driver update will change that.
- Update the GPU driver from the vendor. For NVIDIA, download the latest Game Ready or Studio driver from NVIDIA's official site. For AMD, use the official Adrenalin or Pro driver. For Intel Arc, use the official Intel driver. Do not rely on Windows Update alone, because it often installs an older driver. Reboot after installation.
- Verify the driver is visible to the system. On Windows, open Device Manager and check Display adapters. On Linux, run
nvidia-smifor NVIDIA orrocm-smifor AMD. If the command fails or the card shows an error, fix the driver before touching Ollama. - Restart the Ollama service. On Windows, quit Ollama from the system tray and start it again from the Start menu. On macOS, quit the Ollama app and reopen it. On Linux, run
sudo systemctl restart ollama. A restart is required after a driver update because the service loads GPU libraries at startup. - Reinstall Ollama if it was installed before the driver. Uninstall Ollama, reboot, then install the latest version from ollama.com. The installer detects the GPU libraries at install time, so installing it after the driver is in place avoids a common mismatch. Your downloaded models are stored separately and are not removed by a normal uninstall on most systems, but check the uninstall prompt before confirming.
- Test with a small model. Pull a small model such as
ollama pull llama3.2:1band run it. Then checkollama psagain. A small model is the cleanest test because it fits entirely in VRAM on most supported cards, so a CPU result points to detection rather than memory pressure.
Common Mistakes
- Assuming a laptop with two GPUs will use the discrete card automatically. On many laptops, Ollama picks the integrated GPU or CPU. Setting the discrete GPU as the preferred processor in the OS graphics settings can help, but support varies by laptop model.
- Updating the driver but not restarting Ollama. The service keeps using the old libraries until it restarts.
- Testing with a model larger than VRAM and concluding the GPU is not detected. Check
ollama psfor a partial GPU split before assuming failure. - Installing a driver from a third-party driver updater instead of the vendor's official download.
- Expecting a server GPU or data-center card to work without the matching vendor runtime installed.
Tips
- Keep Ollama updated. New releases add support for more GPU models, and the official release notes list which ones.
- On Linux, make sure your user is in the correct groups for GPU access and that the vendor runtime is installed before Ollama.
- If you use Docker, the container needs the GPU runtime passed through; installing the driver on the host alone is not enough.
- Close other GPU-heavy apps such as games or video editors before testing, so VRAM is free.
- Write down the exact output of
ollama psand your driver version before asking for help; it makes the problem much easier to diagnose.
Troubleshooting
If ollama ps still shows CPU after all the steps, check the Ollama server log for lines about GPU detection or CUDA/ROCm initialization. On Windows, the log is available from the tray menu; on Linux, use journalctl -u ollama. A message about a missing library or an unsupported compute capability usually means the driver or card is the problem, not Ollama.
If the GPU is detected but models run out of memory, use a smaller model or a quantized version. Ollama will offload part of the model to CPU when VRAM is short, which is slower but still works.
If you recently changed hardware, reinstall Ollama so it re-detects the GPU. If you use a virtual machine, GPU passthrough must be configured at the hypervisor level; Ollama cannot see a GPU the VM does not have.
If none of this helps, confirm your exact GPU model against Ollama's official supported-hardware documentation. If it is not listed, CPU inference is the expected behavior and there is no supported fix.
Frequently Asked Questions
Why does Ollama use CPU even though I have an NVIDIA GPU?
Usually the driver is outdated, missing, or Ollama was installed before the driver. Update the driver from NVIDIA, restart Ollama, and check ollama ps again.
Does Ollama support AMD GPUs?
Yes, but only specific recent AMD models listed in Ollama's official documentation. Older AMD cards fall back to CPU.
Can I force Ollama to use the GPU?
There is no general force switch. Ollama uses the GPU automatically when it detects a supported card and driver. If detection fails, fix the driver or hardware support instead.
Why is my GPU detected but the model still slow?
The model may be larger than your VRAM, so part of it runs on CPU. Try a smaller or more quantized model and compare ollama ps output.
Do I need to re-download models after reinstalling Ollama?
Usually not. Models are stored in a separate directory that a normal uninstall leaves in place, but confirm before deleting anything during uninstall.
Does Ollama work with integrated graphics?
Support is limited. Most integrated GPUs are not officially supported and will run on CPU.