Ollama 0.40.18
Ollama released version 0.40.18 on November 24, 2026, a maintenance build that concentrates almost entirely on the MLX runner used on Apple silicon and on a refreshed llama.cpp base. There are no new model families and no configuration changes, so the release is best read as a performance and housekeeping update for machines with unified memory.
The tag carries four merged pull requests. Three of them touch the MLX path, and one replaces the underlying llama.cpp snapshot. For anyone running local models on a MacBook or a Mac Studio, the interesting lines are the Metal ones.
What Changed
- Metal residual mixing for Inkling fused into a single kernel. The MLX backend previously ran the residual mixing step of the Inkling architecture as separate operations; the release folds them together on Metal, which removes intermediate buffers from the hot path.
- Tensor helpers and model setup shared across MLX architectures. The mlxrunner package now exposes one set of tensor utilities that every architecture reuses, instead of each model definition carrying its own copy. That is a refactor with direct consequences for the next port, since adding an architecture no longer means duplicating loading logic.
- Faster Inkling2 decode, prefill, and draft rounds. The speculative decoding draft path and both prompt processing passes were tightened on Metal. Prefill is where a long context pays for itself, so this is the change most users will feel first.
- llama.cpp bumped to b12651. The bundled upstream snapshot moves forward, and the build drops JetPack 5 support.
Why It Matters
Ollama has two inference paths on macOS: the llama.cpp backend that serves GGUF weights, and the MLX runner that reads the MLX-converted models. The Metal work in this release applies to the second path, which is the one that usually wins on token throughput for smaller models on Apple hardware. Fusing residual mixing looks like a small change on paper. In practice it removes a kernel launch and a memory round trip per layer per token, and that arithmetic compounds over a long generation.
Sharing tensor helpers across architectures is the kind of maintenance work that never appears in a benchmark but quietly determines how quickly new model architectures arrive. When the runner has one place for model setup, a new family can be added without copying a hundred lines of scaffolding.
The JetPack 5 Note
The llama.cpp line includes a removal, not just a bump: the build no longer supports JetPack 5. That matters for Jetson owners running Ollama in a container on an older L4T image. JetPack 5 covers the CUDA 11.4 era of Jetson Linux and is still common on Orin devices that were flashed years ago and never moved to JetPack 6. If you are in that group, pin your image tag before pulling the latest, or plan the jump to JetPack 6 first. Everything on a normal x86, arm64, or Apple host is unaffected.
How to Upgrade
On macOS the Homebrew formula and the app bundle both pick up the release through the usual update path. Linux installs refresh with the install script, and containers need a fresh tag pull:
brew upgrade ollamafor a Homebrew install, or reinstall the app for the macOS bundledocker pull ollama/ollama:0.40.18for container deploymentsollama --versionto confirm the binary reports 0.40.18
Nothing in the changelog requires action from model authors, and no stored configuration needs editing. Running models keep working across the upgrade, though the runner process restarts and re-loads weights on the first request after the update.
What's Next
The pattern across the last several Ollama patches is steady MLX investment: one or two kernels per release, a shared helper here, a faster draft round there. The project is clearly treating Apple silicon as a first-class target rather than a compatibility checkbox. Whether the next release closes the remaining gaps in quantized MLX support or turns to the server API is the open question, and the changelog gives no hint. Full notes live at Ollama v0.40.18.