使用 omlx,你可以:
支持连续批处理与 SSD 缓存,可通过 macOS 菜单栏便捷管理,在苹果设备上高效运行大模型推理任务。
用户评论 (0)
2026年04月24日
2026年03月18日
#205.会话中断
432026年03月13日
2026年04月12日
2026年04月03日
2026年04月22日
2026年03月05日
2026年03月01日
2026年11月19日
2026年11月18日
2026年11月18日
2026年11月14日
2026年11月13日
2026年11月13日
v0.8.0
2026年11月18日
oMLX 0.8.0
oMLX 0.8.0 adds the Prefill Accelerator, which lets a PC with NVIDIA GPUs or a second Mac speed up prefill for a big model on your Mac, adds oQh for more accurate low-bit quants at the same size, and makes DeepSeek V4.1, Qwen and long-context decode faster.
Download: macOS 26 / 27 | macOS 15 Sequoia
Prefill Accelerator with NVIDIA GPUs or a Mac
A PC with NVIDIA GPUs, a DGX Spark or a second Mac with a faster GPU runs the first layers of each prompt chunk, while your Mac runs the rest, decodes and keeps the KV cache. Auto picks how many layers the helper takes from the measured speed of both machines and the link, and keeps the prompt on the Mac when a split would be slower (#5065, #5163, #5195). oQh models and Inkling 2 Small run on both kinds of helper (#5391, #5234).
The CUDA helper builds on the great CUDA kernels of TensorFold by @ashhart and mlx-serve by @ddalcu, and would not have been possible without them. Thank you both for sharing them in the open. The adapted kernels and their licenses are in third_party/.
Prefill tok/s on a 64K prompt, oQ4e models, M3 Ultra 512GB with a CUDA helper over 2.5 GbE. Decode speed stays about the same.
| Model | M3 Ultra alone | + DGX Spark | + 2x RTX A6000 |
|---|---|---|---|
| Qwen3.8 27B | 352 | 1,062 (+202%) | 1,879 (+434%) |
| Qwen3.8 Flash-Next | 1,370 | 2,715 (+98%) | 3,928 (+187%) |
| DeepSeek V4.1 Flash | 1,085 | 2,412 (+122%) | 1,914 (+76%) |
| GLM-5.3 Flash | 555 | 1,076 (+94%) | 978 (+76%) |
| MiniMax M3.1 Flash | 312 | 504 (+62%) | 468 (+50%) |
A second Mac works the same way. With an M5 Max 128GB as the helper, DeepSeek V4.1 Flash prefills a 64K prompt at 3,123 tok/s instead of 1,060 (+195%), and Thunderbolt or 5GbE is enough.
Turn on Global Settings > Advanced > Enable Distributed Inference, pair the helper in the Cluster tab, then pick it under Prefill Accelerator in the model's settings (guide). An NVIDIA PC needs only the command below and the code from docker logs omlx-helper, with no SSH or oMLX install. It needs driver 580 or newer and an Ampere or newer GPU or a GB10, and has not been tested on Windows yet.
docker run -d --name omlx-helper --restart unless-stopped --gpus all --network host -v omlx-helper:/data jundot/omlx-cuda-helper
oQh and More Accurate oQe
oQh is a new oQe option. At the same file size it stays closer to the original model, most of all at 2 and 3 bits, and runs at about the same speed (#5317). It supports Qwen3.5 to 3.8, Qwen3.8 Flash-Next, GLM-5.3 and DeepSeek V4.1. oQe itself is also more accurate at the same size (#5292), and Qwen3.5 and 3.6 models larger than your Mac's memory can now be quantized (@keefar in #5332).
FLORES+ KL against the original model in 7 languages, lower is better. All three builds in a row are the same size.
| Model | Level | Size | oQe before | oQe now | oQh |
|---|---|---|---|---|---|
| Qwen3.5 9B | oQ2 | 3.3 GiB | 0.54 | 0.48 (-11%) | 0.25 (-54%) |
| Qwen3.6 35B-A3B | oQ2 | 11.8 GiB | 0.23 | 0.22 (-4%) | 0.11 (-52%) |
| Qwen3.8 27B | oQ3 | 12.2 GiB | 0.066 | 0.059 (-11%) | 0.040 (-39%) |
| Qwen3.8 Flash-Next | oQ3 | 84.9 GiB | 0.082 | 0.073 (-11%) | 0.060 (-27%) |
Turn on Rotated codes (oQh) in the oQe section, and the output name ends in h, for example Qwen3.5-9B-oQ2.5h (guide).
Faster DeepSeek V4.1, Qwen and Long Context
Since 0.8.0rc1, Qwen models decode faster with many requests, with two long requests at once and on MoE models, and Flash-Next keeps its speed with its tables on SSD. Before that, the development and rc1 releases made DeepSeek V4.1 faster with many requests and on clusters, and Affine KV compression much faster at long context.
Since 0.8.0rc1
| Model and workload | Change | Hardware | PR |
|---|---|---|---|
| Qwen3.8 Flash-Next, SSD tables not yet cached, 8 requests, MTP off | Total decode 133.7 -> 200.9 tok/s (+50%) | M5 Max | @yohann-bearzi in #5225 |
| Qwen3.8 27B oQ8 with MTP, 25K + 100K requests at once | Total decode 27.6 -> 40.8 tok/s (+48%) | M5 Max | @StefVanG in #5167 |
| Qwen3.8 27B oQ4e-mtp, 8 requests | Total decode 222.6 -> 307.1 tok/s (+38%) | M5 Ultra | @Li-Lee in #5309 |
| Qwen3.6 35B-A3B oQ4 | Decode 100.7 -> 112.2 tok/s (+11%) | M3 Ultra | #5370 |
| Qwen3.6 35B-A3B 4-bit, 4 requests, DFlash2 | Total decode 331 -> 365 tok/s (+10%) | M5 Max | #5344 |
| DeepSeek V4.1 Flash oQ2e-mtp, 32K prompt | Prefill 3,802 -> 3,948 tok/s (+4%) | M5 Ultra | @junmo-kim in #5376 |
- Affine KV decode with DFlash is 4% faster at 128K (@avifenesh in #5248).
- Loops of short prompts keep their prefix cache hits, batched steps read padding offsets once, and top-p MTP verify picks from the top 512 candidates (@masterfasa in #5324, #5314, #5313).
- Image prefixes hash in one pass, with about 4x less hashing work per request (@LXD-8 in #5202).
From 0.7.4.dev1 and 0.8.0rc1
| Model and workload | Change | Hardware | PR |
|---|---|---|---|
| DeepSeek V4.1 Flash oQ3e-mtp, DSpark, 8 requests | Total decode 73.2 -> 107.9 tok/s (+47%) | M3 Ultra | #5154 |
| DeepSeek V4.1 Flash oQ3e-mtp, DSpark, 2 requests, pipeline | Total decode 46.7 -> 61.7 tok/s (+32%) | M3 Ultra + M5 Max | #5154 |
| DeepSeek V4.1 Flash oQ4e, tensor parallel (estimated) | Prefill 742 -> 1,284 tok/s (+73%), decode 19.8 -> 28.8 tok/s (+45%) | M3 Ultra + M5 Max, Thunderbolt RDMA | #5086 |
| DeepSeek V4.1 Flash oQ2e-mtp, 32K prompt | Prefill 2,631 -> 3,779 tok/s (+44%) | M5 Ultra | @junmo-kim in #5031 |
| Qwen3.8 Flash-Next oQ2.5e FP16, 32K | Decode 38.9 -> 63.0 tok/s (+62%) | M3 Ultra | #5028 with @qoli |
| Flint 40B-A2.5B oQ6e, Affine8 KV | Decode 22.8 -> 36.1 tok/s (+58%) | M5 Pro | @avifenesh in #5095 |
- DeepSeek V4.1: the first decode on a cold shader cache goes 12.4 -> 45.8 tok/s (+269%) (@junmo-kim in #5025), and MoE expert offload runs the experts already in memory first, for 17% lower TTFT (@cropduster in #4959).
- Qwen: two long requests at once decode up to 30% faster (@StefVanG in #5090), and 6-request 8-bit decode is 16% faster (b5c7793 with @yohann-bearzi).
- On 128 GB Macs, back-to-back long Flash-Next prompts stop slowing down, 90.7 -> 13.1 s for the slowest, and decode after long prompts is 3-5% faster on M5 Max (@yohann-bearzi in #4902, #4901).
- Attention: models with attention sinks like gpt-oss prefill about 4x faster with Affine KV (@avifenesh in #5088, #5101).
- MiniMax M3.1: prefill on M5 runs on the tensor units, up to 43% faster per MoE layer at 64K (#5084, #5157, #5083).
Changes since 0.8.0rc1
If you run 0.8.0rc1, these are the changes in this release.
- New:
- oQh and more accurate oQe builds, described above (#5317, #5292, @keefar in #5332).
- Inkling 2 Small loads with text and image input and Lightning MTP on by default, and runs on Mac and NVIDIA Prefill Accelerators (#5229, #5234).
- oQh models run on the Prefill Accelerator with CUDA helper 0.1.6 (#5391).
- Integrations launch from one Applications card in the web UI and the macOS app, and the Claude tile holds the Claude Code settings (@LXD-8 in #5238, #5243, #5244).
- Splash gets
--activations, with bf16 attention on M5 and later by default (@Woody-Hu in #5337). - Benchmark runs with a generation length other than 128 skip the leaderboard upload, and the banner says why (@OmVidana in #5338, ed045bb).
- Faster: see "Since 0.8.0rc1" in the speed highlight above.
- Fixed:
- The Cluster tab finds a DGX Spark or NVIDIA PC from the macOS app and Homebrew installs (bedde0c, f265b65).
- CUDA helpers keep prefix cache hits and stop growing memory between jobs, and a DGX Spark stays within the memory it planned with (#5316, @GumbiiDigital in #5271).
- MoE expert offload keeps its resident experts when a prefill runs short of memory, releasing only the slots it needs (@JarJarFran in #4842).
- Tool calls with array parameters split across JSON fragments are merged, and gpt-oss replies keep their completed messages when the last header is malformed (@Woody-Hu in #5345, #5224).
- Thinking defaults are read by rendering the chat template, so GLM-4.6V and GLM-OCR report thinking on (44b0525).
- Cluster replies that arrive only as reasoning come back as content, and peer model lists and free space read correctly (@joshuaswarren in #5328, 0d13e98, f897a00 with @digitalfactory-ako).
- Model lists survive bad files, skipping an unreadable safetensors header or Hugging Face refs file, and a
~DFlash drafter path is expanded (@phaedrus1992 in #5379, @joshuaswarren in #5329, @avifenesh in #5212). - Qwen3-Reranker scores no longer tie at 1.0 for confident documents (@Jason-Barbour in #5207).
- More setups take a working path, with MiniMax M3 prompts past 4K tokens on M2 Ultra and Qwen prefill on M5 source installs without the native kernels (@begcdn in #5239, f6782ad).
- Benchmarks report real numbers, as batch tests wider than Max Concurrent Requests no longer inflate tg TPS and code benchmarks no longer hang (@zviratko in #5312, bf28cd6, @Maheidem in #5241).
- The dashboard shows live numbers, with per-request tok/s over the last 3 seconds, Splash requests counted in
/api/statusand update checks that look past other channels' releases (#5075, @Woody-Hu in #5335, @isnaenihidayat in #5347). - Settings and apps behave better, with the profile repair on older settings files, cleared aliases in the macOS app, the camera notch named when the menu bar icon is hidden, and
omlx launch claudekeeping the auto-compact window in range (#5216, @ngutech21 in #5236, @fabriziosalmi in #5208, @masterfasa in #5319). - Tests are cleaner, with one pytest config and no state leaks between files, and the macOS app tests pass on macOS 27 (@shaanchander in #5218, @ngutech21 in #5303, @contrapuntal in #5277, e35c2a2 with @yanzhaohui1999, @digitalfactory-ako in #5363).
New Features and Improvements
- Concurrent requests: the new Concurrent Request Priority setting decides what runs first when a prompt arrives while others stream. Its Balanced default keeps running streams at 10 tok/s or more and cuts the new prompt's time to first token by 26% (#5164).
- A short request that arrives during a long prefill starts after the running chunk, so its first token comes in 4.4 s instead of 13.4 s (@arnavprabhu in #5160, #5175).
- Each row on the dashboard has a stop button that ends one request without unloading the model (#5156).
- Integrations:
omlx launch codex,codex_appandcopilothand the agent every chat model on the server, so/modelswitches between them (#5026 with @scaryrawr, @scaryrawr in #5066). - macOS app:
- Settings get a sidebar search, plus Web Search and MarkItDown in Integrations (@ngutech21 in #5111, #5172, #5107).
- The model library list is simpler and shows aliases, which the copy button now copies (@ngutech21 in #5091).
- The app speaks Italian (@fabriziosalmi in #4506, #5198), and window counts can show exact digits (@LXD-8 in #4641).
- Web UI: a new Theme Settings editor sets the dashboard's light and dark colors, checks contrast, drafts dark colors from light ones, and saves themes as JSON or images (#5037, #5038, @LXD-8 in #5097, #5098, #5102, #5113, #5114, #5115, #5117).
- GPU keep-warm: Keep GPU Awake After Requests in Advanced settings sets how long the GPU stays warm after the last request, 5 minutes by default (@parasew in #5085).
- Server: a long text prompt no longer stalls other streams while it is prepared, and plain streamed text skips the tool-marker scan (@Woody-Hu in #5140, @LXD-8 in #4945).
- Benchmarks: local accuracy runs take a Max Tokens Override so thinking models are not cut off (#5189), labels spell PP and TG (@LXD-8 in #4619), and pp result logs include
gen_tps(@yanzhaohui1999 in #5126). - Dependencies and builds: transformers up to 5.22 (#5131), dev tools as a PEP 735 dependency group (@ngutech21 in #5188), and CI builds and tests the macOS app (@ngutech21 in #5120, #5119, #5174).
Bug Fixes
- INT8 Activation Prefill stays off unless a model turns it on, with a "May reduce quality" note in Model Settings and its own SSD cache blocks (#5108, f61b29e).
- Unloading a model no longer affects the models still loaded, as the Metal wired limit stays in place (#5165).
reasoning_effort: "none"and"off"turn thinking off, instead of mapping tolow(@syntax922 in #5151).- Tool calls are parsed more reliably, with tool names like
readcounted only in call position and schema keys in their usual order (@Flo5k5 in #4433, #5161). - Tool call errors are clearer, with a coded error for an empty
tool_callsfinish and escaped model text in harmony logs (@joshuaswarren in #5139, @yanzhaohui1999 in #5125). - Memory no longer grows with many distinct JSON schemas, as the compiled-grammar cache is capped at 1 GiB (#4321 with @yanzhaohui1999).
- Prefill Accelerator helpers recover instead of failing, with OOM step-down, layers handed back for long prompts, and retries when offline (#5180, d83d1d4, @yanzhaohui1999 in #5169).
- Clusters pass DeepSeek V4.1 tool arguments correctly, and the link gate names the slow link when it blocks tensor parallel (ca70d2b with @twiedenbein, @hellodk in #3024 with @HamedShams).
- Speculative decoding stays on its fast paths, with wide TurboQuant verify windows on the fused kernel and DFlash drafter context kept on exact prefix hits (#4866, 54f6797, 22f2c43 with @avifenesh).
- Qwen3.8 Flash-Next runs cleanly on M1 and M2, taking the MLX path instead of failing the fused kernel probes (@begcdn in #5089).
- VLM and audio requests no longer fail silently, with Nemotron Omni audio read from
sound_clips, Florence-2 skipped at discovery, and realtime STT fixes (@shaanchander in #5162, @Woody-Hu in #5142, @Aminark in #5092, #5043). - oQ handles more models, with oQe on Spark-X and loadable LFM3-Omni output (@Woody-Hu in #5184, @arnavprabhu in #5153).
- Model Settings saves work again after a draft is deleted, with profiles checking their drafts and rejected saves naming the field (@LXD-8 in #4401, #5105, #4513).
- Splash follows oMLX more closely, with its SSD cache off when oMLX's is off, MTP shown as unused, a clean stop and fixed bench runs (#5082, @yanzhaohui1999 in #5168, #5078, #4938 with @OmVidana).
- Integrations connect more reliably, with configured headers on MCP SSE servers and
omlx launch codexfinding newer ChatGPT app bundles without a slow DNS lookup (#5080, #5079, 9715639). - Supervised logs stay small, as the console log under
brew servicesand the macOS app keeps only warnings and errors (@zviratko in #5179). - Web UI polish, with SSD totals that include unloaded models, paired stat tiles on phones, rounded panel corners and a heatmap legend that reads right in dark mode (#5063, @LXD-8 in #5123, @CamJN in #5159, @yanzhaohui1999 in #5144).
Smaller features and fixes from the development release are in the 0.7.4.dev1 release notes.
Upgrade Notes
- Source installs: run
make installafter updating to build the new native kernels, including oQh's.make devneeds pip 25.1 or newer (#5317, #5188). - oQh: oQh models run only in oMLX. mlx-lm, mlx-vlm, Splash, A8 and ANE prefill, and MoE expert offload cannot run them (#5317).
- oQe: existing oQe models stay as they are. Quantize again to get the better rounding, which adds 5 to 20 minutes to a build on an M3 Ultra (#5292).
- Concurrent requests: existing installs move to the new Balanced default, and Prefill Priority is renamed Long Prompt Handling (#5164).
- Prefill Accelerator: both Macs need the same oMLX version. For an NVIDIA helper, pull
jundot/omlx-cuda-helperagain to update it (#5065, #5163). - Logging: under
brew servicesand the macOS app, the console log keeps only warnings and errors.~/.omlx/logs/server.logstill has everything (#5179). - API:
reasoning_effort: "none"and"off"now turn thinking off (#5151), and a trailing assistant message on/v1/messagesis continued instead of starting a new turn (#4995). - Affine KV: greedy output with Affine4 or Affine8 KV compression can differ from 0.7.3 (#5095).
- Integrations:
omlx launch codexandcodex_appneed Codex 0.148 or newer, andomlx launch copilotneeds Copilot CLI 1.0.83 or newer (#5026, #5066).
New Contributors
@fabriziosalmi in #4506, @alexandergreil in #4673, @christianschmidt in #5014, @begcdn in #5018, @ianderse in #5050, @ska2704 in #5057, @StefVanG in #5090, @Aminark in #5092, @avifenesh in #5101, @syntax922 in #5151, @CamJN in #5159, @Li-Lee in #5309, @GumbiiDigital in #5271, @Maheidem in #5241, @keefar in #5332, @OmVidana in #5338, @isnaenihidayat in #5347.
详细ChangeLogv0.8.0rc1
2026年11月13日
oMLX 0.8.0rc1
This is a release candidate. Please report any bugs through GitHub Issues. If you need a stable release, please use oMLX 0.7.3.
The release candidate for oMLX 0.8.0 adds the Prefill Accelerator, which lets a PC with NVIDIA GPUs or a second Mac speed up prefill for a big model on your Mac, and makes DeepSeek V4.1 faster with many requests and on clusters.
Download: macOS 26 / 27 | macOS 15 Sequoia
* If you downloaded build 3727 right after release, the Cluster tab may not find a DGX Spark or NVIDIA PC, so please download it again.
Prefill Accelerator with NVIDIA GPUs or a Mac
A PC with NVIDIA GPUs, a DGX Spark or a second Mac with a faster GPU runs the first layers of each prompt chunk, while your Mac runs the rest, decodes and keeps the KV cache. Auto picks how many layers the helper takes from the measured speed of both machines and the link, and keeps the prompt on the Mac when a split would be slower (#5065, #5163, #5195).
The CUDA helper builds on the great CUDA kernels of TensorFold by @ashhart and mlx-serve by @ddalcu, and would not have been possible without them. Thank you both for sharing them in the open. The adapted kernels and their licenses are in third_party/.
Prefill tok/s on a 64K prompt, oQ4e models, M3 Ultra 512GB with a CUDA helper over 2.5 GbE. Decode speed stays about the same.
| Model | M3 Ultra alone | + DGX Spark | + 2x RTX A6000 |
|---|---|---|---|
| Qwen3.8 27B | 352 | 1,062 (+202%) | 1,879 (+434%) |
| Qwen3.8 Flash-Next | 1,370 | 2,715 (+98%) | 3,928 (+187%) |
| DeepSeek V4.1 Flash | 1,085 | 2,412 (+122%) | 1,914 (+76%) |
| GLM-5.3 Flash | 555 | 1,076 (+94%) | 978 (+76%) |
| MiniMax M3.1 Flash | 312 | 504 (+62%) | 468 (+50%) |
Turn on Global Settings > Advanced > Enable Distributed Inference, pair the helper in the Cluster tab, then pick it under Prefill Accelerator in the model's settings (guide). An NVIDIA PC needs only the command below and the code from docker logs omlx-helper, with no SSH or oMLX install. It needs driver 580 or newer and an Ampere or newer GPU or a GB10, and has not been tested on Windows yet.
docker run -d --name omlx-helper --restart unless-stopped --gpus all --network host -v omlx-helper:/data jundot/omlx-cuda-helper
Faster DeepSeek V4.1 with Many Requests and Clusters
With the DSpark drafter on, DeepSeek V4.1 now verifies the drafts of several requests together, so the drafter keeps its speedup as requests add up (#5154). Tensor-parallel clusters now run the same fast prefill and decode kernels as a single Mac, and pipeline clusters run the drafter for several requests (#5086, #5154).
| DeepSeek V4.1 Flash | Change | Hardware |
|---|---|---|
| oQ3e-mtp, DSpark on, 8 requests | Total decode 73.2 -> 107.9 tok/s (+47%) | M3 Ultra |
| oQ3e-mtp, DSpark on, 2 requests, pipeline | Total decode 46.7 -> 61.7 tok/s (+32%) | M3 Ultra + M5 Max |
| oQ4e, tensor parallel, 32K prompt (estimated) | Prefill 742 -> 1,284 tok/s (+73%) | M3 Ultra + M5 Max, Thunderbolt RDMA |
| oQ4e, tensor parallel, 8K prompt (estimated) | Decode 19.8 -> 28.8 tok/s (+45%) | M3 Ultra + M5 Max, Thunderbolt RDMA |
New Features and Improvements
- Concurrent requests: the new Concurrent Request Priority setting decides what runs first when a prompt arrives while others stream. Its Balanced default keeps running streams at 10 tok/s or more and cuts the new prompt's time to first token by 26% (#5164).
- A short request that arrives during a long prefill starts after the running chunk, so its first token comes in 4.4 s instead of 13.4 s (@arnavprabhu in #5160, #5175).
- Each row on the dashboard has a stop button that ends one request without unloading the model (#5156).
- Speed:
- Affine4 and Affine8 KV compression decode up to 58% faster at long context, and models with attention sinks like gpt-oss prefill about 4x faster (@avifenesh in #5095, #5088, #5101).
- MiniMax M3.1 prefill on M5 runs on the tensor units, up to 43% faster per MoE layer at 64K (#5084, #5157, #5083).
- Two long Qwen3.5 to 3.8 requests at once decode up to 30% faster (@StefVanG in #5090).
- DeepSeek V4.1 with MoE expert offload runs the experts already in memory first, for 17% lower TTFT (@cropduster in #4959).
- macOS app:
- Settings get a sidebar search, plus Web Search and MarkItDown in Integrations (@ngutech21 in #5111, #5172, #5107).
- The model library list is simpler and shows aliases, which the copy button now copies (@ngutech21 in #5091).
- The app speaks Italian (@fabriziosalmi in #4506, #5198), and window counts can show exact digits (@LXD-8 in #4641).
- Web UI: a new Theme Settings editor sets the dashboard's light and dark colors, checks contrast, drafts dark colors from light ones, and saves themes as JSON or images (#5037, #5038, @LXD-8 in #5097, #5098, #5102, #5113, #5114, #5115, #5117).
- GPU keep-warm: Keep GPU Awake After Requests in Advanced settings sets how long the GPU stays warm after the last request, 5 minutes by default (@parasew in #5085).
- Server: a long text prompt no longer stalls other streams while it is prepared, and plain streamed text skips the tool-marker scan (@Woody-Hu in #5140, @LXD-8 in #4945).
- Benchmarks: local accuracy runs take a Max Tokens Override so thinking models are not cut off (#5189), labels spell PP and TG (@LXD-8 in #4619), and pp result logs include
gen_tps(@yanzhaohui1999 in #5126). - Dependencies and builds: transformers up to 5.22 (#5131), dev tools as a PEP 735 dependency group (@ngutech21 in #5188), and CI builds and tests the macOS app (@ngutech21 in #5120, #5119, #5174).
Bug Fixes
- INT8 Activation Prefill stays off unless a model turns it on, with a "May reduce quality" note in Model Settings and its own SSD cache blocks (#5108, f61b29e).
- Unloading a model no longer affects the models still loaded, as the Metal wired limit stays in place (#5165).
reasoning_effort: "none"and"off"turn thinking off, instead of mapping tolow(@syntax922 in #5151).- Tool calls are parsed more reliably, with tool names like
readcounted only in call position and schema keys in their usual order (@Flo5k5 in #4433, #5161). - Tool call errors are clearer, with a coded error for an empty
tool_callsfinish and escaped model text in harmony logs (@joshuaswarren in #5139, @yanzhaohui1999 in #5125). - Memory no longer grows with many distinct JSON schemas, as the compiled-grammar cache is capped at 1 GiB (#4321 with @yanzhaohui1999).
- Prefill Accelerator helpers recover instead of failing, with OOM step-down, layers handed back for long prompts, and retries when offline (#5180, d83d1d4, @yanzhaohui1999 in #5169).
- Clusters pass DeepSeek V4.1 tool arguments correctly, and the link gate names the slow link when it blocks tensor parallel (ca70d2b with @twiedenbein, @hellodk in #3024 with @HamedShams).
- Speculative decoding stays on its fast paths, with wide TurboQuant verify windows on the fused kernel and DFlash drafter context kept on exact prefix hits (#4866, 54f6797, 22f2c43 with @avifenesh).
- Qwen3.8 Flash-Next runs cleanly on M1 and M2, taking the MLX path instead of failing the fused kernel probes (@begcdn in #5089).
- VLM and audio requests no longer fail silently, with Nemotron Omni audio read from
sound_clips, Florence-2 skipped at discovery, and realtime STT fixes (@shaanchander in #5162, @Woody-Hu in #5142, @Aminark in #5092, #5043). - oQ handles more models, with oQe on Spark-X and loadable LFM3-Omni output (@Woody-Hu in #5184, @arnavprabhu in #5153).
- Model Settings saves work again after a draft is deleted, with profiles checking their drafts and rejected saves naming the field (@LXD-8 in #4401, #5105, #4513).
- Splash follows oMLX more closely, with its SSD cache off when oMLX's is off, MTP shown as unused, a clean stop and fixed bench runs (#5082, @yanzhaohui1999 in #5168, #5078, #4938 with @OmVidana).
- Integrations connect more reliably, with configured headers on MCP SSE servers and
omlx launch codexfinding newer ChatGPT app bundles without a slow DNS lookup (#5080, #5079, 9715639). - Supervised logs stay small, as the console log under
brew servicesand the macOS app keeps only warnings and errors (@zviratko in #5179). - Web UI polish, with SSD totals that include unloaded models, paired stat tiles on phones, rounded panel corners and a heatmap legend that reads right in dark mode (#5063, @LXD-8 in #5123, @CamJN in #5159, @yanzhaohui1999 in #5144).
Highlights from 0.7.4.dev1
- Faster DeepSeek V4.1. Prefill is 43-48% faster on M5 Ultra (@junmo-kim in #5031), oQ4e builds on M5 can run INT8 Activation Prefill (#5058), and the first decode on a cold shader cache no longer waits on kernel compiles (@junmo-kim in #5025).
- Faster Qwen3.8 Flash-Next. FP16 checkpoints run the fused kernels, up to +62% decode (#5028 with @qoli), and back-to-back long prompts on 128 GB Macs stop slowing down (@yohann-bearzi in #4902).
- Codex and Copilot.
omlx launch codex,codex_appandcopilothand the agent every chat model on the server, so/modelswitches between them (#5026 with @scaryrawr, @scaryrawr in #5066).
Benchmarks, the full feature and fix lists, and every contributor credit are in the 0.7.4.dev1 release notes.
Upgrade Notes
- Source installs: run
make installafter updating, which also rebuilds the native kernels MiniMax M3 uses on M5 (#5157). transformers up to 5.22 is allowed (#5131, #5004), jinja2 3.1.6 or newer is required, and ddgs moves to 9.16.1 (#5002).make devinstalls the dev tools from a dependency group and needs pip 25.1 or newer (#5188). - INT8 Activation Prefill: it is off until a model's settings turn it on (#5155). Models without saved settings that ran it in 0.7.4.dev1, such as DeepSeek V4.1 oQ4e builds on M5, prefill at 16-bit again.
- Concurrent requests: existing installs move to Balanced.
decode_fairness: falsemaps to Prefill First andtrueto Balanced. Prefill Priority is now called Long Prompt Handling, with the same key and values (#5164). - Prefill Accelerator: both Macs need the same oMLX version (#5065). A CUDA helper is checked per model family instead, so pull
jundot/omlx-cuda-helperagain to get helper updates (#5163). - Logging: under
brew servicesand the macOS app, the captured console log keeps only warnings and errors. Every record is still in~/.omlx/logs/server.log(#5179). - API:
reasoning_effort: "none"and"off"now turn thinking off (#5151). A request stopped from the dashboard getsRequest stopped by the server admin, with 409 for non-streaming (#5156). A trailing assistant message on/v1/messagesis continued instead of starting a new turn (#4995), and an attachment with a supported extension is accepted whatever MIME type the client reports, except spreadsheets (#4887). - Affine KV: decode with Affine4 or Affine8 KV cache compression is not token-identical to 0.7.3, so greedy output can differ (#5095).
- Integrations:
omlx launch codexandomlx launch codex_appneed Codex 0.148 or newer (#5026).omlx launch copilotwrites the oMLX provider into Copilot'sproviders.jsonand needs Copilot CLI 1.0.83 or newer (#5066). - Cluster: existing deployments pick up the new prompt cache slot count when they are activated again (#5062), and a DeepSeek V4.1 tensor-parallel model reloads when its A8 settings change (#5086).
New Contributors
@fabriziosalmi in #4506, @alexandergreil in #4673, @christianschmidt in #5014, @begcdn in #5018, @ianderse in #5050, @ska2704 in #5057, @StefVanG in #5090, @Aminark in #5092, @avifenesh in #5101, @syntax922 in #5151, @CamJN in #5159.
详细ChangeLogv0.7.4.dev1
2026年11月04日
oMLX 0.7.4.dev1
This is a development release. Please report any bugs through GitHub Issues. If you need a stable release, please use oMLX 0.7.3.
oMLX 0.7.4.dev1 lets a second Mac with a fast GPU speed up prefill for a model that only fits on your big Mac, and makes DeepSeek V4.1 and Qwen3.8 Flash-Next faster.
Download: macOS 26 / 27 | macOS 15 Sequoia
Prefill Accelerator
Big MoE models fit on a Mac with lots of memory like an M3 Ultra 512GB, but long prompts prefill slowly there. Pair it with a Mac that has a faster GPU, like an M5 Max, and the fast Mac runs the first layers of each prompt chunk while the big Mac runs the rest, decodes and keeps the KV cache. Decode speed stays the same, and Thunderbolt or 5GbE is enough, no RDMA needed (#5065).
Prefill tok/s on a 64K prompt, M3 Ultra 512GB alone and with an M5 Max as the accelerator.
| Model | M3 Ultra alone | + M5 Max 128GB | + M5 Max 64GB |
|---|---|---|---|
| DeepSeek V4.1 Flash | 1,060 | 3,123 (+195%) | 1,466 (+38%) |
| Qwen3.8 Flash-Next | 1,309 | 3,666 (+180%) | 2,859 (+118%) |
| GLM-5.3 Flash | 540 | 1,388 (+157%) | 740 (+37%) |
| MiniMax M3.1 | 297 | 569 (+92%) | 386 (+30%) |
To set it up, turn on Global Settings > Advanced > Enable Distributed Inference on both Macs, pair them in the Cluster tab and choose Prefill Accelerator, then pick the Mac under Acceleration in the model's settings (guide).
Faster DeepSeek V4.1
Prefill now keeps a bounded buffer pool through the layer loop instead of handing every buffer back to Metal after each layer, which makes it 43-48% faster on an M5 Ultra (@junmo-kim in #5031). On M5, oQ4e builds with MXFP4 experts and MXFP8 dense weights also run INT8 Activation Prefill (#5058), and the first decode on a fresh shader cache no longer waits on hundreds of kernel compiles (@junmo-kim in #5025).
| DeepSeek V4.1 Flash | Change | Hardware |
|---|---|---|
| oQ2e-mtp, 32K prompt | Prefill 2,631 -> 3,779 tok/s (+44%) | M5 Ultra |
| oQ2e-mtp, 256K prompt | Prefill 2,604 -> 3,718 tok/s (+43%) | M5 Ultra |
| oQ4e INT8 Activation Prefill, 16K prompt (8-layer slice) | Prefill time 1,580 -> 1,208 ms (-24%) | M5 Max |
| First 600-token decode, cold shader cache | 12.4 -> 45.8 tok/s (+269%) | M5 Ultra |
Faster Qwen3.8 Flash-Next
FP16 Qwen3.8 Flash-Next checkpoints now run the fused hyper-connection and GDN kernels that only BF16 used before, and their greedy output with Lightning MTP on matches MTP off (#5028 with @qoli). On 128 GB Macs, models like Qwen3.8 Flash-Next, GLM-5.3 and DeepSeek V4.1 keep wide prefill chunks under memory pressure, so back-to-back long prompts stop slowing down (@yohann-bearzi in #4902). Decode after long prompts is also 3-5% faster on M5 Max (@yohann-bearzi in #4901).
| Qwen3.8 Flash-Next | Change | Hardware |
|---|---|---|
| oQ2.5e fp16, MTP off, 32K | Decode 38.9 -> 63.0 tok/s (+62%) | M3 Ultra |
| oQ2.5e fp16, MTP on, 4K | Decode 67.8 -> 89.9 tok/s (+33%) | M3 Ultra |
| oQ2.5e fp16, MTP off, 16K | Decode 25.2 -> 31.1 tok/s (+23%) | M2 Max |
| oQ4e, back-to-back 34.5K prompts | Slowest prompt 90.7 -> 13.1 s (-86%) | M5 Max 128GB |
New Features and Improvements
- Integrations:
omlx launch codex,omlx launch codex_appandomlx launch copilothand the agent every chat model on the server, so/modelswitches between oMLX models without relaunching. Each model keeps its own context window, image support and reasoning effort levels (#5026 with @scaryrawr, @scaryrawr in #5066). - Models: Ming-3.0-tts and Ming-3.0 Tiny load as TTS models with a compiled decode loop and fused DiT kernels. Real-time factor on an M5 Max goes 0.210 -> 0.101 (-52%), and 0.798 -> 0.258 (-68%) for Tiny. Voice clones use the checkpoint's CAM++ speaker embedding, and
/v1/audio/voiceslists the built-in voices (#5029). LFM3 models apply RoPE in one launch (b73ee56 with @alan13367). - Batched decode: 6-row 8-bit layers read their weights once, so Qwen3.8-27B oQ8e with 6 requests goes 62.2 -> 72.4 tok/s (+16%) on an M5 Max (b5c7793 with @yohann-bearzi).
- macOS app: Ask AI can answer with an oMLX server on another Mac, with a Test connection button (@ianderse in #5050). The model library checks Hugging Face models for updates and shows the changed files before updating (@ngutech21 in #5046). German now covers the whole app (@christianschmidt in #5014, #5048), and Japanese and Korean counts use 万 and 만 units like the web console (@LXD-8 in #4980).
- Web UI: German for the admin dashboard (@alexandergreil in #4673), and chat sidebar items are more compact, with rename and delete in a ... menu (ce43187).
- API:
/v1/messagescontinues a trailing assistant message as an Anthropic prefill, likepartialon chat completions (@yanzhaohui1999 in #4995). The first plain-text request after a model load no longer builds the grammar compiler, which saves 0.31-0.37 s (ae659d3 with @LXD-8).
Bug Fixes
- Parallel tool results reach the chat template in the order of the tool calls on
/v1/messagesand/v1/chat/completions, so Qwen no longer pairs a result with the wrong call (@yanzhaohui1999 in #5012, 008987a, #4999). - Cluster: agent conversations reuse the prompt cache across tool turns instead of prefilling the whole conversation again. Cached tokens on the fifth turn of a tool loop go 743 -> 9,266 (#5062, #3062).
- A long VLM prompt is tokenized once and off the event loop, so it no longer stalls other streams. On a 119K-token prompt, response headers arrive in 162 ms instead of 320 ms (@ska2704 in #5057, #5005).
- GLM-5.3 gets earlier reasoning as a
reasoning_contentfield in history, as its chat template expects (3b2c355, #5006). - Model Settings shows the saved
reasoning_effortwhen it opens (debf5f7, #5053). - DeepSeek V4.1 fused decode no longer keeps a small index array for every decode position (0de3b0b).
- A memory refusal says how much oMLX itself uses, so the rest of the gap reads as other apps' memory (e47101f).
- Attachments are accepted by their extension when the browser reports an unusual MIME type, so Firefox can attach
.mdfiles (@HamedShams in #4887, #3844). - Splash: an unreadable directory such as
/usr/local/binwith mode 0700 no longer makes/admin/api/modelsreturn 500 (@begcdn in #5018, #5007). - Web UI: the Claude Code command on the status page masks the API key while the copy button still copies the full command, double-clicking Save sends one request (@billythegod in #5055), and the chat input shows a focus ring only with enhanced readability (e493d10, #5054).
- macOS app: Restart Server from the web dashboard no longer leaves the app without a server (@cgs4github in #5070, #5069), a slow update download keeps going and resumes after a stall instead of stopping after an hour (@HamedShams in #4890, #4199), and the menubar icon redraws only when it changes, so WindowServer no longer logs constraint errors on every stats poll on macOS 26 and 27 (f524399, #5049).
Upgrade Notes
- Source installs: run
make installafter updating. transformers up to 5.21 is allowed (#5004), and ddgs moves to 9.16.1 (#5002). - Prefill Accelerator: both Macs need the same oMLX version (#5065).
- Integrations:
omlx launch codexandomlx launch codex_appneed Codex 0.148 or newer (#5026).omlx launch copilotwrites the oMLX provider into Copilot'sproviders.jsoninstead of environment variables and needs Copilot CLI 1.0.83 or newer (#5066). - Cluster: existing deployments pick up the new prompt cache slot count when they are activated again (#5062).
- DeepSeek V4.1 on M5: oQ4e builds with INT8 Activation Prefill on now take the INT8 path, so greedy output can differ at near-ties (#5058).
- API: a trailing assistant message on
/v1/messagesis now continued instead of starting a new turn (#4995). An attachment with a supported extension is accepted whatever MIME type the client reports, except spreadsheets (#4887).
New Contributors
@alexandergreil in #4673, @christianschmidt in #5014, @begcdn in #5018, @ianderse in #5050, @ska2704 in #5057.
详细ChangeLogv0.7.3
2026年11月01日
oMLX 0.7.3
oMLX 0.7.3 makes DeepSeek V4.1 prefill and batched decode faster, lets Ask AI hold voice conversations, search the web, read links and look at your screen, and cuts memory use when many requests run at long context. The notes below cover changes since 0.7.3rc1, and earlier 0.7.3 highlights are summarized at the end.
Download: macOS 26 / 27 | macOS 15 Sequoia
omlx-ask-ai-small.mp4
Ask AI Voice Mode, Web Search and Screen Capture
Talk to your local models. Turn on Voice under App > Ask AI, press Option-Shift-Space and speak, and the answer plays back with captions. Ask AI can also search the web, read links and look at your screen (#4976).
Faster DeepSeek V4.1
DeepSeek V4.1 Flash prefills much faster on M5 with INT8 Activation Prefill in Model Settings (#4946) and Engram prefetch (@N1k1tung in #4993). Batches of more than 8 requests now stay on the fused decode kernels (@junmo-kim in #4989).
| DeepSeek V4.1 Flash | Change | Hardware |
|---|---|---|
| INT8 Activation Prefill, 64K prompt | Prefill 2,882 -> 3,507 tok/s (+22%) | M5 Ultra |
| INT8 Activation Prefill, 195K prompt | Prefill 2,476 -> 3,200 tok/s (+29%) | M5 Ultra |
| Engram prefetch, 128K prompt | Prefill 2,075 -> 2,390 tok/s (+15%) | M5 Ultra |
| 12 concurrent requests | Aggregate decode 56.3 -> 125.7 tok/s (+123%) | M5 Ultra |
INT8 rows: oQ2e-mtp with the setting off and on (off, on, on).
Lower Memory and Faster Decode with Many Requests
Many long conversations at once now use far less memory, because the batch KV cache is updated in place instead of copied (#4916, #4936, #4954, #4971). Batched decode on oQ and affine models reads each weight once for all rows (#4977, #4990), and hybrid Qwen models reuse a shared system prompt across conversations (#4994).
| Workload | Change | Hardware |
|---|---|---|
| 8 Lightning MTP streams at 81K, Qwen3.8-Flash-Next oQ4e | Peak memory 248.0 -> 161.1 GiB (-35%), decode 180.7 -> 241.1 tok/s (+33%) | M3 Ultra |
| 8 agent conversations from 160K, MTP off | Peak memory 185.3 -> 153.0 GiB (-17%), output 36.4 -> 42.4 tok/s (+17%) | M3 Ultra |
| 16 requests, Qwen3.6-27B oQ2.5e, MTP off | Decode 146.9 -> 221.9 tok/s (+51%) | M3 Ultra |
| 8 requests, Qwen3.8-27B oQ4e (fp16), MTP off | Decode 27.9 -> 48.6 tok/s (+74%) | M2 Max |
| 5 requests sharing a 6.5K system prompt, Qwen3.5-0.8B | TTFT 0.89 -> 0.25 s (-72%) | M3 Ultra |
Update Downloaded Models
Check for updates in the model manager, then fetch only the files that changed on Hugging Face instead of downloading the whole model again (#4949).
New Features and Improvements
- DeepSeek V4.1: Macs before M5 get the faster HC projection and decoder skip, +3-4% prefill on an M3 Ultra (#4946). Expert offload reads missed experts straight into their slots (@cropduster in #4951), and small-row HC projections stay FP32 on the fused kernel (fac5de3 with @williamxie1989).
- Ask AI: prompt placeholders such as
{date},{app}and{clipboard}, Enter to send (@tsang in #4962), and a/v1/realtimeendpoint that follows a subset of the OpenAI Realtime API (#4976). - oQ: full-attention layers of hybrid dense models get one more bit, and the oQe calibration now follows each model's own forward. KL drops 9-49% for 2.8-4.5% larger text weights (#4930). DeepSeek V4.1 oQ3e keeps attention and indexer tensors at 8-bit, with 7.8% lower KL for +1.3 GB (6d6a417), and Gemma 4 E2B and E4B builds apply their imatrix (@vichzp in #4625).
- Models: LFM3-1.7B, LFM3-Audio-2B and the LiquidAI d1-2B and d1-Omni-2B decision models (#4937 with @Arpit1980gh). LFM3-Audio and LFM3-Omni serve
/v1/audio/transcriptions,/v1/audio/speechand/v1/audio/process, Qwen3-Omni loads on the VLM engine (#4976), and Unlimited-OCR-2 comes with mlx-vlm 0.7.11 (#4934). - Bonsai: 1-bit and 2-bit layers run on stock MLX kernels. Bonsai-27B 1-bit prefill on a 128-token prompt goes 100 -> 362 tok/s (+262%), and decode goes 66.1 -> 70.5 tok/s (+7%) (#4972).
- M1 and M2 Macs: 6-bit and 8-bit layers use the verify MMA kernel (@fneto1977 in #4898).
- API:
ignore_eoson/v1/chat/completionsand/v1/completions(@starpit in #4978), also applied to the stop tokens of output parsers (96361a5). - Web chat: temporary chats that never reach history (@LXD-8 in #4910).
- GGUF: faster header reads (efa950a with @LXD-8).
Bug Fixes
- The prefill memory guard no longer gets stuck after overlapping requests and rejects every normal prompt until restart (#4903).
- SSD cache: when the configured dir is unavailable, the SSD cache turns off until restart and the web dashboard and the macOS app show a warning, instead of writing to the internal disk (e6d5989). DeepSeek V4.1 CED prefill shares the same SSD budget (#4912), and the dashboard counts old-layout blocks in cache size (1855ba7 with @FazeelUsmani, #4911).
- Lightning MTP: verify on M1 and M2 5-bit models no longer fails with
Thread group size (512) > max 448(#4913). Imported OptiQ and zero-centered MTPLX side-cars get their head norms shifted, so Qwen3.5-9B draft acceptance goes from 0% to 63-82% (4848f57 with @begcdn, #4960). Qwen3.8-Flash-Next oQ builds with an 8-bitout_projtake the fused decode path again with MTP off (#4988). - Tool calls: bare
<invoke name="...">calls are parsed, and MiMo uses the qwen3_coder parser (#4933). Amax_tokenscut inside a Qwen tool call finishes withlengthinstead ofincomplete_tool_call(b2f3239). - Cluster: CUDA ranks no longer deadlock on the first decode step (@desmccrory in #4969, #4743), the Engram SSD offload setting reaches pipeline ranks and counts as SSD-resident (@digitalfactory-ako in #4985, #4984), and a failed launch no longer breaks the next one (@digitalfactory-ako in #4974, #4973).
- Downloads: in repos that publish several precisions side by side, only the default checkpoint is required, so the other precision folders can be unchecked (@Woody-Hu in #4967).
- oQ: the source model list skips entries the server cannot read, such as
.Spotlight-V100on external drives (@jasonpaulso in #4961). - A failed manual model load returns a matching status code and reason instead of a 500 (@LXD-8 in #4948).
- Web UI: saved chats are kept when a chat starts before history loads (@LXD-8 in #4915), and the disable-all-authentication switch is tinted red (@LXD-8 in #4899).
- macOS app: the Logs header inset is back (@LXD-8 in #4900), bench text exports line up their columns (@LXD-8 in #4939), and the accuracy Running row clears after Cancel (@burghr in #4987, #4250).
Highlights from 0.7.3rc1 and the Development Releases
- Ask AI. A question bar for your local models in any app, with slash presets and image input (#4854).
- GPU Power Limit. Caps the GPU's power while a model generates, for working on battery (#4855).
- Faster Qwen3.8-Flash-Next and Ling 3.1 Flash. Ling 3.1 Flash with Lightning MTP up to +82% (#4881), and Flash-Next decode +24% (#4880).
- MiniMax M3.1 Flash. With its DSpark draft as Lightning MTP, up to +87% for one request (#4777).
- Faster M1 and M5 Macs, better low-bit oQ. About 50% faster long-context prefill on M1 Ultra (#4496), DeepSeek V4 prefill attention on the M5 tensor units (#4808), and up to 73% lower KL at the same size (#4776).
Benchmarks and every contributor credit are in the 0.7.3rc1, 0.7.3.dev2 and 0.7.3.dev1 release notes.
Upgrade Notes
- Source installs: run
make installafter updating. mlx-vlm moves to 0.7.11 and mlx-audio to 0.6.3 (#4934), mlx-lm to 0d4d3d04 and modelscope to 1.28 or newer, and transformers up to 5.20 is allowed (#4834). - INT8 activation prefill: the settings
qwen35_oq_a8_enabledandqwen35_oq_a8_min_tokensare nowa8_prefill_enabledanda8_prefill_min_tokens. Saved settings, profiles and recipes with the old names are migrated on load (#4946). - oQ: new quants at the same level get a different bit split, and their text weights can be 2.8-4.5% larger (#4776, #4930). Existing quants load and run as before.
- SSD cache: blocks that earlier versions saved are not reused for gpt-oss, ERNIE 4.5 MoE, PhiMoE, PLaMo 3, FP8 Ministral 3 and Muse Spark (#4778), Ling Flash (#4881), and DeepSeek-OCR encoders, MiniCPM-V 4.6/4.7 vision and per-expert NVFP4 MoE (#4934). DeepSeek V4.1 CED blocks move from the
deepseek_v41_ced_v1subdirectory into the shared cache dir, and the old subdirectory is removed at startup (#4912). If the SSD cache dir is unavailable, the SSD cache is off until restart (e6d5989). - DeepSeek V4 and V4.1: the M5 tensor-unit prefill kernel is not bit-identical to the old one (#4808), and batches of more than 8 V4.1 requests now decode through the fused kernels (#4989), so greedy output can differ at near-ties.
- Cache stats: prefix hit rates can read lower than before, since an evicted or partial restore no longer counts as a full hit (#4782).
- Benchmarks: CMMLU, JMMLU and KMMLU scores can be higher than in earlier runs (#4774).
- API: an empty completion prompt now returns 400, and admin output token defaults must be 1 or more (19178d0).
logprobson an engine that cannot produce them (cluster, Splash, diffusion) returns 400 (#4859). An unclosed tool-call envelope returnsincomplete_tool_callinstead ofstop(#4869), while amax_tokenscut returnslength(b2f3239)./v1/messages/count_tokenscan read higher where tools or thinking settings apply (#4875). Qwen3-TTS withoutmax_tokenstakes its limit fromgeneration_config.json(#4934). - macOS app: updates now download in the background by default and still ask before installing. Turn off Download Automatically under Updates on the Status screen to only get notified.
New Contributors
@jwiegley in #4797, @kathsucurry in #4795, @wesbiggs in #4769, @Abelo9996 in #4753, @ChristianPraiss in #4737, @sampe-bot in #4804, @Phenom300 in #4808, @BrownMark in #4815, @parasew in #4819, @HeinrichvH in #4869, @tsang in #4962, @desmccrory in #4969, @digitalfactory-ako in #4985, @burghr in #4987, @starpit in #4978.
Changes since 0.7.3rc1 | Full changelog from 0.7.2
详细ChangeLogv0.7.3rc1
2026年10月27日
oMLX 0.7.3rc1
This is a release candidate. Please report any bugs through GitHub Issues. If you need a stable release, please use oMLX 0.7.2.
The release candidate for oMLX 0.7.3 adds Ask AI, a question bar for your local models in any app, a GPU power limit for working on battery, and Ling 3.1 Flash with Lightning MTP. It also brings everything from the 0.7.3 development releases: MiniMax M3.1 Flash, faster M1 and M5 Macs, and better low-bit oQ.
Download: macOS 26 / 27 | macOS 15 Sequoia
Ask AI
Ask your local models from any app. Press Option-Space and a question bar floats over whatever you are working on without taking focus, and the answer streams in as Markdown. Slash presets set the model and system prompt per command, so /translate can run a small model with a fixed prompt and copy the result for you. Vision models also take images pasted with Command-V. Turn it on in the macOS app under App > Ask AI. #4854
GPU Power Limit
Working on battery? GPU Power Limit in Model Settings > Advanced caps the Mac's GPU power from 2 to 1000 W while that model generates, in both the web UI and the macOS app, and Ask AI has a limit of its own. The limit applies only while a capped request runs, comes off 15 s after the last one, and never applies to benchmarks. No root or helper app is needed. #4855
M5 Max, decode speed and CPU+GPU energy per token against no limit.
| Limit | 35B-A3B decode | Energy per token | 27B decode | Energy per token |
|---|---|---|---|---|
| 15 W | -6% | -25% | -7% | -29% |
| 10 W | -14% | -37% | -18% | -43% |
| 5 W | -36% | -49% | -48% | -52% |
The GPU power target it sets comes from m5gpu by @beamivalice.
Faster Qwen3.8-Flash-Next, Ling 3.1 Flash and More
Ling 3.1 Flash now loads straight from its original FP8 checkpoint, and Ling Flash 3.0 and 3.1 run their bundled nextn layer as Lightning MTP, which oQ keeps with Preserve MTP. On an M3 Ultra, Ling-3.1-flash oQ4 decodes 18.8 -> 34.3 tok/s (+82%) at 4K context and 18.1 -> 29.6 tok/s (+64%) at 32K, with real-use sampling and one request at a time. #4881
| Model | Change | Hardware |
|---|---|---|
| Qwen3.8-Flash-Next oQ4e | Decode 65.6 -> 81.5 tok/s (+24%), 4 requests 167.6 -> 186.5 tok/s (+11%) | M3 Ultra |
| GLM-5.3-Flash, Macs before M5 | One-request decode, FP8 22.6 -> 25.2 tok/s (+12%), oQ4e 38.6 -> 41.7 tok/s (+8%) | M3 Ultra |
| Flint oQ3e | Decode 91.0 -> 109.1 tok/s (+20%), with TurboQuant at 12K 23.5 -> 75.7 tok/s (3.2x) | M4 Max |
| DeepSeek-V4.1-Flash oQ2e, Engram on SSD | Prefill at 128K 1512 -> 1719 tok/s (+14%) | M5 Ultra |
Each figure is measured against the code right before the change. By @yohann-bearzi (#4880 from #4853, and #4843), @alan13367 (#4857, #4856) and @junmo-kim (#4745). On Macs before M5, GLM-5.3 now gives the same greedy output with Lightning MTP on and off (#4843). Also faster: DeepSeek V4.1 long prefill, +3.5% at 128K on an M3 Ultra (696d070 with @N1k1tung), and M1 5-bit verify, +2.7% with DFlash2 on an M1 Ultra (@fneto1977 in #4830, measured by @jmmarkiewicz).
New Features and Improvements
- Splash: Splash 1.4.1's Ornith-1.5-122B and Flint with their DFlash2 drafts, MoE GGUFs pruned to fewer experts (@arnavprabhu in #4870), Flash-Next GGUF repos with PLE variant folders (@arnavprabhu in #4821, c5127a2), and Delete in the dashboard's SSD cache panel clears Splash's cache too (@arnavprabhu in #4824). The settings now say Splash's SSD cache limit applies per model (#4852).
- API:
/v1/chat/completionsreturns OpenAIlogprobsandtop_logprobs(up to 20) for streaming and non-streaming requests, including reasoning and tool-call tokens and with Lightning MTP on. Closes #1549, taking over from @popfido's #1591 and @ashokgelal's #4380 (#4859). - M1 and M2 Macs: Float16 Activations in Model Settings > Advanced converts a checkpoint's bfloat16 scales, norms and embeddings to float16, which these GPUs run natively. Qwen3.6-35B-A3B oQ4e decode goes 75.9 -> 82.4 tok/s (+9%) on an M1 Max (@parasew in #4819 from @pedroberaldo87's #3277, d1545cc, @yohann-bearzi in #4871).
- MoE expert offload: Model Settings suggests a resident percent that still leaves room for a prompt, and clicking the hint fills it in (#4858, based on @beatakouchnir's #3676).
- Rerankers: a per-model Context Window in the web and Mac Model Settings (@zviratko in #4826, 9401674). Jina rerankers follow the reference block window and v3.5's query and document limits, so a long query no longer fails (79bd852 with @zviratko), and v3.5 runs its sliding layers in window-sized chunks (e4844fe).
- macOS app: updates download in the background and still ask before installing, and a failed install shows in the Status screen and the update sheet (6855520, c03d936 with @joshuabke, from #3144).
- Dependencies and builds: transformers up to 5.20 (#4834), markitdown 0.1.9 (#4833), wheels built with Xcode 26.5 so they include the NAX kernels (@XXXXRT666 in #4836), and dead code cleanups (@shaanchander in #4847, #4848).
Bug Fixes
- Lightning MTP: GLM-5.3 on Macs before M5 and DeepSeek V4 verify drafts with their decode arithmetic (@yohann-bearzi in #4843, @Phenom300 in #4813), the DSpark ring GEMM uses the Steel kernel only where it matches bit for bit (@williamxie1989 in #4612), and mRoPE VLMs keep the running request's positions when a text prompt joins (@popfido in #4837).
- A reply that ends inside an unclosed tool-call envelope returns an
incomplete_tool_callerror instead of the raw text withfinish_reason: stop(@HeinrichvH in #4869, #3153). /v1/messages/count_tokenscounts the prompt/v1/messagesactually renders, with tools, MCP and thinking settings (@richgoodson in #4875).- The memory guard re-reads
iogpu.wired_limit_mb, so raising it while the server runs takes effect (@Woody-Hu in #4860, #4849). - Macs before M5 get the driver's relaxed compute context-store timeout at start, a setting other MLX apps use against Metal
0000000eerrors in long prefills and image prompts (#4872). - Model directories on a disconnected drive stay in settings, and the server starts when none of them is available (0fd3475 with @isnaenihidayat, #4873). An unavailable SSD cache dir falls back to the default one until restart instead of stopping the server (28f50bb with @pmjpmj).
- Splash reports a missing draft or launcher version before memory admission, instead of a memory error sized from the GGUF files (#4876).
- SigLIP and SigLIP2 embed text and images through their own towers (#4850), and Unlimited-OCR takes the model card's
<image>prompt (@tc3oliver in #4822). omlx restartfrom a conda env under Homebrew's Caskroom no longer restarts the Homebrew service (009e75c with @ketpatil77, #3120).- Downloads: the speed readout no longer jumps above the real rate (@LXD-8 in #4844), and a refused retry keeps the row (@LXD-8 in #4845).
- Web UI: long model names in the chat model picker truncate instead of running under the reasoning pill (@bercedev in #4812).
Highlights from 0.7.3.dev2
- MiniMax M3.1 Flash. Served from NVFP4 or oQ with its DSpark draft as Lightning MTP, up to +87% for one request (#4777), plus fused decode kernels for another 14-23% (@yohann-bearzi in #4806).
- Faster M1 and M5 Macs, DFlash and GLM-5.3. About 50% faster long-context prefill on M1 Ultra (@fneto1977 in #4496), DeepSeek V4 prefill attention on the M5 tensor units (@Phenom300 in #4808), fp16 DFlash +33% (@fneto1977 in #4773), and batched GLM-5.3 decode +17% (@jwiegley in #4801).
- Better low-bit oQ. A new bit split lowers KL by up to 73% at the same size (#4776), and DeepSeek V4.1 Engram tables can stay FP8 (#4758).
Benchmarks, the full feature and fix lists, and every contributor credit are in the 0.7.3.dev2 release notes.
Upgrade Notes
- Source installs: run
make installafter updating. mlx-lm moves to 0d4d3d04, mlx-vlm to 0.7.10 and modelscope to 1.28 or newer, and transformers up to 5.20 is allowed (#4834). - oQ: new quants at the same level get a different bit split (#4776). Existing quants load and run as before.
- SSD cache: blocks that earlier versions saved for gpt-oss, ERNIE 4.5 MoE, PhiMoE, PLaMo 3, FP8 Ministral 3 and Muse Spark (#4778) and for Ling Flash (#4881) are not reused, since their numerics changed.
- DeepSeek V4 on M5: the tensor-unit prefill kernel is not bit-identical to the old one, so greedy output can differ at near-ties (#4808).
- Cache stats: prefix hit rates can read lower than before, since an evicted or partial restore no longer counts as a full hit (#4782).
- Benchmarks: CMMLU, JMMLU and KMMLU scores can be higher than in earlier runs (#4774).
- API: an empty completion prompt now returns 400, and admin output token defaults must be 1 or more (19178d0).
logprobson an engine that cannot produce them (cluster, Splash, diffusion) returns 400 (#4859), an unclosed tool-call envelope returnsincomplete_tool_callinstead ofstop(#4869), and/v1/messages/count_tokenscan read higher where tools or thinking settings apply (#4875). - macOS app: updates now download in the background by default and still ask before installing. Turn off Download Automatically under Updates on the Status screen to only get notified.
New Contributors
@jwiegley in #4797, @kathsucurry in #4795, @wesbiggs in #4769, @Abelo9996 in #4753, @ChristianPraiss in #4737, @sampe-bot in #4804, @Phenom300 in #4808, @BrownMark in #4815, @parasew in #4819, @HeinrichvH in #4869.
详细ChangeLogv0.7.3.dev2
2026年10月25日
oMLX 0.7.3.dev2
This is a hotfix release that fixes an error when turning on Lightning MTP for MiniMax M3.1 (#4827). It also removes the stray
</think>at the start of MiniMax M3.1 non-streaming replies and fixes prefill for DeepSeek V4 Flash oQ3.5e.
This is a development release. Please report any bugs through GitHub Issues. If you need a stable release, please use oMLX 0.7.2.
oMLX 0.7.3.dev2 adds MiniMax M3.1 Flash with Lightning MTP, makes M1 and M5 Macs, DFlash on fp16 models and GLM-5.3 faster, and gives low-bit oQ quants a better split of their bits.
Download: macOS 26 / 27 | macOS 15 Sequoia
MiniMax M3.1 Flash
oMLX now serves MiniMax M3.1 Flash from the original NVFP4 checkpoint or from oQ builds. Its bundled DSpark draft runs as Lightning MTP and verifies a whole batch in one forward, and greedy output is the same with it on or off. #4777
oQ4e on an M3 Ultra, 1024-token code continuations with real-use sampling, measured before #4806.
| Requests | Lightning MTP off -> on (tok/s) |
|---|---|
| 1 | 22.5 -> 42.0 (+87%) |
| 2 | 33.3 -> 45.3 (+36%) |
| 4 | 41.8 -> 50.2 (+20%) |
| 8 | 48.7 -> 56.1 (+15%) |
On top of that, fused decode kernels make one-request decode 14% faster at short context and 21-23% faster from 5K to 64K tokens with bitwise-identical output, and a batched row now decodes exactly like the same request alone (@yohann-bearzi in #4806).
Faster M1 and M5 Macs, DFlash and GLM-5.3
M1 Macs get speculative verify and long-context attention routes of their own. They were tuned on an M1 Max and checked on an M1 Ultra by @jmmarkiewicz, where prefill runs about 50% faster with decode level and peak memory a little lower (@fneto1977 in #4496). On M5 Macs, DeepSeek V4's ratio-4 prefill attention now runs on the tensor units (@Phenom300 in #4808, cf91ba8).
| Model | Change | Hardware |
|---|---|---|
| Qwen3.6-35B-A3B oQ4e, Lightning MTP | Prefill at 100K 429 -> 644 tok/s (+50%), at 134K 346 -> 528 tok/s (+53%) | M1 Ultra |
| DeepSeek-V4-Flash-0731 oQ2.5e | Prefill at 32K 650 -> 767 tok/s (+18%) | M5 Max |
| Qwen3.8-27B oQ4e fp16 + DFlash2 | 1 request 106 -> 141 tok/s (+33%), 3 requests 45 -> 52 tok/s each (+16%) | M3 Ultra |
| GLM-5.3 Flash oQ4e, 2 requests at 64K | Decode 16.4 -> 19.2 tok/s each (+17%) | M3 Ultra |
A bf16 DFlash drafter next to an fp16 target used to run its whole forward in fp32. It now runs in fp16 with an fp32 residual stream (@fneto1977 in #4773). Batched GLM-5.3 decode scores short indexer queries without padded tiles (@jwiegley in #4801, 0b8ab34), and each GLM-5.3 KDA layer stops keeping its input projections twice, which frees 3.27 GB on GLM-5.3 Flash oQ4e (@junmo-kim in #4764).
Better Low-Bit oQ
oQ gave the output head and embeddings 8 bits at every level, which left too few bits for the attention and MLP layers in low-bit quants. The head now gets base + 3 bits, dense models below 3-bit move every attention and MLP tensor to 3-bit first, and MoE models raise the layers every token runs through before routed experts. Sizes stay within 0.07 GB, and DeepSeek V4.1 plans don't change. #4776
KL against the original model in fp32, lower is better. Qwen3.8-27B and Qwen3.6-35B-A3B are compared with the 0.7.1 builds.
| Model | Level | Chat KL | MMLU-ProX same answer |
|---|---|---|---|
| Qwen3.8-27B | oQ2.5e | 0.28 -> 0.075 (-73%) | 62.0% -> 70.0% |
| Qwen3.5-4B | oQ2.5e | 0.78 -> 0.26 (-67%) | 37.7% -> 40.0% |
| Gemma 4 26B-A4B | oQ4e | 0.076 -> 0.039 (-49%) | 84.6% -> 89.4% |
| Qwen3.6-35B-A3B | oQ4e | 0.020 -> 0.014 (-30%) | 88.3% -> 90.3% |
oQ can also keep DeepSeek V4.1's Engram tables at their original FP8 precision with "Keep original Engram tables" in Advanced settings. The tables sit outside the bit budget and can be served from SSD, so they cost disk space but no resident memory (#4758).
New Features and Improvements
- Models: RecursiveSI Flint serving and oQ (@scaryrawr in #4763, 3df9460), KRAFTON Raon-1 mini without
trust_remote_code(@Bannng in #4750, a0eebd0), MiniCPM-V 4.7 with OpenBMB's DSpark draft through DFlash, 72.7 -> 110 tok/s (+51%) on an M4 Max (@ChristianPraiss in #4737, a184dc1), and Muse Spark on mlx-lm's own model, with earlier oMLX conversions still loading (#4778). - Lightning MTP: the batch park backoff now carries across requests joining and leaving, so MTP-on throughput with 8 clients on Qwen3.8-Flash-Next rises 11% on an M5 Max and 3% on an M3 Ultra (@yohann-bearzi in #4810).
- DeepSeek V4.1: with MoE expert offload, prefill reads the next chunk's experts while the current one runs, +4% when the experts come from SSD (@williamxie1989 in #4668, 1330571).
- Prompt cache: clients can send
X-oMLX-Cache-Store: offto keep a one-shot request out of the prefix cache, and the request still reuses prefixes others stored (@BrownMark in #4815). - Chat: images returned by MCP tools show as thumbnails and the model gets a one-line note instead of a huge base64 string (@wesbiggs in #4769), and full model names show on hover in the model picker (@sampe-bot in #4804).
- Downloads: Hugging Face model URLs, including
/tree/mainand file links, work in the download box (@shaanchander in #4807). - Cluster: the plan preview says why the cluster runs the TCP ring instead of RDMA and how to fix a Thunderbolt Bridge address (6aba0dd), and a rank that exits shows its own last output lines (@Abelo9996 in #4753).
- Dependencies: mlx-lm 0d4d3d04 (#4778), and mlx-vlm 0.7.10, which fixes wrong output for shorter requests in Qwen2-VL, Qwen2.5-VL and LLaVA batches (#4783).
Bug Fixes
- Prompt-opened thinking is split from the answer on Chat Completions, Messages and Responses, and a Responses stream with thinking off no longer sends the answer twice (@jwiegley in #4798).
/v1/messageshonorstool_choice: nonefor client and MCP tools and incount_tokens(@richgoodson in #4818, 8c1b980).- SpecPrefill keep rate and threshold from Model Settings apply on Responses, Messages, Completions and benchmarks, not only on chat completions (24740a3 with @popfido, #3056).
- An empty completion prompt gets a 400 instead of failing every other request on the engine (19178d0 with @jwiegley), and SSE keepalive chunks carry the request's model and a real timestamp (@jwiegley in #4797).
- VLM prompts keep each image next to its label when text sits between images (@bercedev in #4770, 017b0cc), and MiniCPM-V 4.7 loads after a Qwen3.5/3.6 VLM in the same server (#4783).
- Cache: a dirty hot-cache entry is written at shutdown even when an older file has the same hash (@billythegod in #4792), and prefix hit counters count only KV that was actually reused (@fqx in #4782).
- Cancelling a model load while the engine is still starting, such as cancelling a benchmark, no longer leaves the model in memory (@billythegod in #4788, dc91812).
- Cancelling a ModelScope download stops the transfer right away (8391858 with @billythegod), and a Hugging Face upload keeps the model's own README (9c4e981 with @billythegod).
- Restoring the Claude Desktop gateway twice no longer switches a third-party setup back to first-party (@billythegod in #4791).
- CUDA cluster workers no longer exit at startup when mlx-vlm is not installed (@bercedev in #4751).
- oQ: text-only Qwen3.5 checkpoints such as Hemmingway-1 quantize (@arnavprabhu in #4803), DiffusionGemma gets past sanitize (@Abelo9996 in #4754), and MiniMax M3's patch merger stays unquantized like the rest of its vision path (#4806).
- CMMLU, JMMLU and KMMLU find the answer letter when Chinese, Japanese or Korean text touches it (@MaxFreedomPollard in #4774).
- Web UI: the chat context meter shows the window the server enforces (@kathsucurry in #4795), the dashboard and chat run their startup once instead of twice (@kathsucurry in #4796), the Model Settings header fits on phones (@stellarsailor in #4752), and the duplicate readability switch leaves the chat settings sheet (@LXD-8 in #4700).
Upgrade Notes
- Source installs: run
make installafter updating. mlx-lm moves to 0d4d3d04, mlx-vlm to 0.7.10 and modelscope to 1.28 or newer. - oQ: new quants at the same level get a different bit split (#4776). Existing quants load and run as before.
- SSD cache: blocks that earlier versions saved for gpt-oss, ERNIE 4.5 MoE, PhiMoE, PLaMo 3, FP8 Ministral 3 and Muse Spark are not reused, since mlx-lm changed their numerics (#4778).
- DeepSeek V4 on M5: the tensor-unit prefill kernel is not bit-identical to the old one, so greedy output can differ at near-ties (#4808).
- Cache stats: prefix hit rates can read lower than before, since an evicted or partial restore no longer counts as a full hit (#4782).
- Benchmarks: CMMLU, JMMLU and KMMLU scores can be higher than in earlier runs (#4774).
- API: an empty completion prompt now returns 400, and admin output token defaults must be 1 or more (19178d0).
New Contributors
@jwiegley in #4797, @kathsucurry in #4795, @wesbiggs in #4769, @Abelo9996 in #4753, @ChristianPraiss in #4737, @sampe-bot in #4804, @Phenom300 in #4808, @BrownMark in #4815.
详细ChangeLogv0.7.3.dev1
2026年10月25日
oMLX 0.7.3.dev1
Please use oMLX 0.7.3.dev2 instead. It is a hotfix release that fixes an error when turning on Lightning MTP for MiniMax M3.1 (#4827). The download links below now point to 0.7.3.dev2.
This is a development release. Please report any bugs through GitHub Issues. If you need a stable release, please use oMLX 0.7.2.
oMLX 0.7.3.dev1 adds MiniMax M3.1 Flash with Lightning MTP, makes M1 and M5 Macs, DFlash on fp16 models and GLM-5.3 faster, and gives low-bit oQ quants a better split of their bits.
Download: macOS 26 / 27 | macOS 15 Sequoia
MiniMax M3.1 Flash
oMLX now serves MiniMax M3.1 Flash from the original NVFP4 checkpoint or from oQ builds. Its bundled DSpark draft runs as Lightning MTP and verifies a whole batch in one forward, and greedy output is the same with it on or off. #4777
oQ4e on an M3 Ultra, 1024-token code continuations with real-use sampling, measured before #4806.
| Requests | Lightning MTP off -> on (tok/s) |
|---|---|
| 1 | 22.5 -> 42.0 (+87%) |
| 2 | 33.3 -> 45.3 (+36%) |
| 4 | 41.8 -> 50.2 (+20%) |
| 8 | 48.7 -> 56.1 (+15%) |
On top of that, fused decode kernels make one-request decode 14% faster at short context and 21-23% faster from 5K to 64K tokens with bitwise-identical output, and a batched row now decodes exactly like the same request alone (@yohann-bearzi in #4806).
Faster M1 and M5 Macs, DFlash and GLM-5.3
M1 Macs get speculative verify and long-context attention routes of their own. They were tuned on an M1 Max and checked on an M1 Ultra by @jmmarkiewicz, where prefill runs about 50% faster with decode level and peak memory a little lower (@fneto1977 in #4496). On M5 Macs, DeepSeek V4's ratio-4 prefill attention now runs on the tensor units (@Phenom300 in #4808, cf91ba8).
| Model | Change | Hardware |
|---|---|---|
| Qwen3.6-35B-A3B oQ4e, Lightning MTP | Prefill at 100K 429 -> 644 tok/s (+50%), at 134K 346 -> 528 tok/s (+53%) | M1 Ultra |
| DeepSeek-V4-Flash-0731 oQ2.5e | Prefill at 32K 650 -> 767 tok/s (+18%) | M5 Max |
| Qwen3.8-27B oQ4e fp16 + DFlash2 | 1 request 106 -> 141 tok/s (+33%), 3 requests 45 -> 52 tok/s each (+16%) | M3 Ultra |
| GLM-5.3 Flash oQ4e, 2 requests at 64K | Decode 16.4 -> 19.2 tok/s each (+17%) | M3 Ultra |
A bf16 DFlash drafter next to an fp16 target used to run its whole forward in fp32. It now runs in fp16 with an fp32 residual stream (@fneto1977 in #4773). Batched GLM-5.3 decode scores short indexer queries without padded tiles (@jwiegley in #4801, 0b8ab34), and each GLM-5.3 KDA layer stops keeping its input projections twice, which frees 3.27 GB on GLM-5.3 Flash oQ4e (@junmo-kim in #4764).
Better Low-Bit oQ
oQ gave the output head and embeddings 8 bits at every level, which left too few bits for the attention and MLP layers in low-bit quants. The head now gets base + 3 bits, dense models below 3-bit move every attention and MLP tensor to 3-bit first, and MoE models raise the layers every token runs through before routed experts. Sizes stay within 0.07 GB, and DeepSeek V4.1 plans don't change. #4776
KL against the original model in fp32, lower is better. Qwen3.8-27B and Qwen3.6-35B-A3B are compared with the 0.7.1 builds.
| Model | Level | Chat KL | MMLU-ProX same answer |
|---|---|---|---|
| Qwen3.8-27B | oQ2.5e | 0.28 -> 0.075 (-73%) | 62.0% -> 70.0% |
| Qwen3.5-4B | oQ2.5e | 0.78 -> 0.26 (-67%) | 37.7% -> 40.0% |
| Gemma 4 26B-A4B | oQ4e | 0.076 -> 0.039 (-49%) | 84.6% -> 89.4% |
| Qwen3.6-35B-A3B | oQ4e | 0.020 -> 0.014 (-30%) | 88.3% -> 90.3% |
oQ can also keep DeepSeek V4.1's Engram tables at their original FP8 precision with "Keep original Engram tables" in Advanced settings. The tables sit outside the bit budget and can be served from SSD, so they cost disk space but no resident memory (#4758).
New Features and Improvements
- Models: RecursiveSI Flint serving and oQ (@scaryrawr in #4763, 3df9460), KRAFTON Raon-1 mini without
trust_remote_code(@Bannng in #4750, a0eebd0), MiniCPM-V 4.7 with OpenBMB's DSpark draft through DFlash, 72.7 -> 110 tok/s (+51%) on an M4 Max (@ChristianPraiss in #4737, a184dc1), and Muse Spark on mlx-lm's own model, with earlier oMLX conversions still loading (#4778). - Lightning MTP: the batch park backoff now carries across requests joining and leaving, so MTP-on throughput with 8 clients on Qwen3.8-Flash-Next rises 11% on an M5 Max and 3% on an M3 Ultra (@yohann-bearzi in #4810).
- DeepSeek V4.1: with MoE expert offload, prefill reads the next chunk's experts while the current one runs, +4% when the experts come from SSD (@williamxie1989 in #4668, 1330571).
- Prompt cache: clients can send
X-oMLX-Cache-Store: offto keep a one-shot request out of the prefix cache, and the request still reuses prefixes others stored (@BrownMark in #4815). - Chat: images returned by MCP tools show as thumbnails and the model gets a one-line note instead of a huge base64 string (@wesbiggs in #4769), and full model names show on hover in the model picker (@sampe-bot in #4804).
- Downloads: Hugging Face model URLs, including
/tree/mainand file links, work in the download box (@shaanchander in #4807). - Cluster: the plan preview says why the cluster runs the TCP ring instead of RDMA and how to fix a Thunderbolt Bridge address (6aba0dd), and a rank that exits shows its own last output lines (@Abelo9996 in #4753).
- Dependencies: mlx-lm 0d4d3d04 (#4778), and mlx-vlm 0.7.10, which fixes wrong output for shorter requests in Qwen2-VL, Qwen2.5-VL and LLaVA batches (#4783).
Bug Fixes
- Prompt-opened thinking is split from the answer on Chat Completions, Messages and Responses, and a Responses stream with thinking off no longer sends the answer twice (@jwiegley in #4798).
/v1/messageshonorstool_choice: nonefor client and MCP tools and incount_tokens(@richgoodson in #4818, 8c1b980).- SpecPrefill keep rate and threshold from Model Settings apply on Responses, Messages, Completions and benchmarks, not only on chat completions (24740a3 with @popfido, #3056).
- An empty completion prompt gets a 400 instead of failing every other request on the engine (19178d0 with @jwiegley), and SSE keepalive chunks carry the request's model and a real timestamp (@jwiegley in #4797).
- VLM prompts keep each image next to its label when text sits between images (@bercedev in #4770, 017b0cc), and MiniCPM-V 4.7 loads after a Qwen3.5/3.6 VLM in the same server (#4783).
- Cache: a dirty hot-cache entry is written at shutdown even when an older file has the same hash (@billythegod in #4792), and prefix hit counters count only KV that was actually reused (@fqx in #4782).
- Cancelling a model load while the engine is still starting, such as cancelling a benchmark, no longer leaves the model in memory (@billythegod in #4788, dc91812).
- Cancelling a ModelScope download stops the transfer right away (8391858 with @billythegod), and a Hugging Face upload keeps the model's own README (9c4e981 with @billythegod).
- Restoring the Claude Desktop gateway twice no longer switches a third-party setup back to first-party (@billythegod in #4791).
- CUDA cluster workers no longer exit at startup when mlx-vlm is not installed (@bercedev in #4751).
- oQ: text-only Qwen3.5 checkpoints such as Hemmingway-1 quantize (@arnavprabhu in #4803), DiffusionGemma gets past sanitize (@Abelo9996 in #4754), and MiniMax M3's patch merger stays unquantized like the rest of its vision path (#4806).
- CMMLU, JMMLU and KMMLU find the answer letter when Chinese, Japanese or Korean text touches it (@MaxFreedomPollard in #4774).
- Web UI: the chat context meter shows the window the server enforces (@kathsucurry in #4795), the dashboard and chat run their startup once instead of twice (@kathsucurry in #4796), the Model Settings header fits on phones (@stellarsailor in #4752), and the duplicate readability switch leaves the chat settings sheet (@LXD-8 in #4700).
Upgrade Notes
- Source installs: run
make installafter updating. mlx-lm moves to 0d4d3d04, mlx-vlm to 0.7.10 and modelscope to 1.28 or newer. - oQ: new quants at the same level get a different bit split (#4776). Existing quants load and run as before.
- SSD cache: blocks that earlier versions saved for gpt-oss, ERNIE 4.5 MoE, PhiMoE, PLaMo 3, FP8 Ministral 3 and Muse Spark are not reused, since mlx-lm changed their numerics (#4778).
- DeepSeek V4 on M5: the tensor-unit prefill kernel is not bit-identical to the old one, so greedy output can differ at near-ties (#4808).
- Cache stats: prefix hit rates can read lower than before, since an evicted or partial restore no longer counts as a full hit (#4782).
- Benchmarks: CMMLU, JMMLU and KMMLU scores can be higher than in earlier runs (#4774).
- API: an empty completion prompt now returns 400, and admin output token defaults must be 1 or more (19178d0).
New Contributors
@jwiegley in #4797, @kathsucurry in #4795, @wesbiggs in #4769, @Abelo9996 in #4753, @ChristianPraiss in #4737, @sampe-bot in #4804, @Phenom300 in #4808, @BrownMark in #4815.
详细ChangeLogv0.7.2
2026年10月21日
oMLX 0.7.2
oMLX 0.7.2 brings faster DeepSeek V4.1 on every oQ build, Lightning MTP across Macs in distributed inference, and Qwen3.8-Flash-Next GGUFs on Splash. It's only been a day since 0.7.1, but these were worth shipping now.
Download: macOS 26 / 27 | macOS 15 Sequoia
Faster DeepSeek V4.1 on oQ2e to oQ4e
The fused decode kernels in 0.7.1 only read the MXFP weights of oQ4e, so oQ2e, oQ2.5e and oQ3e still decoded on a slower generic path. They now run on the fused kernels too, Lightning MTP verify shares work across the checked tokens, and prefill runs in 8192-token chunks. #4722
DeepSeek-V4.1-Flash-1017
-mtpcheckpoints, 16K prompt, M3 Ultra 512GB.
| Quants | Decode, MTP off (tok/s) | Decode, MTP + CED (tok/s) | Prefill, MTP + CED (tok/s) |
|---|---|---|---|
| oQ2e | 23.0 -> 39.5 (+72%) | 55.6 -> 59.2 (+6%) | 741 -> 1008 (+36%) |
| oQ2.5e | 22.8 -> 39.5 (+73%) | 47.4 -> 67.1 (+42%) | 737 -> 1003 (+36%) |
| oQ3e | 22.9 -> 42.7 (+86%) | 49.4 -> 68.2 (+38%) | 700 -> 949 (+36%) |
| oQ4e | 32.8 -> 38.7 (+18%) | 53.8 -> 64.1 (+19%) | 773 -> 1010 (+31%) |
With Lightning MTP + CED, prefill holds around 900 tok/s all the way to a 128K prompt.
Lightning MTP in Distributed Inference
Distributed inference now runs Lightning MTP on DeepSeek V4.1 and GLM-5.3 with pipeline or tensor splits. It turns on by the same rule as on one Mac, when the checkpoint has a draft head and the model setting does not turn it off. #4732
These runs used a TCP ring over Thunderbolt, not RDMA, so the absolute numbers are not the best case. Read them for the gain from Lightning MTP.
| Two M3 Ultra over Thunderbolt | Split | Sampled (tok/s) | Greedy (tok/s) |
|---|---|---|---|
| DeepSeek V4.1 Flash oQ4e | Pipeline | 28.7 -> 32.4 (+13%) | 29.1 -> 34.3 (+18%) |
| DeepSeek V4.1 Flash oQ4e | Tensor | 13.3 -> 24.3 (+83%) | 13.5 -> 25.4 (+89%) |
| GLM-5.3 Flash oQ4e | Pipeline | 37.0 -> 42.6 (+15%) | 37.6 -> 47.4 (+26%) |
| GLM-5.3 Flash oQ4e | Tensor | 13.7 -> 27.7 (+102%) | 13.7 -> 25.7 (+88%) |
Decode with Lightning MTP off -> on, 512 generated tokens, measured before the #4722 kernels. Sampled is temperature 1.0, top_p 0.95, top_k 20.
- No more pipeline stall: an idle pipeline stage let the GPU slow down, which held DeepSeek V4.1 at about 1 tok/s across two Macs. It now decodes at about 28 tok/s with Lightning MTP off.
- Thunderbolt warnings: the plan preview warns when a Thunderbolt Bridge has only a self-assigned 169.254 address, which made the cluster fall back to the LAN or Wi-Fi without a word, and when the link runs over Wi-Fi.
More Models on Splash
With Splash 1.4.0, Qwen3.8-Flash-Next GGUFs run on Splash, and oMLX offers the matching incoai/Qwen3.8-Flash-Next-DFlash2 draft when it is missing. Splash 1.4.0 streams experts from SSD when memory is tight, and the Q2_0 build ran on a 64 GB M5 Pro. By @arnavprabhu in #4719, with a follow-up in 4f605d6.
- Split GGUFs: multi-part GGUFs at the repo root or in variant folders like
Q2_0/download, list and delete as one model, together with the shared vision projector. - OptiQ checkpoints: mlx-community OptiQ builds that keep their vision weights in a subfolder are staged the way Splash reads them, so they start instead of failing with a 409 (#4718).
Other Changes
- Claude Code: notes that Claude Code sends after a tool result (hook context, loaded rules, reminders) stay in place instead of moving into the leading system block, so a turn no longer prefills the whole conversation again (@JarJarFran in #4712). Splash keeps later system messages in place too (@phaedrus1992 in #4708) and receives
preserve_thinking(@isaac-cf-wong in #4594). - Claude Code auto mode: classifier requests get a 256-token thinking budget, so reasoning models answer before the classifier deadline (f0e3f6a, with @phaedrus1992 from #4714).
- DFlash: ParoQuant Qwen3, Qwen3-MoE and Qwen3.5 targets can use DFlash (87251ad, with @popfido from #4685).
- SpecPrefill: a SpecPrefill request no longer shifts the RoPE positions of requests already decoding beside it, and sliding-window models no longer process the last prompt token twice (@billythegod in #4688). Gemma 3 global attention layers get the right rotation in sparse prefill (78d93f3).
- API:
omlx launchworks with an IPv6 bind host, and zero or negative values for max tokens, reranktop_n, embeddingdimensionsand TTS sampling fields are rejected (@billythegod in #4689, bed3f35). - Attachments: browser files sent as
application/octet-streamare converted by their extension (@saichowdary007 in #4179). - Benchmarks: throughput tg rows decode the full length instead of stopping at the model's end of turn (@zviratko in #4687).
- Cluster: "Forget this Mac" no longer fails with a 500 (@bercedev in #4716).
- Web UI: the navbar menus and hover-only copy and unload buttons can be reached from the keyboard (#4729), console text meets WCAG AA and links use the grey scale (#4727), the dark theme shows the memory meter, plain commands and off switches (#4728), Status lines up with the other tabs (#4731), status card text stays inside narrow cards (#4706), and the log line count and hot cache unit read correctly (#4707), all by @LXD-8. The SpecPrefill link in model settings works again (@shaanchander in #4723), and Chinese bench metric cards lead with the abbreviation (@LXD-8 in #4699).
- Homebrew: formula updates no longer race when releases ship back to back (@billythegod in #4691).
Upgrade Notes
- Source installs: run
make install(ormake kernels) after updating. The sparse attention kernel changed in #4722. - DeepSeek V4.1: prefill now runs in 8192-token chunks, so peak memory at a 16K prompt is 4-7 GB higher. With the SSD cache on, cache blocks are 8192 tokens, and a request that changes something inside the last 8192 tokens recomputes from that boundary.
- Cluster: Lightning MTP now turns on for deployments whose checkpoint has a draft head. Turn it off in Model Settings to keep the old behavior.
- Benchmarks: tg rows now decode the full length, so gen tok/s is not directly comparable with earlier runs of models that used to stop early.
New Contributors
@phaedrus1992 in #4708, @JarJarFran in #4712, @bercedev in #4716, @shaanchander in #4723.
详细ChangeLogv0.7.1
2026年10月20日
oMLX 0.7.1
oMLX 0.7.1 adds GGUF downloads served through Splash, much faster DeepSeek V4.1 decode, 4-bit and 8-bit KV cache formats, a fix for GPU hangs when several models run at once, and distributed inference for more models. The notes below cover changes since 0.7.1rc1, and earlier 0.7.1 highlights are summarized at the end.
Download: macOS 26 / 27 | macOS 15 Sequoia
GGUF Models Through Splash
The model downloader now filters Hugging Face repos by MLX or GGUF and lets you pick the files you want, and a GGUF variant brings its vision projector along. Downloaded GGUFs show up as models, and Qwen3.8-27B and Qwen3.6-35B-A3B GGUFs run on Splash, as do NVFP4 and FP8 checkpoints with Splash 1.3.2. #4679
When memory is tight, Splash now fits the context to its budget instead of failing to start with a 409 (@Flo5k5 in #4677).
Faster DeepSeek V4.1
DeepSeek V4.1 Flash decode now runs on fused kernels, and concurrent requests read the weights once per step instead of running one by one. The kernels follow DeepSeek's reference numerics, and with DSpark Lightning MTP on, greedy output now matches decoding without it token for token. By @yohann-bearzi in #4658.
| DeepSeek V4.1 Flash oQ4e | Change | Hardware |
|---|---|---|
| 1 request | Decode 20.9 -> 34.3 tok/s (+64%) | M3 Ultra |
| 4 concurrent requests | Aggregate decode 19.4 -> 68.6 tok/s (+254%) | M3 Ultra |
| 8 concurrent requests | Aggregate decode 19.4 -> 91.8 tok/s (+373%) | M3 Ultra |
| Engram on SSD, 8K prompt | TTFT -5.5% | M5 Max |
Engram rows on SSD are read exactly instead of faulting whole pages (@williamxie1989 in #4674, e7d4327), and wide prefill chunks prefetch their Engram rows (@rubencu in #4670).
Affine 4-bit and 8-bit KV Cache
Affine4 and Affine8 are new KV cache formats next to TurboQuant. Full-attention KV is packed into 4-bit or 8-bit codes as each prefill chunk is written, and decode runs on a packed attention kernel on any Mac that can build it. Pick it in Model Settings > Memory Saving > KV cache compression. #4659, built on #3582 by @Cianidos.
| KV format | M5 Max prefill (tok/s) | M5 Max decode (tok/s) | Prefill peak | Full-attention KV |
|---|---|---|---|---|
| Native BF16 | 729.8 | 26.1 | 4.66 GiB | 2.00 GiB |
| Affine4 | 699.0 | 25.5 | 3.19 GiB | 0.52 GiB (-74%) |
| Affine8 | 696.7 | 25.6 | 3.68 GiB | 1.02 GiB (-49%) |
Qwen3.8-27B-oQ4e-mtp, 32,767-token prompt, 128 greedy tokens. Prefill peak is MLX memory above the weights. Every format returned the passkey.
Several Models at Once Without GPU Hangs
With two or more busy models, the GPU could lock up and macOS reset it, failing requests on every loaded model (#4224). All engines now submit GPU work through one shared command queue. #4637
| Seven models, two streams each (M3 Ultra) | Before | After |
|---|---|---|
| Time under load | 75 min | 151 min |
| GPU resets | 5 | 0 |
| Failed requests | 24 | 0 |
Distributed Inference for More Models
Distributed inference now runs checkpoints that used to work on one Mac only. #4678
- GLM-5.3 and DeepSeek V4.1 across Macs, with pipeline or tensor parallelism, oQ exports included.
- VLM checkpoints as text models, so Qwen3.6, GLM-5.3 and DeepSeek V4.1 builds with a vision config run and refuse media input up front.
- Plans that match what each Mac loads, so Engram tables, vision towers and draft heads no longer skew the split.
- Staging over Thunderbolt or RDMA, when SSH answers on that link, with the route and throughput logged per Mac.
- Easier pairing, loopback-only nodes are flagged and a missing SSH host key asks for Remote Login (#4647, #3021).
New Features and Improvements
- Claude Desktop: a Claude Desktop toggle maps
claude-opus,claude-sonnetandclaude-haikuto your tier models, andomlx launch claude_desktoppoints the app at oMLX (@giuseppebonanno in #3592). - Realtime transcription: the chat mic and the realtime WebSocket work with every STT model, which transcribes each phrase after a pause (2792f06, from @zviratko's idea in #4655).
- Qwen3.8-Flash-Next expert offload: experts load into shared buffers instead of Python bytes, +5-8% decode on M1 Max with 25% of experts resident (@oddmundleikvoll in #4210, 3166191).
- Lightning MTP on Qwen3.8-Flash-Next: the adaptive controller no longer parks MTP on text where it still wins, and Flash-Next defaults to one draft per cycle for steadier decode (@e-Evolution in #4648).
- Muse Spark Open: checkpoints in the mlx-lm 0.32.2 layout load, including the new mlx-community oQ3e and oQ4e builds, and oQ writes that layout (#4604).
- GLM-5.3-Flash: ModelOpt NVFP4 checkpoints load with their per-expert scales, with or without expert offload (@junmo-kim in #4661, 7a92826).
- Downloads: each row shows the time left from the one-minute average rate (c0d8d6d), and progress is steadier with fewer false stalls on slow links (#4638).
- API: responses carry the engine request id in
X-oMLX-Request-ID(#4046). - Web UI: a number scale in Settings > Appearance for exact digits or compact units with local 万/億/억 units (@LXD-8 in #4633, #4652), light theme surfaces on one neutral gray (@LXD-8 in #4564, #4565), and Chinese for the remaining English strings (@LXD-8 in #4457).
Bug Fixes
- The memory guard no longer throttles prefill into small chunks while memory is free (#4603).
- A lone short prompt keeps one-call admission, cutting time to first text by 26% in a mixed long/short test (@samfenwick in #4595), and the generation-prompt tail runs in the same prefill step (#4503).
- Qwen ANE prefill keeps the loaded model close to its size, 46.75 -> 28.93 GB on the reported model (#4657).
- fp16 SDPA with head dim 256 stays under the M1/M2 thread limit (#4609).
- Qwen3.8-Flash-Next caches grow on the capacity ladder instead of copying the whole bank each step, and extracted rows no longer double (@yoyo930021 in #3963, #4030).
- Tip strip and SpecPrefill draft blocks stay out of the hot cache under memory pressure (7372542).
- DeepSeek V4.1 unload finishes cleanup after a resource error (@rubencu in #4667), and offloaded experts stay on the unfused decode path (cde10a5).
- Streaming qwen3_coder tool calls whose values contain
</function>no longer leak into content (@richgoodson in #4654), union-typed XML parameters acceptTrue/False(@yanzhaohui1999 in #4646, ceb1430), and gpt-oss structured output uses the Harmony grammar and stops after one answer (#4656). - Claude Code's
<total_tokens>budget notes are stripped on the chat and Responses paths (@yanzhaohui1999 in #4627). - Images are downscaled before EXIF orientation and RGB conversion, so a tiny PNG declaring 12000x12000 pixels no longer costs about 1 GiB (@pierre427 in #3885).
- Muse Glimmer keeps its vendored module when another VLM loads first (#4599).
- Web chat keeps the streamed reply when the connection drops (@yanzhaohui1999 in #4645) and exports the chats on screen instead of a stale snapshot (@PatrickSun93 in #4171). Model Settings saves only the fields you edited, so a save no longer overwrites other changes or unloads the model (#3089).
- Embedding models show their context window in settings (#4622), and embedding and rerank usage count tokens after truncation (fdcdc83).
- macOS app: Top K 0 is accepted as off (@HamedShams in #4660), and the menubar All-Time section shows the no-API-key hint (914cf54).
- The Homebrew custom-kernel guard runs the Metal compiler instead of only finding it (@faiyaz7283 in #4643).
- Other: hot-cache flags pass straight through (@l3rett in #4676), and the pi coding agent hint uses its new npm package (@bzz in #4664).
Highlights from the 0.7.1 Release Candidate and Development Releases
- Muse Spark Open. Meta's 816B MoE runs with text, image and tool calls (#4573).
- Models for your Mac. The Recommended tab shows only the oQ models your Mac can run (#4468).
- Splash as an external engine. Qwen3.8 and Qwen3.6 run on Splash with DFlash2 while staying in oMLX's model list, API and dashboard (#4447).
- DFlash in the batched engines. DFlash requests get continuous batching and the prefix cache, and dflash-mlx is no longer a dependency (#4508).
- Decision models and batched prefill.
/v1/systemoneand/v1/decisions(#4315, #4436), and concurrent prompts prefill in one forward (#4361). - Reworked settings and chat. Sectioned Model Settings in the web UI and the macOS app, and a chat composer with a reasoning slider (#4415, #4530, #4446).
If you are upgrading from 0.7.0, also read the upgrade notes in 0.7.1rc1: MLX 0.32.4, removed OMLX_* debug variables, removed DFlash settings and new sampling defaults. Benchmarks and every contributor credit are in the 0.7.1rc1, 0.7.1.dev2 and 0.7.1.dev1 release notes.
Upgrade Notes
- Source installs: run
make install(ormake dev) after updating. Custom kernels moved from per-model packages toattention,sparse_index,quant_matmulandlowbit(#4601), and the old per-model folders underomlx/custom_kernels/can be deleted. - API key lockout: clients on other machines are locked out for 30 s after 8 wrong API keys and for 300 s after each further 8, with HTTP 429 and
Retry-After. Clients on the same Mac are not limited (#4669, with @billythegod from #4166). - Splash: Splash 1.3.1 and later no longer load prebuilt
incoai/*-Splashpackages. The downloader refuses them and names the MLX model with the same weights. NVFP4 and FP8 checkpoints need Splash 1.3.2 (#4679). - Lightning MTP on Qwen3.8-Flash-Next: without a saved depth setting it now runs one draft per cycle. Set an adaptive max depth to get the adaptive controller back (#4648).
New Contributors
@oddmundleikvoll in #4210, @pierre427 in #3885, @PatrickSun93 in #4171, @bzz in #4664, @rubencu in #4667, @giuseppebonanno in #3592, @faiyaz7283 in #4643, @l3rett in #4676.
Changes since 0.7.1rc1 | Full changelog from 0.7.0
详细ChangeLogv0.7.1rc1
2026年10月16日
oMLX 0.7.1rc1
This is a release candidate. Please report any bugs through GitHub Issues. If you need a stable release, please use oMLX 0.7.0.
The release candidate for oMLX 0.7.1 adds Muse Spark Open and brings everything from the 0.7.1 development releases: model recommendations for your Mac, Splash as an external engine, reworked model settings and chat, DFlash in the batched engines, decision models and batched prefill.
Download: macOS 26 / 27 | macOS 15 Sequoia
Muse Spark Open
Muse Spark Open, Meta's 816B MoE with 42B active parameters, now runs in oMLX with text and image input, tool calls and the low to xhigh reasoning levels. BF16 and NVFP4 checkpoints load directly, and an oQ3e build (370 GB) from the NVFP4 release fits a 512 GB Mac at 225 tok/s prefill and 21.3 tok/s decode on M3 Ultra. #4573
Find the Right Model for Your Mac
No more guessing which model to download first. The new Recommended tab in Models > Downloader checks what your Mac can actually run and shows only oQ models that will load, from the best fit to bigger models with the setting that unlocks each one. Models with Lightning MTP have it on by default, so they are fast right after download. #4468
Splash as an External Engine
Qwen3.8 and Qwen3.6 models can now be served by Splash, a Metal engine with DFlash2 speculative decoding, running in its own process. The model stays in oMLX's model list, API, dashboard, cache stats and benchmarks. Turn on "Use external engine" in Model Settings > Advanced: oMLX finds the Splash 1.3.0+ launcher, hands it the model and DFlash2 draft from your model directories, and fits its memory and context window to the oMLX limit. Vision checkpoints take image input too (@Flo5k5 in #4537). #4447, built on #4133 by @paperniuk, with M4 Max runs by @e-Garcia in #4154.
Reworked Model Settings, Chat and Logs
Model Settings in the web UI is grouped into sections with a side menu, and every setting is one row with a short description (#4415). The macOS app uses the same grouping as System Settings-style pages that save as you edit, and adds the settings it was missing (#4530). The chat page moves the model, profile and reasoning level into the composer, with a reasoning slider that offers the levels each model accepts (#4446). The app's Logs screen reads as a table of records with a raw view and a resizable entry card (@LXD-8 in #4514, #4531).
Faster GLM-5.3, DFlash and TurboQuant
DFlash now runs inside the batched engines instead of its own single-stream engine, so DFlash requests get continuous batching and the hot and SSD prefix cache, and dflash-mlx is no longer a dependency. It covers Qwen3.5/3.6/3.8, Qwen3, Laguna, MiMo V2, GLM-5.3, Gemma 4 and Muse Glimmer (#4508). DSpark drafters now use their own block layout and Markov head, which lifts acceptance on Qwen3.8-27B from 16-21% to 61-85% (@fneto1977 in #4525).
| Model | Change | Hardware |
|---|---|---|
| GLM-5.3-Flash, M5 Macs only | Decode at 64K 85.5 -> 95.3 tok/s (+11%), +9-13% from 4K to 64K | M5 Ultra |
| GLM-5.3-Flash, 4 streams on a shared 32K prompt | Aggregate decode 81 -> 91 tok/s (+12%) | M5 Ultra |
| DFlash, 4 concurrent requests | Muse Glimmer 30B +157%, Qwen3-4B +112%, MiMo V2.6 Flash +82% (greedy, against the old DFlash engine) | M3 Ultra |
| Qwen3.8-27B, TurboQuant 4-bit + Lightning MTP | Decode at 16K 39.9 -> 68.8 tok/s (+72%), at 32K 39.0 -> 66.2 tok/s (+70%) | M3 Ultra |
| Qwen3.6-35B-A3B, TurboQuant 4-bit, 3 concurrent requests | Decode per request 5.3 -> 62-65 tok/s (12x) | M3 Ultra |
| Qwen3.8-27B, TurboQuant prefix restored from SSD + 18.8K new tokens | TTFT 85.4 -> 57.8 s (-32%) | M3 Ultra |
| Qwen3.6-35B-A3B, 8 streams | Aggregate decode 378.6 -> 414.1 tok/s (+9%) | M5 Max |
| DeepSeek V4.1 Flash, Engram on SSD | Decode 88 -> 76 ms per cycle on a fresh prompt (-14%) | M3 Ultra |
Each figure is measured against the code right before the change. By @junmo-kim (#4523, 1019201, #4386), @alan13367 (#4408), @e-Evolution (#4442, and #4441 behind #4453), @AureliusClaw (#4376) and @williamxie1989 (147b8bf). Also faster: CausalLM rerank, 2x to 7x (@yanzhaohui1999 in #4407), Lightning MTP acceptance after a GLM-5.3 prefix cache hit is back to cold level (@feni6 in #4540), Qwen4 PLE reads and wide 8-bit verify projections (@Ambisphaeric in #4464, #4472, #4475), and MoE route inversion (@samfenwick, 125ca68).
New Features and Improvements
- Requests survive memory pressure: running requests are paused and resumed instead of aborted, and cancelled prompts stay cached. Resending a prompt cancelled 60 s into a 38K prefill cuts TTFT 106 -> 40 s (-62%) (#4509, from @e-Evolution's analysis in #4440).
- Decisions:
POST /v1/decisionsfollows OpenAI's Decisions API on any chat or vision model (@PowerSpy in #4436),/v1/systemonealso answers with any chat model (#4552), and the Decision 3.0 models (d3, d3-flash, d3-mini, d3-nano, d3-lite, d3-edge) read images and videos (#4470). - Long context: Qwen3.5-family models use static YaRN when the context window goes past the native 262K (#4445, with @VictorLowther).
- oQ: streamed oQe calibration for GLM-5.3-Flash on 128 GB Macs (@cropduster in #4174), DeepSeek V4.1 oQ2 to oQ2.7 with 4-bit lookup tables and bit tables in uploaded model cards (#4448), EmbeddingGemma 2 (aeb88a3), and Gemma 4 12B assistant MTP heads (166e9fd).
- Sampling and usage:
no_repeat_ngram_sizeandngram_windownow apply (@Cassian433 in #4510), and chat usage reportsreasoning_tokens(@yanzhaohui1999 in #4546). - Network access: an "Allow inference without API key" toggle for network binds, behind a warning. "Skip API key verification" is now "Disable all authentication" (#4528).
- Integrations:
omlx launch vibefor Mistral Vibe 2.26.0+ (@samfenwick in #4367), and context overflows return a standardcontext_length_exceedederror that clients use to compact (df7fa9e). - Models: OpenAI content parts in
/v1/embeddings(@zviratko in #4419), MiniCPM-V 4.7 with MoE expert offload (@Woody-Hu in #4549), and Qwen4 Extended Fused Decode in Model Settings (3c39990). - Web UI and app: Downloaded badges in the model browser (@jandrop in #4431), copy buttons on every model row (@mudravadev in #4521), deleting models from the Hugging Face cache (#4548, following @popfido's #3029), MTPLX side-car import in the app (@popfido in #2815), login focus and inset select arrows (@mudravadev in #4497, #4498), PP/TG/TTFT in capitals, Chinese 万/亿 counts and the settings menu edge (@LXD-8 in #4451, #4465, #3826, #4432), switch states for screen readers (@yanzhaohui1999 in #4557, c0239d4), and Czech translations (@zviratko in #4522).
- Other: MLX 0.32.4 with native kernels built through MLX's MetalExtension (@XXXXRT666 in #4550), mlx-vlm 0.7.8 (#4529), the Chinese README (@JasonYeYuhe in #3329), and the MCP restart note (@ketpatil77, e0c24bf).
Bug Fixes
- Splash stops generating when the client disconnects (#4575 with @GigaFyde), and the thinking budget now reaches Splash instead of running until
max_tokens(@GigaFyde in #4576). - DFlash releases buffers that finished requests no longer use (@samfenwick in #4567).
- Lightning MTP no longer aborts a batch with an IndexError after its draft depth drops (@junmo-kim in #4410).
- Stop strings end the answer, not the reasoning, on chat and messages (@HamedShams in #4352), and
thinking_budgetcloses thinking the way the template renders it on Qwen3.6 and Gemma 4 (@richgoodson in #4539). - DeepSeek V4.1 tool calls that end without the outer close tag come back as
tool_calls(91718c9), V4 reasoning no longer repeats in content on tool-call turns (@williamxie1989, 611540b), and Qwen XML tool calls keepanyOfstring/null values as strings (@yanzhaohui1999 in #4544). - Cache fixes: deduplicated prefix blocks are pinned before reuse (#4443 with @billythegod), prompts shorter than one block hit the cache (@Woody-Hu in #4428, c756df2), LFM2 reuses prefixes (@alan13367 in #4532), padded prefill keeps GDN state exact (#4526), and long-running Qwen3.5 batches no longer hit the Metal resource limit (41166af).
- TurboQuant batches no longer let left-padded rows read their padding in Qwen3.5/3.6 decode (#4453).
- Memory guard fixes: prompts that fit are no longer rejected right after a request frees memory, a rejection keeps the cache for the retry (#4554), queued requests wait while running ones make progress (a987407), and fp16 Qwen3.8-Flash-Next builds use less prefill memory and reach longer contexts again (89a40d1).
/v1/systemoneno longer returns 500 when the decision model is unloaded during encode (013bc3f), and the ANE tuner keeps the verified result when its last step fails (e292a3b).- A failed STT load no longer hangs the server (@Flo5k5 in #4542). The macOS app no longer blocks logout, restart and shutdown (e860713), and it picks up an API key set after launch (8e1e386).
- VLM requests with back-to-back user messages work on strict templates (64bf5d1), OptiQ VLM checkpoints load as VLMs again (@Woody-Hu in #4549), and Gemma 4 unified models keep the image settings from
processor_config.json(@paalolav in #4560). - Downloads report gated repos as gated (e870cb9 with @yanzhaohui1999), ModelScope rows show the right owner and size (@yanzhaohui1999 in #4555), and re-downloading an updated model no longer counts bytes twice in the progress bar (@alan13367 in #4558).
- Cluster: hybrid models without
layer_typesreserve KV only for attention layers, pipeline ranks stay up during long prefills (#4553), and CUDA workers match MLX 0.32.4 (c73e8fc). - oQ jobs can no longer write to the same output folder (#4443), DeepSeek V4.1 oQ3 runs again (3f99250), and GLM-5.3 oQe calibrates its MTP head (7388337).
- LiveCodeBench grades functional problems by return value (@yanzhaohui1999 in #4545).
Highlights from 0.7.1.dev1
- Decision models. Clef, Clef-Flash and OpenJev return a probability for each option of typed questions through
POST /v1/systemone(#4315). - Batched prefill. Concurrent prompts prefill in one forward, cutting mean TTFT by 11-25% on Qwen3.8 and GLM-5.3-Flash (#4361, built on #3888 by @chenqianhe).
- Faster models. Qwen3.8-Flash-Next decode up to +133%, Qwen3.6-35B-A3B +31%, GLM-5.3-Flash +30% on M3 and M4, and DeepSeek V4.1 Flash first run +48%.
- Refreshed web UI. A log table, a settings section rail, a status header and a customizable Serving Stats block (#4364, from the redesign by @LXD-8 in #3849 and #3850).
Benchmarks and every contributor credit are in the 0.7.1.dev1 release notes.
Upgrade Notes
- Source installs: run
make install(ormake dev) after updating. oMLX now uses MLX 0.32.4, and native kernels built for the previous MLX are rejected and fall back to slower paths (#4550). Upgrade every Mac in a cluster at the same time. - Environment variables: about 150 debug
OMLX_*variables are removed and now ignored, includingOMLX_MOE_EXPERT_OFFLOAD,OMLX_QWEN35_ANE_PREFILLandOMLX_RDMA_STAGE_LINKS. Use the per-model settings instead (#4396). - macOS app: the app no longer links
omlxinto/opt/homebrew/bin, and it asks before removing a link left by an older version (#4341). - DFlash: dflash-mlx is removed. Settings only the old engine read (DFlash in-memory and SSD caches,
dflash_max_ctx, sink size, draft quantization) are gone, a savedddtreeverify mode loads asadaptive, and changing a DFlash setting reloads the model (#4508). - Sampling defaults: models without saved sampling settings now use the values in their
generation_config.json. Qwen models without top_k/top_p get 20 / 0.95 and Gemma models 64 / 0.95. Saved settings are not changed (#4416). - YaRN: a per-model context window above 262,144 on a Qwen3.5-family model now turns on YaRN for every prompt, so keep the window near the length you need (#4445).
- LiveCodeBench: scores from earlier versions were graded the old way and are not comparable (#4545).
New Contributors
@AureliusClaw in #4070, @Bannng in #4390, @billythegod in #4163, @e-Garcia in #4123, @HamedShams in #4379, @Jason-Barbour in #4389, @junmooo in #4138, @Marian2110 in #4169, @masterfasa in #4147, @mdc2122 in #4169, @N1k1tung in #4338, @Nek-12 in #3736, @ngutech21 in #4336, @no84by in #4377, @Weschera in #4253, @yeeeeff in #4351, @Zcg2021 in #4151, @jandrop in #4431, @mudravadev in #4497, @Woody-Hu in #4428, @Ambisphaeric in #4464, @Cassian433 in #4510, @feni6 in #4540, @Flo5k5 in #4542, @fneto1977 in #4525, @XXXXRT666 in #4550, @GigaFyde in #4576.
Full Changelog: v0.7.0...v0.7.1rc1
详细ChangeLog




























