What happens when Ollama runs out of VRAM? The offload cliff
What happens when Ollama runs out of VRAM? It splits the model by layers — fitted layers stay on GPU, the rest run on CPU, and ollama ps prints the split. Fixes: smaller quant, model, context.
What happens when Ollama runs out of VRAM? It never refuses — it splits the model by layers. Whatever fits stays on the GPU, the rest runs on the CPU, and speed falls with every layer that crosses. ollama ps shows the split in one line; 100% GPU means it fits.
A model that half-fits is the worst deal on the shelf: all of the VRAM bought, none of the speed delivered.
What does offload actually mean?
Offloading is a speed decision, not a correctness one. The output is the same. The time it takes to arrive is not.
the only ollama ps line that means fully fitted. Check the split before you check the clock.
How do I see the split?
One command:
$ ollama psNAME SIZE PROCESSOR UNTILd3:2b 4.6 GB 100% GPU 4 minutes from nowd3:4b 8.1 GB 38%/62% CPU/GPU 4 minutes from now
A mixed line reads CPU-share first: 38%/62% CPU/GPU is more than half the model on CPU, however fast the card. The load log prints the same — how many layers were offloaded.
The fixes, ranked
| fix | cost | when it wins |
|---|---|---|
| smaller quant — Q8_0 → Q4_K_M roughly halves the weights | some quality, usually the least-trafficked digits | you are a few hundred MB over the line |
| smaller model — one rung down the family | capability, honestly lost | the split is a third or more of the model |
shorter context — num_ctx back down | documents you can work with at once | the slowdown started with a context bump |
Ranked by what they cost: a quant step is usually cheapest, a model step the honest one, a context step free if you never needed the window.
where these receipts come from
- read-from-record — receipts from our 2026-10-24 CPU bench ledger, the library size rungs,
ollama pson this box; no new bench today - receipts: our 2026-10-24 CPU bench ledger · Ollama library size rungs ·
ollama psoutput on this box - processor lines and fix ladder read from the record verbatim — no new bench