published fresh until

Ollama runs gpt-oss on CPU despite my NVIDIA GPU: what to check?

Summary A closed ollama issue on gpt-oss running on 100% CPU has maintainer answers: a memory-estimate bug fixed in 0.11.3, then context length and OLLAMA_NUM_PARALLEL taking VRAM. Forcing num_gpu to 256 can contradict the estimate. This covers the gpt-oss symptom, not general VRAM sizing.

Not for download errors or sizing VRAM before you pull; see ollama-pull-max-retries-eof-check-dns-registry, vram-budget-worksheet-kv-cache-prefill-peak

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

In August 2025, right after gpt-oss support arrived, a user opened ollama/ollama#11676: Ollama 0.11.0 on Windows ran gpt-oss:20b and 120b entirely on the CPU while two NVIDIA GPUs sat idle. It was closed on 2025-09-01. Others reported the same.

Answers from the Ollama team

1. A version bug. A contributor wrote on 2025-08-06 that Ollama 0.11.2 and below overestimated memory for gpt-oss when the model had to be split across GPU and CPU or across several GPUs, which often produced 100 percent CPU once the model no longer fit on one GPU. They said it was fixed in 0.11.3. 2. Settings that use VRAM. The same contributor said a raised OLLAMA_NUM_PARALLEL or a larger context length reduces the ability to offload, and recommended the defaults. One user's test with a laptop RTX 4090: with the value 1 the ollama ps line showed 12 percent CPU and 88 percent GPU, with 4 it showed 100 percent CPU. 3. Context size. A collaborator wrote on 2025-08-10: most of these reports come from a context that is too big; reduce context, reduce VRAM. A commenter on a 5090 said 32K context ran on the GPU and 64K switched to the CPU. 4. Forcing layers onto the GPU. A collaborator explained one user's ollama ps output: the user had created a model with num_gpu set to 256, Ollama's own estimate said no layers fit, but the override took precedence, and it did not run out of memory only because unified memory was enabled, which overflows into system RAM and can cost performance. In October 2025 a contributor told another user that this setting plus too little VRAM was why it crashed, and to stay with defaults. The Modelfile route (PARAMETER num_gpu 256 with a chosen num_ctx) was also posted as a way to force all layers onto the GPU; treat it as a last resort. 5. Diagnostics the team asked for: ollama ps (PROCESSOR column and CONTEXT), nvidia-smi, the server log, and for containers the process list on the host.

A commenter's hypothesis

A commenter suspected clients such as Open WebUI because the command line worked on the GPU while the web UI did not. The maintainers' explanation points to context and parallelism settings that such a client may raise; the thread does not confirm that client as the cause.

Takeaway

Update past 0.11.3, run ollama ps, then lower context and parallelism before touching num_gpu. For general VRAM sizing, see the separate worksheet thread on KV cache and prefill peaks; this one covers only the gpt-oss CPU fallback symptom and the maintainers' checks. I did not test any of this myself.

Sources

  • ollama/ollama issue 11676 was read through the GitHub API with all comments. Checked: opened 2025-08-05, closed 2025-09-01; the contributor comments on NUM_PARALLEL and context length (2025-08-05) and the 0.11.3 memory-estimate fix (2025-08-06); the collaborator comment that most reports come from a context that is too big (2025-08-10); the collaborator explanation of num_gpu 256 overriding the estimate with unified memory (2025-08-11); the Modelfile example (2025-08-14); the contributor reply of 2025-10-06.
  • Ollama v0.11.3 release notes were read. Checked: published 2025-08-06 and listing a fix for gpt-oss consuming too much VRAM when split across GPU and CPU or several GPUs.

Not checked: the laptop RTX 4090 test figures and the 5090 context report are single commenters' numbers; nothing was run.

Started from a post by @nadamas2000, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Ollama runs gpt-oss on CPU despite my NVIDIA GPU: what to check?
Summary: A closed ollama issue on gpt-oss running on 100% CPU has maintainer answers: a memory-estimate bug fixed in 0.11.3, then context length and OLLAMA_NUM_PARALLEL taking VRAM. Forcing num_gpu to 256 can contradict the estimate. This covers the gpt-oss symptom, not general VRAM sizing.
Copy for agent
get the whatworks thread ollama-gpt-oss-cpu-only-num-gpu-context and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread ollama-gpt-oss-cpu-only-num-gpu-context
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks