Skip to content

v26.7.6 β€” πŸ₯‡ The fastest on Apple Silicon Β· up to 2.3Γ— faster than LM Studio

Choose a tag to compare

@github-actions github-actions released this 13 Jul 05:09
· 1477 commits to main since this release
1e32a74
  • Gemma long-context prefill more than doubled. A custom flash-attention Metal kernel now handles Gemma's sliding-window attention during prefill, skipping everything outside each layer's attention window instead of computing and masking it β€” and a second round of kernel tuning (wider tiles, half the memory traffic per query row) added another ~10% on top. Measured on gemma-4-26B-A4B with a ~100K-token prompt: 299 β†’ 715 tok/s prefill (2.4Γ—) at identical peak memory and byte-identical output; Gemma E4B prefill up 4% too.
  • Multi-token prediction rebuilt β€” three drafts per round by default, and long-context decode is up ~50%. Speculative rounds no longer copy gigabytes of KV cache per round at long context, a rejected draft costs milliseconds instead of a full re-forward, and drafts project through a compact 3-bit head. On Qwen3.6-27B: code generation +25%, coding-agent sessions +15–26%, and 64K-context decode 21.7 β†’ 33.0 tok/s vs the previous release β€” while creative writing holds steady, with the adaptive controller backing off automatically on hard content. In a fresh head-to-head against the reference MTP runtime on the identical checkpoint and prompts, mlx-serve wins all 8 decode speeds (by 11–30%) AND all 8 prefill speeds, from 0.5K to 64K.
  • Qwen3.6-35B-A3B MoE models can now use their MTP head. Sidecars with mixture-of-experts drafting layers (and mixed per-tensor quantization) load and draft correctly β€” including artifacts published for other MTP runtimes, loaded unmodified. Opt in per request with enable_mtp: true; measured 73% per-draft acceptance with byte-identical greedy output.
  • Qwen long-prompt prefill: faster and ~9 GB lighter. Prompts on Qwen 3.5/3.6 models now prefill in chunks tuned to the architecture: an 8K-token prompt on the 27B runs ~5% faster with peak process memory down from 29 GB to 20 GB β€” while decoding 1.5–1.9Γ— faster via the native MTP head.
  • Your launch settings now stick everywhere. Models that load on demand (multi-model serving, generation-first launches) previously ignored parts of the server configuration: MTP and embedded-llama.cpp flags on cold loads, --kv-quant and the hot prefix cache in headless mode. All of them now apply no matter how a model gets loaded.
  • Stability fixes from a long agentic soak. Fixed a crash on Gemma 26B MoE during long multi-turn agent sessions (a KV-cache restore could drift out of alignment around 16K context) and unbounded memory growth on DiffusionGemma with long prompts (a 14 GB model could balloon past 90 GB of process footprint; now bounded).
  • Beginner-friendly model onboarding. The Model Browser gained a Recommended pane β€” curated Gemma 4 and Qwen 3.5/3.6 picks explained in plain English (what each is good at, the trade-offs, and the real on-disk size) β€” and a fresh install now walks you from the welcome screen to your first model download instead of dropping you into an empty chat.
  • MLX Core app improvements. Customizable voice wake word (make it "Hey Jarvis"), the Claude Code / pi / opencode launchers no longer overwrite your existing CLI settings, the agent gained built-in file-search, archive, and system-info tools instead of shelling out for them, and assorted chat, model-browser, and HuggingFace-search UI fixes.
  • Re-benchmarked against current LM Studio: +48% geomean on identical MLX weights. The comparison matrix was re-run against LM Studio 0.4.15 across six models (Gemma 4 E2B/E4B/31B/26B-A4B, Qwen 3.6 27B/35B-A3B) β€” up from +35% at the last measurement, driven by speculative decoding, faster prefill, and the new native-MTP cells. README charts and tables refreshed, including a new MTP context-ladder chart.
  • Long prompts no longer OOM-crash the server, and the memory check tells the truth. On every Gemma-4 and Qwen 3.5/3.6 model, a long prompt could kill the whole server with a Metal out-of-memory abort (a 255K prompt died around 100K) because prefill scratch memory silently grew with prompt length. Prefill now bounds that scratch automatically β€” a 102K-token prompt's peak dropped from 51.6 GB to 27.0 GB while getting 14% faster β€” and the admission check now accounts for KV-cache quantization (including the per-request kv_quant override), so quantized long-context requests that comfortably fit are no longer spuriously rejected with a "requires ~100 GB" error.
  • fix: hot prefix cache never enabled in headless serve mode by @JaySNL in #67
  • fix: honor --kv-quant in headless serve mode by @JaySNL in #68
  • Swift App updates + Gemma Fixes by @ddalcu in #71
  • fix: carry MTP + embedded-llama.cpp launch flags onto cold model loads by @JaySNL in #70
  • fix: OOM on very long prompts, fixes PR number 69 by @ddalcu in #72

New Contributors