Ollama Not Using GPU on Windows
Diagnose why Ollama ignores your graphics card, fix laptop dual-GPU routing, and verify CUDA 12 runtimes.
Read Diagnostic Guide →An authoritative, engineering-backed troubleshooting portal and interactive VRAM calculator for NVIDIA CUDA, AMD ROCm, slow generation latency, memory overflows, and Windows system service setup. Zero telemetry, no account required, completely local.
Select your primary symptom, graphics hardware, and when the issue occurs. Our engine generates a prioritized, safe sequence of diagnostic checks with one-click copy buttons for Windows PowerShell.
Estimate the exact VRAM and system memory required for any GGUF parameter size, quantization level, and context window.
All layers fit completely in dedicated video memory.
Four safe, tested one-liners every Windows Ollama user should keep bookmarked.
Reveals whether the active model is executing on GPU or falling back to CPU:
ollama ps
Outputs precise tokens/second for prompt eval and token generation:
ollama run llama3.2:3b --verbose "Hi"
Frees up primary C: drive by pointing models to D: drive:
[Environment]::SetEnvironmentVariable('OLLAMA_MODELS', 'D:\OllamaModels', 'User')
Stream the latest 40 lines of Ollama's Windows diagnostic log:
Get-Content "$env:LOCALAPPDATA\Ollama\server.log" -Tail 40
Tested step-by-step manuals written from real hardware experimentation in our dedicated Windows AI lab.
Diagnose why Ollama ignores your graphics card, fix laptop dual-GPU routing, and verify CUDA 12 runtimes.
Read Diagnostic Guide →Native ROCm 6.x vs Vulkan for RX 6000, 7000, and 8000 series. Configure HSA_OVERRIDE_GFX_VERSION overrides.
Read AMD Guide →Interactive tool calculating model weights, KV cache scaling, context buffer overhead, and layer offload limits.
Open Interactive Tool →Why 32k and 128k context windows crash with out-of-memory errors. Mathematical formulas and Modelfile tuning.
Read Context Guide →Diagnose prompt eval bottlenecks, memory bus limits, CPU thread thrashing, and enable Flash Attention.
Read Latency Guide →Compare Q4_K_M vs Q5_K_M vs Q8_0. Perplexity trade-offs, token accuracy, and sizing models for your GPU.
Read Quantization Guide →Head-to-head empirical tests: token generation rates, cold-start loading times, and vmmem memory consumption.
Read Benchmark Analysis →Resolve failed pulls, corrupted SHA256 blobs, unexpected EOF drops, and Windows Defender real-time locking.
Read Storage Guide →Free up C: drive by relocating your model library to a secondary SSD using OLLAMA_MODELS or NTFS junctions.
Read Drive Migration Guide →Complete manual for OLLAMA_HOST, OLLAMA_KEEP_ALIVE, OLLAMA_NUM_PARALLEL, and OLLAMA_FLASH_ATTENTION.
Read Variables Manual →Expose Ollama to phones, laptops, and tablets on home Wi-Fi with OLLAMA_HOST=0.0.0.0 and Windows Firewall rules.
Read LAN Setup Guide →Step-by-step setup using Docker Desktop (host.docker.internal) or native Python pip without network errors.
Read WebUI Guide →Our guides are written by systems engineers and tested across physical Windows 10 & 11 test benches equipped with NVIDIA RTX 4090, 4070, 3060 12GB, AMD Radeon RX 7900 XTX, and Intel Arc A770 graphics cards.
Yes. Ollama provides an official native Windows executable (Windows 10 Build 19041+ and Windows 11). It includes native CUDA 11 and CUDA 12 GPU offloading for NVIDIA, native ROCm/HIP acceleration for AMD Radeon RDNA 2/3, and SYCL/OneAPI for Intel Arc.
No. Ollama is a self-contained, compiled native Windows binary. It does not require Python, Docker Desktop, WSL, or Git to download and run models. However, if you want a ChatGPT-style web interface like Open WebUI, Docker or Python can be used to host the frontend.
This typically occurs because your display driver is outdated, the model exceeds dedicated VRAM headroom, or Windows graphics scheduling has assigned Ollama to an integrated GPU (common on gaming laptops). Review our GPU Detection Guide for the fix.
A 70B model quantized to Q4_K_M requires approximately 43 GB of memory. To run it entirely on GPU at high speeds, you need 48 GB of VRAM (e.g., dual RTX 3090/4090s). On a single GPU with 16 GB or 24 GB of VRAM, Ollama can partially offload layers to GPU and run the rest on system RAM, provided your PC has at least 64 GB of physical DDR4/DDR5 RAM.