Ollama Not Using GPU? How to Fix CPU Fallback (Windows, Linux, Docker)

Diagnostic flowchart for resolving Ollama out-of-memory errors and GPU CPU-fallback issues

Quick Diagnosis: Run ollama ps during generation. If the processor column shows 100% CPU even though your laptop has a dedicated GPU, Ollama failed to initialize CUDA or ROCm and silently fell back to CPU inference. Seeing Ollama not using GPU (or watching nvidia-smi sit at 0% utilization while responses trickle out slowly) is one … Read more