使用 omlx,你可以:
支持连续批处理与 SSD 缓存,可通过 macOS 菜单栏便捷管理,在苹果设备上高效运行大模型推理任务。
用户评论 (0)
2026年04月24日
2026年03月18日
#205.会话中断
432026年03月13日
2026年04月12日
2026年04月03日
#114.m5 运行很慢
282026年03月10日
2026年04月22日
2026年03月05日
2026年03月01日
2026年12月03日
2026年12月03日
2026年11月28日
v0.8.5.dev1
2026年11月28日
oMLX 0.8.5.dev1
This is a development release. Please report any bugs through GitHub Issues. If you need a stable release, please use oMLX 0.8.4.
oMLX 0.8.5.dev1 adds ERNIE 5.5 Flash Preview and makes Inkling 2 Mini faster when two long requests run at once.
Download: macOS 26 / 27 | macOS 15 Sequoia
ERNIE 5.5 Flash Preview
oMLX now runs ERNIE 5.5 Flash Preview straight from Baidu's FP4 and FP8 releases, with no conversion. Lightning MTP uses the bundled DSpark draft head, and long prompts prefill without running out of memory (#5720, with fixes from @arfung in #5656). oQ can build it too, including oQh below oQ4 (#5726). Turn on Trust Remote Code for this model, because its chat template ships as code in the model repository.
FP4 release, Lightning MTP on, temperature 1.0, 512 output tokens, on M5 Ultra.
| Prompt | Prefill | Decode |
|---|---|---|
| 4K | 2,201 tok/s | 76.1 tok/s |
| 32K | 2,312 tok/s | 79.3 tok/s |
| 128K | 1,951 tok/s | 60.3 tok/s |
Faster Inkling 2 Mini
When two requests decode together with Lightning MTP, each one now keeps its own place in the KV cache instead of being shifted back into line after every draft check. Two 98K requests at once decode about 30% faster in total (@iggerask in #5680).
Inkling-2-Mini-oQ4e-mtp, two 98K requests at once, sum of decode tok/s, on M3 Ultra.
| Sampling | Before | After |
|---|---|---|
| Temperature 1.0 | 75.5 tok/s | 97.8 tok/s (+30%) |
| Greedy | 75.1 tok/s | 98.6 tok/s (+31%) |
Bug Fixes
- Idle models stay wired on macOS, so the first request after a long idle no longer has to wire the whole model back in at once. On 256 GB Macs this was ending in watchdog panics (#5693).
- Long prompts that fit in memory are no longer refused or cut into smaller chunks. The prefill guard now prices GLM-5.3 sparse attention by its kernel path (#5717), and it no longer counts memory that was just freed (#5706) or another request's decode pool (#5719).
- Prefill on oQh MoE models uses less memory, and DeepSeek V4.1 keeps
wo_aonce instead of twice, which saves 1.29 GiB (#5695). - Splash keeps the full context window in memory, instead of spilling part of the KV cache to the SSD (#5686).
- Inkling 2 expert offload no longer fails with
Resource limit (499000) exceededafter many expert misses (#5687). - Inkling 2 Mini reports a tool call it could not parse as
invalid_tool_call, so agents no longer treat the turn as finished (@saintlits in #5722).
Full Changelog: v0.8.4...v0.8.5.dev1
详细ChangeLogv0.8.4
2026年11月26日
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.
详细ChangeLogv0.8.3
2026年11月23日
oMLX 0.8.3
oMLX 0.8.3 is an optimization release for Inkling 2 Mini and the Hy4 family, which got day-0 support in 0.8.1. Inkling 2 Mini prefills about 20% faster and decodes 10-13% faster, Hy4 Flash starts answering sooner and needs less memory, and Claude Code's web search now works with local models.
Download: macOS 26 / 27 | macOS 15 Sequoia
Faster Inkling 2 Mini
Inkling 2 Mini prefills about 20% faster and decodes 10-13% faster than in 0.8.2 (#5538). Rewriting a file or other text from the context is more than twice as fast, as Lightning MTP can now copy up to 15 tokens at a time from it (#5528). A long context also needs about a sixth of the KV memory, 18 -> 3 GB at 98K tokens (-83%) (@masterfasa in #5505).
Inkling-2-Mini-oQ4e-mtp, Lightning MTP on, temperature 1.0, on M5 Max. The file rewrite row is on M3 Ultra and compares before and after #5528.
| Workload | 0.8.2 | 0.8.3 |
|---|---|---|
| Rewriting a 242-line file, decode | 62.7 tok/s | 158.5 tok/s (+153%) |
| Zero-shot coding, decode | 86.0 tok/s | 96.8 tok/s (+13%) |
| 4K prompt, prefill | 1,869 tok/s | 2,255 tok/s (+21%) |
| 16K prompt, prefill | 1,764 tok/s | 2,125 tok/s (+20%) |
| 16K prompt, decode | 52.9 tok/s | 58.0 tok/s (+10%) |
Also faster: Inkling 2 prefill with Float16 Activations on M1 and M2, 155 -> 171 tok/s at 2K (+10%) (@j3k0 in #5526), and the attention projections of the looped layers (@BUKOWSKIREAL in #5495).
Hy4 Family Optimizations
Hy4 Flash gives its first token about 20% sooner with the SSD cache on (@0xbrianh-dev in #5535) and prefills faster on M5 (@0xbrianh-dev in #5536). Turn on SSD N-gram Offload in a Hy4 Flash model's settings to keep its Engram tables on SSD, which takes memory from 124.7 to 87.7 GiB (-30%) (@0xbrianh-dev in #5475, tested by @apetersson). A long prompt also writes 60% less to the SSD cache, 1.24 -> 0.50 GiB (@0xbrianh-dev in #5533).
Hy4 Flash with the SSD cache on. Each row compares before and after its PR.
| Workload | Before | After |
|---|---|---|
| First token, cold 5.8K prompt | 9.75 s | 7.78 s (-20%) |
| First token, next turn | 6.57 s | 5.37 s (-18%) |
| 17K prompt, prefill on M5 Max | 660 tok/s | 743 tok/s (+13%) |
Multi-turn chats and agent sessions on Hy4 Flash no longer lose earlier turns after a cache hit (@SolNine-Git in #5534), and its streamed reasoning no longer mixes into the answer (@0xbrianh-dev in #5476).
New Features and Improvements
- Web search: Claude Code's WebSearch tool works with local models, answered by the search provider set in oMLX (@mufeng05 in #5342). Page fetches also work behind fake-IP proxies such as Clash and sing-box (@mufeng05 in #5343).
- Speed:
- DeepSeek V4.1 2-bit builds decode faster with several requests, 148 -> 165 tok/s in total with 8 on M5 Ultra (+11%) (@bleugreen in #5525).
- DeepSeek V4.1 Lightning MTP drafts up to 5 tokens by default, so one request at 4K context decodes 79.7 -> 88.4 tok/s (+11%) (@bleugreen in #5527).
- Prefill Accelerator: a 24 GB RTX 4090 helper holds 43 layers of 8-bit Qwen3.8-27B instead of 22, as it keeps Qwen3.5-family weights packed (@davesecops in #5513, #5522).
- 32K prefill goes 720 -> 1,095 tok/s with 39 layers (+52%), and 1,118 -> 1,373 tok/s when the Mac asks for all 43 instead of 37 (+23%).
- Inkling 2: checkpoints set to one loop pass, such as the varloop research release, now load (@mlubbad in #5514).
Bug Fixes
- Inkling 2 answers stay the same with Lightning MTP on, as greedy output now matches decoding without it, also on an SSD cache hit after a restart (#5531).
- Inkling 2 runs in more setups, as float16 oQ packs no longer return NaN and run to the token limit (@CharlesJS in #5523), and KV cache quantization no longer crashes the first forward (@masterfasa in #5505).
- Inkling 2 gets its minimum effort for
enable_thinking: falseandreasoning_effort: "off", instead of the default effort or low (@masterfasa in #5506). - Inkling 2 DFlash drafts with pre-drafting match those without it, as the next draft starts from the newest accepted token (@masterfasa in #5508).
- Long prompts on a 32 GB Mac are refused instead of running out of Metal memory, with compressed memory and Inkling 2's prefill mask now counted (#5516).
- Saving model settings keeps each model's own Lightning MTP depth, instead of writing 3 over DeepSeek V4.1's 5 and Gemma 4's and Inkling 2's 8 (#5541).
- Images sent as Hugging Face-style
{"type": "image", "image": ...}parts are no longer dropped (@nurlanmnn in #5530).
Upgrade Notes
- Lightning MTP depth: a depth of 3 saved before 0.8.3 now reads as Model default. Pick 3 again in Model Settings to keep it (#5541).
- Prefill Accelerator: pull
jundot/omlx-cuda-helperagain to update an NVIDIA helper to 0.1.8. The accelerator checks warn until it is updated (#5513, #5522). - Hy4 Flash: its SSD cache now uses 2048-token blocks, so blocks saved by 0.8.2 are not reused, including any that #5534 saved wrong (#5535).
New Contributors
@BUKOWSKIREAL in #5495, @CharlesJS in #5523, @j3k0 in #5526, @mufeng05 in #5343, @mlubbad in #5514, @0xbrianh-dev in #5476, @SolNine-Git in #5534, @nurlanmnn in #5530.
详细ChangeLogv0.8.2
2026年11月21日
Hotfix release: Fixes wrong click positions on screenshots with Qwen3.8 Flash-Next (#5474). Everything else is the same as 0.8.1.
oMLX 0.8.2
oMLX 0.8.2 adds Hy4, Hy4-flash and Inkling 2 Mini, lets you apply a LoRA adapter from a model's settings, and makes MTP verify on M5, GLM-5.3 with several requests and new questions on a cached document faster.
Download: macOS 26 / 27 | macOS 15 Sequoia
New Models: Hy4, Hy4-flash and Inkling 2 Mini
Tencent's Hy4 and Hy4-flash run with image input, Lightning MTP and oQ/oQh, and their FP8 releases load as is (#5463). Lightning MTP takes Hy4-flash FP8 from 23.1 to 37.7 tok/s at 32K (+63%). Ready-made oQ4h builds are Jundot/Hy4-flash-oQ4h-mtp (132 GB) and Jundot/Hy4-oQ4h-mtp (452 GB).
M3 Ultra 512GB, 32K prompt, Lightning MTP on. MTP decode moves with draft acceptance, so single runs can differ.
| Model | Build | Prefill tok/s | Decode tok/s |
|---|---|---|---|
| Hy4-flash | oQ4h-mtp | 749 | 42.7 |
| Hy4-flash | FP8 | 720 | 37.7 |
Inkling 2 Mini loads with text and image input, DSpark works with it, and oQ can quantize it (#5468, 13fd0c9). Ready-made oQ3e and oQ4e builds are mlx-community/Inkling-2-Mini-oQ3e-mtp (13.7 GB) and mlx-community/Inkling-2-Mini-oQ4e-mtp (16.9 GB). The Prefill Accelerator supports only Inkling 2 Small for now.
LoRA Adapters
Your oMLX can now run LoRA adapters such as Qwen3.8-27B-opencode-adapted and Qwen3.8-27B-pi-adapted.
Pick one in Model Settings > Advanced, in the web dashboard or the macOS app (#5449). PEFT and mlx-lm adapters both work. The adapter is applied on top of the model at load, so it also works on oQ, oQh and Lightning MTP models. Turn on "Expose as model" in a profile to serve the adapter under its own id, <model>:<profile>.
Adapter folders in your model directories show up in the picker, not in the model list, and the picker says when an adapter does not fit a model. DFlash, VLM MTP, ANE prefill, MoE expert offload and the Prefill Accelerator cannot be used with an adapter yet.
New Features and Improvements
- Speed:
- MTP verify on M5 is faster with many requests: Qwen3.8 27B with 8 requests goes 308.3 -> 353.7 tok/s (+15%) as oQ4e and 210.9 -> 265.6 tok/s (+26%) as oQ8e on M5 Ultra (@Li-Lee in #5401).
- GLM-5.3 Flash decodes 43.0 -> 58.5 tok/s in total with 2 requests (+36%) and 63.2 -> 81.8 tok/s with 4 (+29%) (#5414).
- A new question on a cached long document starts sooner on hybrid models, with TTFT 16.4 -> 2.9 s at 245K tokens on Qwen3.8 27B (-83%) (@avifenesh in #5251).
- A thinking budget that does not fire no longer slows MTP decode, 46.3 -> 51.5 tok/s (+11%) (@dkta0 in #4926).
- DeepSeek V4.1 sampled decode with Engram on SSD goes 48.0 -> 54.5 tok/s (+14%) on two Macs in tensor parallel (@Jiffywu in #5274).
- DeepSeek V4.1 with expert offload frees expert slots when a prefill runs short of memory, so a 64K prompt's TTFT goes 120.3 -> 85.6 s (-29%) (@williamxie1989 in #5406).
- MoE verify on Qwen3.6 35B-A3B with DFlash2 goes 193.3 -> 204.5 tok/s (+6%) on M1 Ultra (@fneto1977 in #4828).
- Also faster: Affine KV attention for short blocks on a long cache (@avifenesh in #5294), Qwen verify on M5 Pro (@masterfasa in #5318, #5320), Gemma 4 and Flint MoE routing (@masterfasa in #5315, @avifenesh in #5254) and the DeepSeek V4 decode loop (@bleugreen in #5395).
- Cluster: DeepSeek V4.1 tensor parallel sizes each Mac's share to its memory, so an M5 Ultra 256GB and an M5 Max 128GB run DeepSeek V4.1 Flash oQ4e at about 45 tok/s (@Jiffywu in #5272).
- oQ: DeepSeek V4.1 builds below oQ4 get the oQe code refinement, with 5.4% lower KL at oQ3e (d675c0d).
- Speech to text:
/v1/audio/transcriptionsreturns segments with speaker labels and times forresponse_format=diarized_json(@lybertybox443 in #5307), anddurationis the audio length (dcfaa6b). - API:
/tokenizeand/detokenizework on embedding models (@junmo-kim in #5268). - Prefill Accelerator: the accelerator checks warn when the CUDA helper is older than the server expects (#5422).
- macOS app: the Throughput benchmark gets the Force mlx-lm and external endpoint options of the web UI (@ngutech21 in #5257).
- Web UI: Italian translation for the web UI and README (@fabriziosalmi in #4505).
Bug Fixes
- More checkpoints load, with Qwen3.8 Flash-Next 4-bit conversions that fuse experts (@Li-Lee in #5388), Inkling 2 releases with a ModelOpt quantization_config (9d0f474), 3-, 5- and 6-bit Inkling 2 experts (@Hygaard in #5433) and single-file Flash-Next checkpoints with PLE on SSD (#5439).
- oQ builds finish and stay correct, as the streamed oQe imatrix no longer runs out of memory on Flash-Next (@ltkn in #5269), streamed Qwen3.5 oQe and oQh builds match resident ones (@keefar in #5459), and two oQ size estimates at once no longer break the server (#5447).
- Long sessions survive memory pressure, as a cache store no longer blocks the pool clear that keeps the model loaded (#5454 with @chigkim) and two long quantized-KV sessions decode together without an abort (@avifenesh in #5321, #5253).
- MoE expert offload restores slots after a release that failed partway (@williamxie1989 in #5419), and CUDA helper 0.1.7 frees about 40 MiB per Qwen3.5 linear-attention layer between chunks (@davesecops in #5396).
- oQh models are no longer refused by the CUDA Prefill Accelerator (1f7761c).
- DeepSeek V4.1 tool calls that are malformed or cut off by the token limit come back as
invalid_tool_callor keep the truncation status, instead of leaking DSML text (@clong in #5416). - SpecPrefill no longer hangs under Metal fast sync when it restores a cached system prefix (@pierre427 in #5408).
- Integrations work in more setups, with Claude Code's auto mode on local models without a Claude server message (@jmunderwood in #5409) and Ask AI in the macOS app reaching plain http servers by hostname (693a607 with @jasonpaulso).
Upgrade Notes
- Source installs: run
make installafter updating to rebuild the native kernels for Hy4 (#5463). - LoRA adapters: adapter folders in a model directory no longer show up as models in
/v1/models(#5449). - Prefill Accelerator: pull
jundot/omlx-cuda-helperagain to update an NVIDIA helper to 0.1.7. The accelerator checks warn until it is updated (#5396, #5422).
New Contributors
@jmunderwood in #5409, @clong in #5416, @davesecops in #5396, @dkta0 in #4926, @bleugreen in #5395, @ltkn in #5269, @Hygaard in #5433, @Jiffywu in #5272.
详细ChangeLogv0.8.1
2026年11月21日
oMLX 0.8.1
oMLX 0.8.1 adds Hy4, Hy4-flash and Inkling 2 Mini, lets you apply a LoRA adapter from a model's settings, and makes MTP verify on M5, GLM-5.3 with several requests and new questions on a cached document faster.
Download: macOS 26 / 27 | macOS 15 Sequoia
New Models: Hy4, Hy4-flash and Inkling 2 Mini
Tencent's Hy4 and Hy4-flash run with image input, Lightning MTP and oQ/oQh, and their FP8 releases load as is (#5463). Lightning MTP takes Hy4-flash FP8 from 23.1 to 37.7 tok/s at 32K (+63%). Ready-made oQ4h builds are Jundot/Hy4-flash-oQ4h-mtp (132 GB) and Jundot/Hy4-oQ4h-mtp (452 GB).
M3 Ultra 512GB, 32K prompt, Lightning MTP on. MTP decode moves with draft acceptance, so single runs can differ.
| Model | Build | Prefill tok/s | Decode tok/s |
|---|---|---|---|
| Hy4-flash | oQ4h-mtp | 749 | 42.7 |
| Hy4-flash | FP8 | 720 | 37.7 |
Inkling 2 Mini loads with text and image input, DSpark works with it, and oQ can quantize it (#5468, 13fd0c9). Ready-made oQ3e and oQ4e builds are mlx-community/Inkling-2-Mini-oQ3e-mtp (13.7 GB) and mlx-community/Inkling-2-Mini-oQ4e-mtp (16.9 GB). The Prefill Accelerator supports only Inkling 2 Small for now.
LoRA Adapters
Your oMLX can now run LoRA adapters such as Qwen3.8-27B-opencode-adapted and Qwen3.8-27B-pi-adapted.
Pick one in Model Settings > Advanced, in the web dashboard or the macOS app (#5449). PEFT and mlx-lm adapters both work. The adapter is applied on top of the model at load, so it also works on oQ, oQh and Lightning MTP models. Turn on "Expose as model" in a profile to serve the adapter under its own id, <model>:<profile>.
Adapter folders in your model directories show up in the picker, not in the model list, and the picker says when an adapter does not fit a model. DFlash, VLM MTP, ANE prefill, MoE expert offload and the Prefill Accelerator cannot be used with an adapter yet.
New Features and Improvements
- Speed:
- MTP verify on M5 is faster with many requests: Qwen3.8 27B with 8 requests goes 308.3 -> 353.7 tok/s (+15%) as oQ4e and 210.9 -> 265.6 tok/s (+26%) as oQ8e on M5 Ultra (@Li-Lee in #5401).
- GLM-5.3 Flash decodes 43.0 -> 58.5 tok/s in total with 2 requests (+36%) and 63.2 -> 81.8 tok/s with 4 (+29%) (#5414).
- A new question on a cached long document starts sooner on hybrid models, with TTFT 16.4 -> 2.9 s at 245K tokens on Qwen3.8 27B (-83%) (@avifenesh in #5251).
- A thinking budget that does not fire no longer slows MTP decode, 46.3 -> 51.5 tok/s (+11%) (@dkta0 in #4926).
- DeepSeek V4.1 sampled decode with Engram on SSD goes 48.0 -> 54.5 tok/s (+14%) on two Macs in tensor parallel (@Jiffywu in #5274).
- DeepSeek V4.1 with expert offload frees expert slots when a prefill runs short of memory, so a 64K prompt's TTFT goes 120.3 -> 85.6 s (-29%) (@williamxie1989 in #5406).
- MoE verify on Qwen3.6 35B-A3B with DFlash2 goes 193.3 -> 204.5 tok/s (+6%) on M1 Ultra (@fneto1977 in #4828).
- Also faster: Affine KV attention for short blocks on a long cache (@avifenesh in #5294), Qwen verify on M5 Pro (@masterfasa in #5318, #5320), Gemma 4 and Flint MoE routing (@masterfasa in #5315, @avifenesh in #5254) and the DeepSeek V4 decode loop (@bleugreen in #5395).
- Cluster: DeepSeek V4.1 tensor parallel sizes each Mac's share to its memory, so an M5 Ultra 256GB and an M5 Max 128GB run DeepSeek V4.1 Flash oQ4e at about 45 tok/s (@Jiffywu in #5272).
- oQ: DeepSeek V4.1 builds below oQ4 get the oQe code refinement, with 5.4% lower KL at oQ3e (d675c0d).
- Speech to text:
/v1/audio/transcriptionsreturns segments with speaker labels and times forresponse_format=diarized_json(@lybertybox443 in #5307), anddurationis the audio length (dcfaa6b). - API:
/tokenizeand/detokenizework on embedding models (@junmo-kim in #5268). - Prefill Accelerator: the accelerator checks warn when the CUDA helper is older than the server expects (#5422).
- macOS app: the Throughput benchmark gets the Force mlx-lm and external endpoint options of the web UI (@ngutech21 in #5257).
- Web UI: Italian translation for the web UI and README (@fabriziosalmi in #4505).
Bug Fixes
- More checkpoints load, with Qwen3.8 Flash-Next 4-bit conversions that fuse experts (@Li-Lee in #5388), Inkling 2 releases with a ModelOpt quantization_config (9d0f474), 3-, 5- and 6-bit Inkling 2 experts (@Hygaard in #5433) and single-file Flash-Next checkpoints with PLE on SSD (#5439).
- oQ builds finish and stay correct, as the streamed oQe imatrix no longer runs out of memory on Flash-Next (@ltkn in #5269), streamed Qwen3.5 oQe and oQh builds match resident ones (@keefar in #5459), and two oQ size estimates at once no longer break the server (#5447).
- Long sessions survive memory pressure, as a cache store no longer blocks the pool clear that keeps the model loaded (#5454 with @chigkim) and two long quantized-KV sessions decode together without an abort (@avifenesh in #5321, #5253).
- MoE expert offload restores slots after a release that failed partway (@williamxie1989 in #5419), and CUDA helper 0.1.7 frees about 40 MiB per Qwen3.5 linear-attention layer between chunks (@davesecops in #5396).
- oQh models are no longer refused by the CUDA Prefill Accelerator (1f7761c).
- DeepSeek V4.1 tool calls that are malformed or cut off by the token limit come back as
invalid_tool_callor keep the truncation status, instead of leaking DSML text (@clong in #5416). - SpecPrefill no longer hangs under Metal fast sync when it restores a cached system prefix (@pierre427 in #5408).
- Integrations work in more setups, with Claude Code's auto mode on local models without a Claude server message (@jmunderwood in #5409) and Ask AI in the macOS app reaching plain http servers by hostname (693a607 with @jasonpaulso).
Upgrade Notes
- Source installs: run
make installafter updating to rebuild the native kernels for Hy4 (#5463). - LoRA adapters: adapter folders in a model directory no longer show up as models in
/v1/models(#5449). - Prefill Accelerator: pull
jundot/omlx-cuda-helperagain to update an NVIDIA helper to 0.1.7. The accelerator checks warn until it is updated (#5396, #5422).
New Contributors
@jmunderwood in #5409, @clong in #5416, @davesecops in #5396, @dkta0 in #4926, @bleugreen in #5395, @ltkn in #5269, @Hygaard in #5433, @Jiffywu in #5272.
详细ChangeLogv0.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.
详细ChangeLog












