tag:github.com,2008:https://github.com/ollama/ollama/releasesRelease notes from ollama2026-11-24T01:35:09Ztag:github.com,2008:Repository/658928958/v0.40.182026-11-24T08:27:44Zv0.40.18<h2>What's Changed</h2>
<ul>
<li>mlx: fuse Inkling residual mixing on Metal 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="6524139660" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19808" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19808/hovercard" href="https://github.com/ollama/ollama/pull/19808">#19808</a></li>
<li>mlxrunner: share tensor helpers and model setup across architectures by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jaingaurav/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jaingaurav">@jaingaurav</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="6523364325" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19805" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19805/hovercard" href="https://github.com/ollama/ollama/pull/19805">#19805</a></li>
<li>llama.cpp: version bump b12651 + remove jetpack5 support by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pdevine/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pdevine">@pdevine</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="6569399944" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19865" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19865/hovercard" href="https://github.com/ollama/ollama/pull/19865">#19865</a></li>
<li>inkling2: faster Metal decode, prefill and draft rounds 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="6549995510" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19843" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19843/hovercard" href="https://github.com/ollama/ollama/pull/19843">#19843</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.17...v0.40.18-rc0"><tt>v0.40.17...v0.40.18-rc0</tt></a></p>github-actions[bot]tag:github.com,2008:Repository/658928958/v0.40.18-rc02026-11-24T01:35:09Zv0.40.18-rc0: inkling2: faster Metal decode, prefill and draft rounds (#19843)<ul>
<li>inkling2: faster Metal decode, prefill and draft rounds</li>
</ul>
<p>Add Inkling-only Metal kernels, each with a stock-graph fallback, gated<br>
by GPU generation and size class: short BF16 products, deduplicated<br>
NVFP4/MXFP8 expert gathers with fused SwiGLU, fused loop controllers and<br>
residual mixing, relative-position split attention, fused short<br>
convolutions, faster global prefill, an ordered window cache that<br>
appends in place, and an 8-bit draft with a 4-bit vocabulary head<br>
(proposals only; outputs stay exact).</p>dhiltgentag:github.com,2008:Repository/658928958/v0.40.172026-11-21T04:05:14Zv0.40.17<h2>Inkling 2 Mini</h2>
<p><a href="https://ollama.com/library/inkling-2-mini" rel="nofollow">Inkling 2 Mini</a> from Thinking Machines is a 26B parameter model with 5.4B active.</p>
<p>Its looped layers give it more computation per token than its size suggests, and it still fits on a Mac at about 20GB. It handles text and images, tool calls, and thinking, and scores 79.2% on SWE-Bench Verified).</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ollama run inkling-2-mini"><pre class="notranslate"><code> ollama run inkling-2-mini
</code></pre></div>
<p>Note: inkling-2-mini is supported on Apple silicon only in this release. PC support will follow in an upcoming release.</p>
<h2>What's Changed</h2>
<ul>
<li>
<p><code>ollama launch claude</code> supports Claude Code's deferred tool loading, so MCP tools are loaded when needed instead of all at<br>
once</p>
</li>
<li>
<p>Ollama on Apple silicon now serves multiple requests at once.</p>
</li>
<li>
<p><code>ollama launch opencode</code> sets thinking options from the model's metadata</p>
</li>
<li>
<p><code>ollama launch pi</code> refreshes Pi's model list after sign-in and passes along prompt arguments</p>
</li>
<li>
<p><code>ollama launch chatgpt --restore</code> asks before switching an active profile and preserves existing settings and chat history;<br>
quitting ChatGPT yourself now lets it exit through its own quit prompt</p>
</li>
<li>
<p>Running <code>ollama</code> with no arguments in a non-interactive shell prints help instead of erroring</p>
</li>
<li>
<p>Ctrl+C or Ctrl+G while in a multiline <code>"""</code> block leaves multiline mode instead of swallowing the next line</p>
</li>
<li>
<p>Changing the context shift setting no longer reloads the model</p>
</li>
<li>
<p>Vulkan now uses mmap for integrated GPUs, fixing <code>Failed to allocate pinned memory</code> load failures on shared-memory GPUs</p>
</li>
<li>
<p>On Windows iGPUs, partially offloaded models no longer fail to allocate the KV cache</p>
</li>
<li>
<p>Tool definitions passed through the API keep JSON schema keywords Ollama doesn't model instead of dropping them</p>
</li>
<li>
<p>Disabling thinking now maps to the model's lowest supported reasoning level rather than being ignored</p>
</li>
<li>
<p>Source builds can use prebuilt MLX-C and XGrammar binaries</p>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.16...v0.40.17-rc3"><tt>v0.40.16...v0.40.17-rc3</tt></a></p>
</li>
</ul>github-actions[bot]tag:github.com,2008:Repository/658928958/v0.40.17-rc42026-11-20T23:04:26Zv0.40.17-rc4<p>Merge remote-tracking branch 'upstream/main' into release_v0.40.17</p>dhiltgentag:github.com,2008:Repository/658928958/v0.40.17-rc32026-11-20T18:37:07Zv0.40.17-rc3<p>mlxrunner: add Inkling 2 Mini</p>dhiltgentag:github.com,2008:Repository/658928958/v0.40.17-rc22026-11-19T23:41:42Zv0.40.17-rc2: mlxrunner: adapt saved history to memory pressure (#19678)<ul>
<li>mlxrunner: adapt saved history to memory pressure</li>
</ul>
<p>Retain Metal prefix history using observed memory headroom and execution<br>
workspace rather than a fixed 8 GiB allowance. Release unused buffers and<br>
cold history when system compression grows, preserving reusable paths and<br>
active requests.</p>
<p>Cover pressure reclamation, snapshot ownership, memory observation, and<br>
cacheless request isolation.</p>
<ul>
<li>
<p>address comments</p>
</li>
<li>
<p>address comments</p>
</li>
</ul>dhiltgentag:github.com,2008:Repository/658928958/v0.40.17-rc12026-11-16T16:43:54Zv0.40.17-rc1: mlxrunner: batch speculative verification (#19663)<ul>
<li>mlxrunner: batch speculative verification</li>
</ul>
<p>Keep drafting active for concurrent generation by sharing target verification while preserving per-request sampling and cache rollback. Learn draft depth for each concurrent workload separately from isolated requests, and preserve probes that short requests never execute.</p>
<p>Materialize owned target features before a reader can pause, and cover acceptance, cancellation, handoffs, mixed decoding and retained-memory boundaries.</p>
<ul>
<li>address comments</li>
</ul>dhiltgentag:github.com,2008:Repository/658928958/v0.40.17-rc02026-11-10T21:42:11Zv0.40.17-rc0<p>MLX, MLX-C: version bump (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="6316056226" data-permission-text="Title is private" data-url="https://github.com/ollama/ollama/issues/19647" data-hovercard-type="pull_request" data-hovercard-url="/ollama/ollama/pull/19647/hovercard" href="https://github.com/ollama/ollama/pull/19647">#19647</a>)</p>dhiltgentag:github.com,2008:Repository/658928958/v0.40.162026-11-09T23:45:36Zv0.40.16<h2>Ripple Preview</h2>
<p><a href="https://ollama.com/library/ripple-preview" rel="nofollow">Ripple Preview</a> from Ricursive Intelligence is a 65B dense model built for agentic coding.</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ollama run ripple-preview"><pre>ollama run ripple-preview</pre></div>
<h2>What's Changed</h2>
<ul>
<li>Qwen3.8 Flash Next uses about 27 GiB less memory on Apple silicon</li>
<li><code>ollama launch claude</code> always routes Claude Code to the selected model</li>
<li><code>ollama launch</code> explains when a cloud model has been retired</li>
<li><code>/v1/responses</code> respects <code>truncation</code> and no longer silently truncates by default</li>
<li><code>/v1/models</code> returns an empty list instead of <code>null</code> when no models are installed</li>
<li>CUDA 13.5 support for Windows on ARM</li>
<li>Updated llama.cpp</li>
</ul>
<p><strong>Full Changelog</strong>: <a class="commit-link" href="https://github.com/ollama/ollama/compare/v0.40.15...v0.40.16"><tt>v0.40.15...v0.40.16</tt></a></p>github-actions[bot]tag:github.com,2008:Repository/658928958/v0.40.16-rc02026-11-08T00:36:53Zv0.40.16-rc0: Add ripple preview support to the MLX runner (#19592)<p>Add the Ripple model, renderer, parser and import registration.<br>
Support per-layer NoPE in DFlash drafts.<br>
Fuse MLP activation, value blending and attention gating.<br>
Add reference fixtures and model/runner regression tests.</p>pdevine