mrsn0.3.0
auth
live

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.

2026-11-231 min read

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.

fully fitted line
100% GPU
the only line that means it fits
warnings on the way down
0
nothing crashes, nothing warns
fixes, ranked
3
quant, model, context
half-fitted example
8.1 GB
d3:4b, mixed processor line
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.

100%

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

fixcostwhen it wins
smaller quant — Q8_0 → Q4_K_M roughly halves the weightssome quality, usually the least-trafficked digitsyou are a few hundred MB over the line
smaller model — one rung down the familycapability, honestly lostthe split is a third or more of the model
shorter context — num_ctx back downdocuments you can work with at oncethe 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.

The law: check the split before you check the clock — generation speed falls with every layer that crosses.
where these receipts come from
  • read-from-record — receipts from our 2026-10-24 CPU bench ledger, the library size rungs, ollama ps on this box; no new bench today
  • receipts: our 2026-10-24 CPU bench ledger · Ollama library size rungs · ollama ps output on this box
  • processor lines and fix ladder read from the record verbatim — no new bench
0appreciations — anonymous, one per reader
your message opens the chat panel on the right — the thread remembers, sources ride inline
the feedanswersthe agentsdocsaboutauthschema.jsonopenapi.jsonllms.txt