tag:github.com,2008:https://github.com/ollama/ollama/releases

Release notes from ollama

2026-10-21T14:45:50Z tag:github.com,2008:Repository/658928958/v0.40.8-rc0 2026-10-21T14:45:50Z

v0.40.8-rc0: mlx: add Flint model support (#19181)

<p>Preserve source tool JSON alongside decoded API values so Flint can retain<br> numeric types and schema order in prompts. Existing API marshaling is unchanged.</p> <p>Assemble ModelOpt expert banks during safetensors import, and reject direct<br> Flint NVFP4 creation before conversion. Other models retain their existing<br> import and quantization paths.</p> <p>Add optional learned sinks and device causal masks to shared MLX attention.<br> Existing callers retain the no-sink and host-mask paths; Flint opts into the<br> new behavior.</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.7 2026-10-21T04:01:19Z

v0.40.7

<h2>What's Changed</h2> <ul> <li><a href="https://ollama.com/library/pplx-decider" rel="nofollow">pplx-decider</a> is a 27B decision model from Perplexity, fine-tuned from<br> Qwen3.8-27B</li> <li>Continuing an OpenAI-compatible Responses conversation no longer fails when switching between models with and without<br> thinking, or when the history contains another provider's compaction items</li> <li>Fixed streaming Responses requests where client tool calls (e.g. Codex with web search) could emit before open<br> reasoning items, producing misordered/duplicate tool call events</li> <li>Requests routed to remote models are now cancelled on ollama.com when the client disconnects, instead of continuing<br> to run</li> <li><code>ollama show</code> now reports which renderer and parser a model uses and where its chat template comes from; the API<br> exposes the same values in new <code>renderer</code>, <code>parser</code>, and <code>template_source</code> fields</li> <li>More draft models now work with speculative decoding: llama-server infers the draft type automatically instead of<br> requiring Ollama to identify it</li> <li><code>ollama launch claude</code> now clamps <code>CLAUDE_CODE_AUTO_COMPACT_WINDOW</code> to Claude Code's supported range, avoiding a<br> "window too large" warning</li> <li>Updated llama.cpp and MLX</li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.6...v0.40.7"><tt>v0.40.6...v0.40.7</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.40.7-rc1 2026-10-20T21:15:15Z

v0.40.7-rc1: mlx: deduplicate CUDA runtime payloads (#17956)

<ul> <li>Deduplicate MLX CUDA runtime payloads</li> </ul> <p>Move CUDA libraries shared by the GGML and MLX backends into the sibling CUDA payload, and teach in-process and subprocess MLX loading to resolve that packaged dependency directory.</p> <p>Keep MLX-private libraries and JIT headers in the MLX overlay, include the full OpenBLAS Fortran runtime closure, and verify those dependencies in release packaging.</p> <ul> <li>address comments</li> </ul> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.7-rc0 2026-10-17T21:45:55Z

v0.40.7-rc0: mlx: add PPLX Decider v1.2 support (#19072)

<p>Implement the Qwen3.5-backed decision scorer with noncausal attention,<br> the publisher readout, image handling, and System One prompt encoding.</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.6 2026-10-17T15:29:04Z

v0.40.6

<h2>What's Changed</h2> <ul> <li>win: prevent orphaned runners by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dhiltgen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dhiltgen">@dhiltgen</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5481405150" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/18500" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/18500/hovercard" href="https://github.com/ollama/ollama/pull/18500">#18500</a></li> <li>gguf: add the q2_0 tensor and file types by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jmorganca/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jmorganca">@jmorganca</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5820499882" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/18967" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/18967/hovercard" href="https://github.com/ollama/ollama/pull/18967">#18967</a></li> <li>Launch clef in Ollama's cloud by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jberg5/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jberg5">@jberg5</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5873562470" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19036" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19036/hovercard" href="https://github.com/ollama/ollama/pull/19036">#19036</a></li> <li>use identifiers for --ask mode question keys by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jberg5/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jberg5">@jberg5</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5876036521" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19041" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19041/hovercard" href="https://github.com/ollama/ollama/pull/19041">#19041</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.5...v0.40.6-rc0"><tt>v0.40.5...v0.40.6-rc0</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.40.6-rc1 2026-10-16T22:00:17Z

v0.40.6-rc1: transfer: support proxies on registry redirect targets (#19065)

<p>Behind a proxy, defer redirect-target DNS to the proxy; without one, keep the resolve-and-pin path. Trust default-registry/CDN hostnames with no local DNS. Fix a nil CancelFunc crash in blobDownload.release.</p> pdevine tag:github.com,2008:Repository/658928958/v0.40.6-rc0 2026-10-16T01:09:41Z

v0.40.6-rc0: Merge pull request #19041 from ollama/jberg/clef-question-ids

<p>use identifiers for --ask mode question keys</p> jberg5 tag:github.com,2008:Repository/658928958/v0.40.5 2026-10-15T19:18:39Z

v0.40.5

<h2>NVIDIA Nemotron 3.5 Super</h2> <p><a href="https://ollama.com/library/nemotron-3.5-super" rel="nofollow">NVIDIA Nemotron 3.5 Super</a> is a vision-language model for coding, reasoning, tool use, and document understanding. It pairs a 120B-parameter hybrid Mamba-2/Transformer mixture-of-experts backbone (12B active per token) with a C-RADIO vision encoder, and supports tool calling, an on/off thinking mode, and context up to 1M tokens.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ollama run nemotron-3.5-super"><pre class="notranslate"><code>ollama run nemotron-3.5-super </code></pre></div> <p>A compact sibling, <a href="https://ollama.com/library/nemotron-3.5-bolt" rel="nofollow">Nemotron 3.5 Bolt</a>, distills Super down to 74B parameters (9B active) tuned to fit a 24 GB NVIDIA GPU for everyday agentic tasks, with speculative decoding via its included drafter.</p> <h2>What's Changed</h2> <ul> <li>Decision models are now available on cloud — use <code>clef:cloud</code> and <code>clef-flash:cloud</code> to run decision models through ollama.com cloud without pulling them locally</li> <li>Continuing an OpenAI-compatible Responses conversation that includes custom tool calls no longer fails with an error</li> <li>Clearer error messages when cloud access fails: sign-in problems, payment issues in the desktop app, and upstream access errors from the ChatGPT gateway now explain what went wrong</li> <li>Updated llama.cpp (adding Nemotron 3.5 support) and MLX</li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/willietran/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/willietran">@willietran</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5837481289" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/18986" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/18986/hovercard" href="https://github.com/ollama/ollama/pull/18986">#18986</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.4...v0.40.5"><tt>v0.40.4...v0.40.5</tt></a></p> github-actions[bot] tag:github.com,2008:Repository/658928958/v0.40.5-rc2 2026-10-15T16:11:12Z

v0.40.5-rc2

<p>llama.cpp: version bump b11669 (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="5869218550" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19032" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19032/hovercard" href="https://github.com/ollama/ollama/pull/19032">#19032</a>)</p> dhiltgen tag:github.com,2008:Repository/658928958/v0.40.5-rc1 2026-10-15T14:28:26Z

v0.40.5-rc1: New model... (#19030)

<ul> <li>ci: shorten Windows Vulkan build path</li> </ul> <p>Keep the nested shader-generator compiler probes below Windows path limits in checkouts with longer repository names.</p> <ul> <li>mlx: fix Nemotron bugs and support global scales</li> </ul> <p>Accept published Nemotron layer names while retaining legacy aliases, and<br> fix layer-count inference and detached MTP quantization. Stabilize Mamba<br> softplus, preserve FP32 vision normalization, and compile Mamba gate and<br> norm scaling.</p> <p>Support per-expert F32 global scales and preserve activation-scale<br> companions in ModelOpt and compressed-tensors NVFP4 imports. Normalize<br> reciprocal globals and reject invalid scales. Keep activation scales<br> separate from weight-only inference.</p> <ul> <li> <p>mlx: add Nemotron 3.5 Super</p> </li> <li> <p>minor adjustments</p> </li> </ul> dhiltgen