Ollama can use the CPU when GPU discovery fails or a model won't fit in graphics memory. Run ollama ps with a model loaded: its PROCESSOR column shows CPU, GPU, or split placement before you change drivers.
For Linux NVIDIA systems that stopped using the GPU after sleep, reloading the NVIDIA UVM driver is a documented workaround. Windows, AMD, Apple, and container installations need their own checks rather than that Linux command.
In this guide
1. Read Ollama's own processor result
Load the local model you want to check and send it a prompt. While it remains loaded, open another Terminal, Command Prompt, or PowerShell window and run:
ollama ps
Look at PROCESSOR. 100% GPU means the model is loaded entirely into GPU memory. 100% CPU means it is in system memory. A split percentage means the model is loaded across both.

Those percentages tell you where the model is loaded, not how busy the GPU is at that moment. A Windows graph labeled 3D can look quiet while another kind of GPU work is happening.
For a missing Windows GPU graph, the Task Manager GPU guide explains the display separately. Don't reinstall Ollama just because a single graph doesn't climb when a response starts.
If ollama ps shows no loaded model, send another prompt and run it again promptly. Run the check on the Ollama server doing the work. A command on your laptop won't describe a model running on another computer.
2. Match the GPU and driver to the supported backend
Find your exact card model and operating system in the current hardware support list. A GPU that works in games still needs support from the software Ollama uses to run models.
For NVIDIA, the current documentation requires compute capability 5.0 or newer and driver 550 or newer. Cards with compute capability 5.0 through 6.2 require driver 570 or newer.
Compute capability is the NVIDIA GPU's hardware generation, rather than its amount of memory. Compare the exact model in the table instead of assuming a large-memory older card meets the requirement.
On Windows, use the matching supported graphics driver. The Windows driver update instructions cover Device Manager recovery if Windows reports a driver problem. Restart Ollama after changing its graphics environment.
AMD's ROCm backend, the software Ollama uses to run models on supported Radeon cards, has different Windows and Linux lists. The current requirements name ROCm v7 on Linux and a ROCm v7 / HIP7-capable Windows driver stack.
Additional Windows and Linux cards can use the Vulkan backend when installed. A card missing from the ROCm table may still work through another backend. Check the Vulkan instructions and the backend named in your logs.
On Apple devices, acceleration uses Metal, the operating system's graphics technology. Commands for NVIDIA CUDA or Linux drivers won't help with that Mac setup.
3. Remove a setting that deliberately forces CPU use
Check custom server environment variables if the machine previously ran another configuration. For NVIDIA, CUDA_VISIBLE_DEVICES controls which GPUs Ollama can see. An invalid ID such as -1 forces CPU use.
Remove an old exclusion from the environment used to start the server, then restart that server. Changing a variable only in a new command window won't reconfigure an Ollama process that is already running.
A custom OLLAMA_LLM_LIBRARY value can also stop Ollama from choosing its backend automatically. If it names a CPU library, remove that custom override before checking whether Ollama detects the GPU again.
For Vulkan, review GGML_VK_VISIBLE_DEVICES and OLLAMA_VULKAN. A value that disables Vulkan or hides all its devices can explain why that backend isn't used. Keep changes specific to the backend you actually installed.
Use the local-model laptop checklist if a model only partly fits. Try a smaller model and close other GPU-heavy work before treating split CPU/GPU placement as a broken driver.
That comparison answers a practical question: does a smaller model load fully onto the GPU on the same server? If it does, focus on available graphics memory and the larger model's settings rather than GPU detection.
4. Recover Linux NVIDIA use after suspend
Ollama's own documentation describes a Linux suspend/resume problem that can make NVIDIA detection fail and send work back to the CPU. Close GPU workloads before trying its UVM driver reload.
Run the commands in order on the Linux host:
sudo rmmod nvidia_uvm
sudo modprobe nvidia_uvm
UVM is part of the NVIDIA driver used for this memory access. If the first command says the module is in use, don't force its removal. Close the remaining workloads or reboot the PC instead.
Restart Ollama and load the model again, then check ollama ps. If the model loads onto the GPU again, that points to GPU detection failing after sleep. If it remains CPU-only, continue to the logs.
These are Linux host commands. They don't belong in Windows PowerShell or macOS Terminal, and running them inside an unrelated container doesn't repair the host driver.
5. Check GPU access inside a container
For Docker with NVIDIA, check the container runtime's GPU access on the host using the documented test:
docker run --gpus all ubuntu nvidia-smi
This can download the Ubuntu container image if it isn't present. If the test can't see the GPU, repair the host's NVIDIA container-runtime setup before changing Ollama models inside the container.
6. Read the native server logs
For Ollama installed directly on Windows, open %LOCALAPPDATA%\Ollama and read server.log. On Mac, the server log is ~/.ollama/logs/server.log. Look at the latest startup entries for errors detecting the GPU or loading its backend.
For a systemd Linux service, run journalctl -u ollama --no-pager --follow --pager-end. For Docker, use docker logs followed by your Ollama container's name. A manually started server writes logs in its terminal.
If detection still fails, file an Ollama GitHub issue with your OS, GPU, driver, app version, installation type, ollama ps result, and startup errors. Remove private prompts and account details from logs first.
The Short Version
Read ollama ps, check backend support, and remove CPU-forcing overrides. Try the documented UVM reload for Linux NVIDIA detection failures after sleep. Docker must have GPU access before Ollama can use it.
Checked December 3, 2026.







