oMLX 0.8.5rc2
This is a hotfix release candidate that fixes #5898 in 0.8.5rc1. Please report any bugs through GitHub Issues.
If you need a stable release, please use oMLX 0.8.4.
oMLX 0.8.5rc2 adds an experimental Transformers engine for models that have no MLX port yet, and makes Qwen3.6, Qwen3.8, DeepSeek V4.1, GLM-5.3 and Inkling 2 faster. Long prompts also take less memory, most of all on Inkling 2.
Download: macOS 26 / 27 | macOS 15 Sequoia
Transformers engine (experimental)
oMLX can now run a model with the official Hugging Face Transformers code on PyTorch, inside the same server. Any model Transformers supports works on day zero, before anyone ports it to MLX, with chat, image input, embeddings, rerank and the prefix cache (#5844).
It loads the official release format that Transformers supports, usually BF16, not MLX-quantized checkpoints.
Turn it on in Settings > Integrations > Transformers, where the app downloads the PyTorch runtime for you. Then pick Transformers for a model in Model Settings > Advanced.
Faster decoding
Qwen3.6 and Qwen3.8
Qwen3.6 and Qwen3.8 decode up to 20% faster with MTP or DFlash when sampling, most of all on M5 Macs. A fused sampler now serves every request, and M5 verifies drafts in fewer passes (#5845, #5883, @masterfasa in #5579).
Temperature 1.0, top_p 0.95, top_k 20, 1,024 output tokens, mean of 2 runs.
| Model | Mac | Workload | Before | After |
|---|---|---|---|---|
| Qwen3.6-35B-A3B oQ4 + DFlash | M5 Ultra | Coding | 282.0 tok/s | 337.2 tok/s (+20%) |
| Qwen3.6-35B-A3B oQ4 + MTP | M5 Ultra | Coding | 327.4 tok/s | 383.7 tok/s (+17%) |
| Qwen3.8-27B oQ4e + MTP | M5 Ultra | Coding | 144.1 tok/s | 163.2 tok/s (+13%) |
| Qwen3.6-35B-A3B oQ4 + DFlash | M3 Ultra | 4K code context | 128.9 tok/s | 145.0 tok/s (+12%) |
DeepSeek V4.1, GLM-5.3 and Inkling 2
DeepSeek V4.1, GLM-5.3-Flash, Inkling 2 and Hy4 decode faster, most of all on M5 Macs and with several requests at once. DeepSeek V4.1 with MTP is much faster when the answer copies the prompt, such as rewriting a file with a small edit (@bleugreen in #5766, #5779).
MTP on, M5 Ultra unless noted. DeepSeek rows are greedy, the others use temperature 1.0.
| Model and workload | Before | After |
|---|---|---|
| DeepSeek V4.1 Flash oQ2e, rewriting a 376-line file | 190.6 tok/s | 278.9 tok/s (+46%) |
| Inkling 2 Mini, two 98K requests at once (M3 Ultra) | 75.5 tok/s | 97.8 tok/s (+30%) |
| GLM-5.3-Flash oQ5e, 4 requests at once | 52.03 tok/s | 65.41 tok/s (+26%) |
| DeepSeek V4.1 Flash oQ2e, 16 requests at 4K | 228.1 tok/s | 283.2 tok/s (+24%) |
Also faster:
- Inkling 2 Mini batches Lightning MTP across requests (@iggerask in #5680), prefills about 4% faster (@avifenesh in #5782) and verifies drafts in about half the time at long context (@avifenesh in #5760, #5761).
- Inkling 2 Small decodes after a 16K prompt at 28.9 -> 33.3 tok/s on M3 Ultra (+15%) (#5802).
- Hy4 Flash oQh on M5 decodes four requests at 79.0 -> 90.2 tok/s in total (+14%) (@bleugreen in #5797).
- GLM-5.3-Flash:
- At 384K it decodes 66.7 -> 69.7 tok/s (+4%) (@junmo-kim in #5792).
- Prefill attention is faster on every Mac (#5805), and oQ5e on M5 reads a 9.9K prompt in 5.81 -> 4.91 s (-16%) (#5830).
- Qwen 3.5-family 2-bit and 3-bit MoE builds use the fast expert kernels (@joshuaswarren in #5836, #5837, #5838), and M1 Macs verify 6-bit and 8-bit drafts faster (@joshuaswarren in #5304).
- Bonsai 8B decodes three requests at 33.27 -> 41.32 tok/s on M1 Max (+24%) (@lclarko in #5759).
- Gemma 3 12B 4-bit reads a 4K prompt in 16.8 -> 13.4 s on M1 Max (-20%), and M2 gets the same path (@lclarko in #5690).
- A new question on a long cached document gets its first token sooner, 1.01 -> 0.81 s at 128K (-20%), as the shared prefix is not tokenized again (@avifenesh in #5325).
- A Prefill Accelerator helper starts working sooner, 1,023 -> 1,237 tok/s on a 4K DeepSeek V4.1 prompt (+21%) (#5806).
- Splash models report ready sooner after a load, 14.02 -> 11.57 s for Qwen3.6 35B A3B on M1 Max (-17%) (@oddmundleikvoll in #5832).
- Quantized KV caches decode about 1% faster (@avifenesh in #5809).
Less memory for long prompts
Inkling 2 can now keep its KV cache in 8 bits. Four ~245K sessions on a 64 GB Mac peak at 41.4 GB instead of 57.1 GB, and all of them finish instead of failing (@avifenesh in #5755). Turn it on by setting KV cache quantization to affine8 in Model Settings. When one of several running requests finishes, memory no longer spikes while the batch shrinks (@iggerask in #5683, #5787).
Inkling-2-Mini-oQ4e-mtp on M5 Pro 64 GB.
| Workload | Before | After |
|---|---|---|
| Four ~245K sessions at once, affine8 KV | 57.1 GB | 41.4 GB (-28%) |
| 193K request while a short one finishes | 49.6 GB | 35.0 GB (-29%) |
| Three 64K requests at once | 33.6 GB | 27.6 GB (-18%) |
Also lower:
- Quantized Qwen 3.5-family models use about 4 GiB less during decode on a 27B model (@avifenesh in #5452).
- Long prompts reserve room for decode up front, so the cache pool stops churning after a long prompt (@iggerask in #5615, #5784).
- Inkling 2 in RAM-only cache mode keeps smaller prefill snapshots, so a 49K prompt that used to abort on a 36 GB Mac now finishes (@s10 in #5842).
- Prefill on oQh MoE models uses less memory, and DeepSeek V4.1 saves 1.29 GiB (#5695).
New Features and Improvements
- ERNIE 5.5 Flash Preview: runs straight from Baidu's FP4 and FP8 releases, with Lightning MTP on the bundled draft head (#5720).
- Inkling 2:
- Inkling 2 Mini works with an external DFlash2 drafter such as
incoai/Inkling-2-Mini-DFlash2(@Arpit1980gh in #5808). - PEFT LoRA adapters trained on the Hugging Face attention layout load (@e-Evolution in #5804).
- oQ shows the bundled DSpark drafter instead of "Source model has no MTP heads" (@Sahil-Bablani in #5712).
- Inkling 2 Mini works with an external DFlash2 drafter such as
- Structured output: a single
response_formatrequest now uses Lightning MTP, 49.8 -> 64.1 tok/s on Inkling 2 Mini (+29%) (@anatolykoptev and @builtbycnob in #5799). - MoE expert offload: DeepSeek V4.1 oQh builds can stream their experts, so oQ2.7h-mtp runs in 90 GB on a 128 GB Mac (@williamxie1989 in #5671).
- Model discovery: the original Hugging Face releases of Inkling 2 Mini and ERNIE 5.5 Flash Preview show up from the HF cache (@monroewilliams in #5829).
- API:
/v1/messagespassesoutput_config.effortto the model, so a client's effort setting takes effect (@Se7enbrc in #5786).- A reply from a fallback model names the model that served it in the
x-omlx-serving-modelheader (@joshuaswarren in #5340).
- Dashboard: the Active Models footer shows a 5-minute average of combined tok/s (@ianderse in #5494).
- macOS app: when an
omlx servestarted outside the app holds the port, the app can take it over or stop it (@casualuser in #3743, 9a92d5a). - oQ: Nemotron-H Omni models such as Nemotron 3.5 Bolt can be built as oQe (@dodams258 in #5326).
- Localization: Simplified Chinese is complete in the web UI and the macOS app (@LXD-8 in #5204), and the light theme meets WCAG AA contrast (@LXD-8 in #4734).
- Dependencies: transformers 5.25 (#5844).
Bug Fixes
- Idle models stay wired on macOS, so the first request after a long idle no longer wires the whole model back in at once, which ended in watchdog panics on 256 GB Macs (#5693).
- Long prompts that fit in memory are no longer refused or cut into small chunks:
- GLM-5.3 sparse attention is priced by its kernel path, and freed memory or another request's decode pool no longer counts (#5717, #5706, #5719).
- A large hot cache no longer blocks a long request, as only its own cached prefix counts (@joshuaswarren in #5109).
- A throttled chunk is split evenly instead of leaving a tiny one, 8.7 -> 7.8 s to the first token on a cached 128K question (@avifenesh in #5232).
- A slow SSD cache drive no longer freezes every running request while a cold prefix is read, as large prefixes load in the background (@zviratko in #5748).
- 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). - Tool calls the parser rejects come back as
invalid_tool_call, so agents no longer treat the turn as finished, on Inkling 2 (@saintlits in #5722) and MiniMax M3 (@joshuaswarren in #5852). - Inkling 2 keeps to
thinking_budgetwhen it opens a second thinking block (@anatolykoptev in #5834). - Qwen3 answers that quote
<think>tags keep them in the reply instead of moving them into reasoning (@joshuaswarren in #5854). - Structured output on GLM-family models stops once the grammar is complete, instead of running to
max_tokens(#5823). - DFlash2 drafters whose config leaves out
num_target_layers, such as Qwen3.6-35B-A3B's, load instead of being skipped (@joshuaswarren in #5874). - Clusters:
- Full GLM-5.3 answers correctly with tensor parallel (#5826).
- Pairing works when
known_hostslists the worker under another key type (@monroewilliams in #5768). - The throughput benchmark refuses a cluster model up front, instead of failing after it unloaded everything (@joshuaswarren in #5851).
- Sizes are labeled GB like the rest of oMLX (#5775).
- The Prefill Accelerator helper Mac forgets a host that no longer uses it, and a stale card can be dismissed (@joshuaswarren in #5859, #5637).
- LoRA adapters on DeepSeek V4.1 dense layers load (@isbcd in #5703).
- The macOS app updater works on macOS 27, where mounting the DMG failed (@joshuaswarren in #5861), and the app opens again after an update instead of staying closed (b4dcb30).
- A crashed Metal shader compiler returns a 503 that says to restart the server, instead of a bare 500 (@joshuaswarren in #5863).
- OCR models such as GLM-OCR report their real
max_tokenscap, soomlx launchwrites the right value (@Atishay8192261 in #5870). - A base64 video exactly at the size limit is accepted (@isnaenihidayat in #5412).
- DOCX attachments convert again, as lxml 6.2.0 is excluded (b56c7bb).
- A failed background cache write is reported as a failure, not only logged (@NikolayGusev-astra in #5738).
- OpenJev Flash 9B uses its own score calibration instead of the 27B values (@joshuaswarren in #5879).
- Dialog titles no longer get a focus ring in Safari and on iOS (@stellarsailor in #5778).
- The app bundle takes its paroquant version from the project pin (@NikolayGusev-astra in #5740).
Upgrade Notes
/v1/completions: a request withechoorlogprobsnow gets a 400, where 0.8.4 returned plain text and ignored them (@joshuaswarren in #5856).- Embeddings: LaBSE and EmbeddingGemma now run their Dense layers on MLX, so their vectors change and match sentence-transformers. Re-embed stored vectors (#5844).
- Tool calls: a MiniMax M3 or Inkling 2 tool call the parser rejects now returns an error instead of a plain stop (#5722, #5852).
- OpenJev Flash 9B: scores differ from 0.8.4 because of the new calibration (#5879).
- Updating from 0.8.4: the 0.8.4 updater runs this update, so the fixes above apply from the next one.
- Source installs: run
make installafter updating to pick up transformers 5.25 and rebuild the native kernels (#5844).
New Contributors
@casualuser in #3743, @isbcd in #5703, @Sahil-Bablani in #5712, @NikolayGusev-astra in #5738, @arfung in #5749, @anatolykoptev in #5799, @Arpit1980gh in #5808.