Ollama GPU support depends on hardware, driver version, and the model actually loaded into memory. A host can have a supported GPU and still run a specific model on CPU when memory, drivers, or container runtime settings are wrong.

Use vendor tools for the hardware check and ollama ps for the runtime check. The PROCESSOR column is the proof surface that shows whether a loaded model is on GPU, CPU, or split across both.

The campaign host showed GPU offload for the local model, but GPU-specific install and Docker commands still require matching hardware and drivers before publication-grade proof.

Steps to check Ollama GPU support:

  1. Check NVIDIA driver visibility on NVIDIA hosts.
    $ nvidia-smi
    +-----------------------------------------------------------------------------+
    | NVIDIA-SMI 570.00       Driver Version: 570.00       CUDA Version: 12.8     |
    ##### snipped #####
  2. Check AMD ROCm visibility on AMD hosts.
    $ rocminfo | grep -m1 'Name:'
      Name:                    gfx1100

    Use the driver stack recommended for the GPU family.

  3. Load a model with a short request.
    $ ollama run gpt-oss:20b "Return only OK."
    OK
  4. Check the loaded model processor column.
    $ ollama ps
    NAME           ID              SIZE     PROCESSOR    CONTEXT    UNTIL
    gpt-oss:20b    17052f91a42e    12 GB    100% GPU     131072     4 minutes from now
  5. Reduce context length or choose a smaller model if the model falls back to CPU.
    $ OLLAMA_CONTEXT_LENGTH=8192 ollama serve