New Tool Radar

Local AI

Check Whether Ollama Offloaded a Model to the GPU with ollama ps

Run ollama ps after loading a model and read the PROCESSOR column to confirm full GPU offload, a split, or CPU-only running.

Schematic with three steps: Load a model and list it; Read the PROCESSOR column; Cross-check with nvidia-smi.

A reply from Ollama does not prove the GPU did the work: without a usable GPU, Ollama silently runs on the CPU, just slower. ollama ps shows the truth in its PROCESSOR column while the model is still loaded.

What you need

  • Ollama installed with a model already run
  • A GPU with a current driver, if GPU use is expected
  • A terminal on the same machine

Step 1: Load a model and list it

Run ollama run llama3.2 and ask one question, then in another terminal run ollama ps within about five minutes, before the model unloads. The table shows NAME, SIZE, PROCESSOR, CONTEXT, and UNTIL.

Step 2: Read the PROCESSOR column

100% GPU means the whole model is in VRAM. A split such as 30%/70% CPU/GPU means part of the model spilled to the CPU because it did not fit. 100% CPU means Ollama found no usable GPU at all.

Step 3: Cross-check with nvidia-smi

Run nvidia-smi –query-gpu=name,memory.used,memory.total –format=csv. Memory used should jump by roughly the model size plus KV cache when the model loads on the GPU, confirming what ollama ps reported.

Worked example: a 9B model on a 10 GB card

The table below is a synthetic example. The ollama ps row and the memory figures come from a real install report; the model is illustrative.

Check Reading Meaning
ollama ps PROCESSOR 100% GPU Fully on the GPU
nvidia-smi Memory used up about 6.7 GB Model plus KV cache in VRAM
Speed Eval rate about 94 tokens/s GPU-speed generation

Expected result (UNTESTED). ollama ps shows 100% GPU and nvidia-smi shows VRAM use rising by about the model size. This check was not run live; the readings come from the cited install guides.

Limits

  • The model unloads after about five minutes idle, so check promptly.
  • A CPU/GPU split is slower than full GPU offload; a smaller model or quant fixes it.
  • 100% CPU with a GPU present usually means an old driver or too little VRAM.
  • VRAM used exceeds the model file size because KV cache and working buffers add to it.

Sources

See all