Ollama v0.40.0: models run on MLX by default on Apple Silicon
1 month ago
Ollama v0.40.0 runs models on MLX by default on Apple Silicon, including Qwen 3.8, Gemma 4 and the decision models. Also new: EmbeddingGemma 2 with image and audio embeddings, one model tag holding a build per runner, and in-place conversion of models already on disk.
Links
Ask about this presentation
Chapters
0:00Ollama v0.40.0: models run on MLX by default on Apple Silicon
0:15Qwen 3.8, Gemma 4, Qwen 3.6 and Qwen 3.5 run on MLX
0:26Only architectures MLX supports move to MLX
0:39Nimble, Tev1, Clef and Clef Flash now run on MLX
0:49MLX models stay in memory between requests on macOS 27
1:0302: Embeddings with images and audio
1:06EmbeddingGemma 2 runs on MLX
1:16The embed API accepts images and audio
1:2903: One model tag, several runners
1:32One model tag can hold an MLX build and a llama.cpp build
1:43ollama ps shows which runner serves each model
1:53Models already on disk convert in place, without a re-pull
2:05The in-place conversion is temporary
2:1604: Smaller fixes
2:18Tool results keep their call ID, and overlong decision requests are rejected
2:34llama.cpp and MLX are updated
Show transcriptHide transcript
In Ollama v0.40.0, Macs with Apple Silicon run models on MLX by default. When MLX supports a model's architecture, Ollama picks MLX automatically, and you pull and run the model the same way.
Qwen 3.8 is the release's own example. Gemma 4, Qwen 3.6 and Qwen 3.5 also run on MLX now, with no setting to change.
The switch covers only the model architectures that the MLX runtime supports. A model outside that set stays off MLX in this release, and the team says it will keep testing and enabling more models.
The decision models moved as well. Nimble, Tev1, Clef and Clef Flash now score on MLX, and Clef and Clef Flash can still judge an image alongside the text.
On macOS 27, MLX let go of a model's memory about two seconds after each request, so the next request waited while the weights paged back in. The runner now refreshes that memory every second.
Embeddings now take images and audio.
MLX now runs an embedding model, EmbeddingGemma 2. It turns text, images and audio into vectors, so one local model can index all three for search.
The embed endpoint now accepts an image or an audio clip with each item, and one batch can mix plain text with media. Video isn't accepted, and only multimodal embedding models take media.
One model name can now hold several runners.
A model tag can now be a list. Each entry targets one runner, MLX, GGML or llama.cpp, and pull, push, copy and remove all handle the whole list.
You can see which one you got. The table of running models gains a runner column, and showing a model prints its selected runner plus every runner its tag offers.
Models you already downloaded don't need a fresh pull. After the first load, Ollama converts older model files into a llama.cpp build in the background, as long as the disk has room for it.
That conversion step won't stay. Ollama plans to remove it once enough releases ship models in the new format, and a model still unconverted by then will need a fresh pull.
And a few smaller fixes.
Tool results sent through the OpenAI-compatible API keep their call ID when split into parts. Overlong decision requests are rejected instead of cut short. And MLX now splits text into tokens the way each publisher's tokenizer does.
Both engines are updated, llama.cpp and MLX. The full list of changes is in the Ollama release notes on GitHub.
Up next
1:26Ollama now runs Inkling 2 Mini, and Macs serve several chats at once
@ollama
6 days ago
1:21Ollama v0.40.15 runs Xiaomi's MiMo V2.6 and AutoTrust models that answer yes or no
@ollama
3 weeks ago
1:12Ollama v0.40.14 runs your models at their own temperature through the OpenAI API
@ollama
3 weeks ago
1:47Ollama now runs Liquid AI's LFM3 on Linux and Windows, speech included
@ollama
3 weeks ago
1:47Ollama now reads replies aloud with Phonon, and Flint reaches Linux and Windows
@ollama
1 month ago
1:13Ollama v0.40.8 runs Flint, Recursive's open coding model for agents, on Macs first
@ollama
1 month ago
1:45Ollama runs Perplexity's pplx-decider, a local 27B model that routes, checks and grades
@ollama
1 month ago
1:13Ollama v0.40.5 runs NVIDIA Nemotron 3.5 Bolt, a 74B vision model sized for one 24 GB GPU
@ollama
1 month ago
1:37Ollama run now answers yes-or-no questions with decision models
@ollama
1 month ago
1:31Ollama keeps backups of upgraded models so you can downgrade safely
@ollama
1 month ago
1:31Ollama v0.35.1: Clef decision models, now with images
@ollama
1 month ago
2:46Ollama v0.35.0: decision models that answer with choices and probabilities
@ollama
1 month ago