oMLX 0.8.4
oMLX 0.8.4 makes Inkling 2 Mini much faster, adds LoopCD decoding for it, and speeds up DeepSeek V4.1 when several requests run at once. Inkling 2 Mini prefills 51-124% faster than in 0.8.3, decodes twice as fast at 128K, and now runs Lightning MTP for concurrent requests.
Download: macOS 26 / 27 | macOS 15 Sequoia
Faster Inkling 2 Mini
Inkling 2 Mini prefills 51-124% faster than in 0.8.3, decodes 42% faster on a short prompt and twice as fast at 128K. Lightning MTP now also runs when two or more requests decode together, so two requests at once get 2.6x the total speed (#5674). Most of the gain comes from new fused Metal kernels for attention, experts and the loop layers, and M1 and M2 Macs with Float16 Activations get faster expert kernels too.
Inkling-2-Mini-oQ4e-mtp, Lightning MTP on, temperature 1.0, 512 output tokens, on M5 Ultra.
| Workload | 0.8.3 | 0.8.4 |
|---|---|---|
| 4K prompt, prefill | 3,733 tok/s | 5,620 tok/s (+51%) |
| 128K prompt, prefill | 1,895 tok/s | 4,239 tok/s (+124%) |
| Zero-shot coding, decode | 113.1 tok/s | 160.2 tok/s (+42%) |
| 128K prompt, decode | 56.2 tok/s | 112.1 tok/s (+100%) |
| 2 requests at once, total decode | 84.4 tok/s | 220.3 tok/s (+161%) |
Kernel work by @iggerask (#5572, #5613, #5620), @fneto1977 (#5559, #5617, #5623, #5638), @masterfasa (#5560), @j3k0 (#5632), @avifenesh (#5667), @davidtorcivia (#5586), @that-guy-wade (#5565) and @mattpetters (a1cb53c), on top of the fused layer kernels in #5557.
LoopCD for Inkling 2 Mini
LoopCD is a new decoding option for Inkling 2 Mini, from the paper Decoding Looped Transformers Better for (Almost) Free. When it picks each token, it compares the last loop pass with the first one and leans toward what the extra passes improved. It needs no training and no extra model, and scores higher on ARC-Challenge and HumanEval (#5640).
Inkling-2-Mini-oQ4e-mtp. ARC-Challenge is 0-shot, HumanEval is greedy.
| Benchmark | Off | LoopCD |
|---|---|---|
| ARC-Challenge, acc_norm (1,172 questions) | 69.62% | 71.93% |
| HumanEval, passed (164 problems) | 152 | 155 |
Turn it on in Model Settings > Experimental Features, in the web UI or the macOS app. It is off by default, and decode is 9-13% slower with it on. Exclude Thinking Blocks applies it only to the answer and tool calls, which the authors recommend for coding agents.
Faster DeepSeek V4.1
DeepSeek V4.1 decodes 10-24% faster in total than in 0.8.3 when several requests run at once, as more of each decode step is shared across the batch (@bleugreen in #5651, #5549). 2-bit builds decode their experts faster (@bleugreen in #5555), and Lightning MTP reads Engram pages ahead for the whole verify batch (@williamxie1989 in #5464). On tensor-parallel clusters, prompts now prefill together, so a short request that arrives during a long prefill no longer waits for all of it (#5668).
DeepSeek-V4.1-Flash-1017-oQ2.5h-mtp, Lightning MTP on, temperature 1.0, 512 output tokens, on M5 Ultra. The cluster row is DeepSeek V4.1 Flash oQ3e-mtp on M3 Ultra + M5 Ultra with tensor parallel, before and after #5668.
| Workload | 0.8.3 | 0.8.4 |
|---|---|---|
| 2 requests at once, total decode | 112.0 tok/s | 123.4 tok/s (+10%) |
| 4 requests at once, total decode | 113.5 tok/s | 140.3 tok/s (+24%) |
| 8 requests at once, total decode | 154.5 tok/s | 172.6 tok/s (+12%) |
| Cluster, first token of a 2K request during a 64K prefill | 59.3 s | 7.4 s (-88%) |
Long conversations on clusters no longer time out after 300 s while another prompt prefills, and they restore from the SSD cache after their oldest snapshots are evicted (#5643).
New Features and Improvements
- Inkling 2:
- Routed experts can stay on SSD, so Inkling 2 Mini oQ4e takes 10.2 GB instead of 17.0 GB on a 24 GB Mac and runs a 14.8K prompt that used to run out of memory (@dhanushan75 in #5657).
- Checkpoints converted by mlx-lm and mlx-vlm load (#5648, @penta2himajin in #5605).
- Splash serves Inkling-2-Mini, with image input on Splash 1.7.3 (@DominicVonk in #5611, #5647).
- Loading the DSpark drafter no longer needs a 926 MB temporary copy of the LM head (@masterfasa in #5510).
- Speed:
- Hy4 Flash decodes a cached 17K prompt 43.5 -> 56.0 tok/s with Lightning MTP on M5 Max (+29%) (@0xbrianh-dev in #5633), and M5 Ultra takes the same paths (c96d469).
- Qwen3.8 Flash-Next decodes 12-16% faster with two requests and adaptive Lightning MTP (@yohann-bearzi in #5661).
- Bonsai 8B t5 decodes four FP16 requests at 35.0 -> 48.0 tok/s in total on M1 Max (+37%) (@lclarko in #5664).
- DFlash and MTP models send the first token before the drafter starts, 250 -> 186 ms median TTFT on short cached Qwen3.8 27B prompts (-26%) (@avifenesh in #5359).
- Reasoning models show their first text sooner, as decode bursts no longer hold it back (@masterfasa in #5561).
- Splash:
/v1/completionsworks on Splash models (@arnavprabhu in #5627), Integrations gets a Concurrent requests setting (@ngutech21 in #5582), and amax_context_windowabove the native window is honored (@pedily in #5578). - MoE expert offload: Ling checkpoints can stream their experts, so the 73.9 GB Ling-3.2-air loads on a 64 GB Mac (@hermitdave in #5634).
- TTS: the opt-in
macos-sayengine serves/v1/audio/speechoffline with the voices installed on the Mac (@zviratko in #5076). - API:
GET /v1/models/{model_id}answers SDKs and IDE plugins that look up one model (@LXD-8 in #5201). - oQ: the macOS app gets Keep original Engram tables (#5619).
- Benchmarks: a throughput run started during another one waits in the queue instead of failing (@LXD-8 in #4918).
- CLI:
omlx servelogs which saved setting a flag changed (@denys-cherniavskyi in #5571). - Dependencies: MLX 0.32.5 (#5652), mlx-vlm 0.8.1 (#5612) and xgrammar 0.2.9 (@arnavprabhu in #5625).
Bug Fixes
- Inkling 2 runs on more Macs, as its fused kernels fit the threadgroup limits of M1 and M2 and of long-context verify on Inkling 2 Small (@j3k0 in #5563, aa51fca, 896806d).
- Inkling 2's BF16 release keeps the same greedy output with Lightning MTP on (#5602).
- Inkling 2 answers better with
response_format, as the grammar now applies inside the model's text block (@s10 in #5635). - Batched DSpark drafts no longer start one position off when a cycle ends on a cache block boundary (71a6925).
- Qwen vision models with an external MTP drafter get their speedup back (#5553).
- DeepSeek V4.1 says when the Prefill Accelerator needs a converted checkpoint, instead of offering it for the original one (#5619).
- The SSD cache stays correct and within its limit:
- Models that share a cache directory share one size limit (@yxshee in #5554).
- An older write still in flight no longer replaces a newer block (@Atishay8192261 in #5588), and inline writes are not written twice (@frarredondo in #5544).
- The hot cache keeps prefix chains reachable and touches long chains in constant time (@nfiedel in #5255, 897a056).
- A split GDN restore falls back to the shared system prompt when no checkpoint matches (@StefVanG in #5424), and broken vision features are not cached (@begcdn in #5597).
- API responses are more accurate:
/v1/messagesreturns Anthropic-shaped errors (@LXD-8 in #5200), and late errors reach the JSON keepalive body (@Woody-Hu in #5310).- Usage never reports more reasoning tokens than completion tokens (@lpalbou in #5575).
- A request without a seed is random again after a seeded one (@denys-cherniavskyi in #5574).
- Strict
json_schemapatterns with long bounded repeats like{0,240}are enforced (@arnavprabhu in #5625).
- Tool calls are dropped less often, with generic parser failures reported in
parse_errors(@richgoodson in #5246) and MiniMax M3 argument keys containing/parsed (@Woody-Hu in #5639). - Gemma 3 image prompts such as MedGemma's no longer return 400 (@yxshee in #5552).
- Kokoro's Mandarin voices work in the macOS app (#5603), and the released Raon-1 mini checkpoint loads (@Se7enbrc in #5630).
- Switching models is smoother, as a SpecPrefill alias shares its base model's engine (#5562) and a load during another model's teardown waits instead of failing (@alytaphoenix in #5608).
- Prefill Accelerator helpers explain themselves, retrying a helper that lost its GPU (#5481 with @a-min-7) and logging long prompts that start before the helper is ready (@GumbiiDigital in #5546).
- Shutdown no longer hangs on a stuck request, as the server waits at most 5 s (@lmdc45 in #5595).
- A Flash-Next GGUF on Splash no longer blocks another model that fits beside it (@mvanhorn in #5662).
- Eval answers from Hy3, Hy4 and MiniMax no longer start with their reasoning (@tlq5l in #5621), and benchmark traces survive merged outputs (@nick-delirium in #5581).
- oQ size previews follow the export options (@0xbrianh-dev in #5566), and the oQe calibration data drops unsafe rows (#5524).
- The macOS app updater no longer hangs on a full disk (#5644 with @billythegod).
Upgrade Notes
- Admin API:
GET /admin/api/statsandGET /admin/api/global-settingsno longer return the master API key. Scripts that need it callPOST /admin/api/auth/api-key(@aywengo in #5496). - Trust Remote Code: vision checkpoints that ship their own model file now need Trust Remote Code, the same as text models (#5645).
- SSD cache: models that share a cache directory now share one size limit (@yxshee in #5554).
- Prefill Accelerator: pull
jundot/omlx-cuda-helperagain to update an NVIDIA helper to 0.1.9 (#5576, #5652). - Source installs: run
make installafter updating to rebuild the native kernels for MLX 0.32.5 (#5652).
New Contributors
@nfiedel in #5255, @frarredondo in #5544, @yxshee in #5552, @that-guy-wade in #5565, @denys-cherniavskyi in #5571, @iggerask in #5572, @lpalbou in #5575, @pedily in #5578, @nick-delirium in #5581, @Atishay8192261 in #5588, @lmdc45 in #5595, @penta2himajin in #5605, @DominicVonk in #5611, @tlq5l in #5621, @Se7enbrc in #5630, @hermitdave in #5634, @s10 in #5635, @dhanushan75 in #5657, @lclarko in #5664.