Very slow responses because the model does not fit in VRAM
The model runs, but it only writes a few words per second because part of it is in normal RAM.
The message
PROCESSOR 48%/52% CPU/GPU
Affects: Ollama, LM Studio, llama.cpp, KoboldCpp, Jan, NVIDIA drivers and NVIDIA App
Why is this happening?
If a model plus its context does not fit entirely in graphics memory, layers are offloaded to the CPU, and the CPU then slows everything down. Under Windows, the NVIDIA driver can also secretly extend a full graphics memory into RAM (Sysmem Fallback). That prevents crashes, but it makes generation drastically slower.
How to fix it
- Ollama: Run
ollama ps. If the PROCESSOR column shows a CPU/GPU split instead of “100% GPU”, the model is too large. In the CONTEXT column, you can see the current context length. - Choose a smaller model size or stronger quantization (for example Q4_K_M instead of Q8_0). The model file must fit in VRAM with some room left for the conversation history; the calculator on KI-Heimlabor shows you how much a model needs.
- Lower the context length, because context also uses VRAM: in Ollama with the slider in the app settings, in LM Studio when loading the model (Context Length), in llama.cpp with
-c 8192. - LM Studio, llama.cpp, KoboldCpp: Set the GPU layers (GPU Offload,
-ngl, GPU Layers) so the model fits completely in VRAM without going beyond it. For MoE models in llama.cpp, you can use--n-cpu-moe Nto put only expert weights on the CPU. - Close other programs that use VRAM (games, browsers with hardware acceleration, image generators).
- NVIDIA on Windows, for llama.cpp or LM Studio: NVIDIA Control Panel → Manage 3D Settings → Program Settings → Add a program (the program's .exe) → set “CUDA - Sysmem Fallback Policy” to “Prefer No Sysmem Fallback” → Apply. Then, if you have too little VRAM, you'll get a clear error message instead of a silent slowdown.
Better not: Do not expect any speedup from more RAM alone: the model only gets really fast once it fits completely in VRAM.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- Your own ChatGPT with Ollama and Open WebUI
Run a language model locally on Windows - with the Ollama app, suitable models for 8 to 24 GB, context length, command line, and Open WebUI… - LM Studio: Your First Local Chat
Install LM Studio on Windows, load a suitable language model, and chat offline, even with your own documents.
Terms for this
Similar errors
Sources
- https://docs.ollama.com/context-length
- https://docs.ollama.com/faq
- https://raw.githubusercontent.com/ggml-org/llama.cpp/master/tools/server/README.md
- https://github.com/ggerganov/llama.cpp/issues/3806
- https://nvidia.custhelp.com/app/answers/detail/a_id/5490
- https://lmstudio.ai/docs/app/advanced/per-model
- https://github.com/LostRuins/koboldcpp/wiki
Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.