Skip to content

v26.7.8 — Hunyuan 3: a 295B flagship on your Mac

Choose a tag to compare

@github-actions github-actions released this 15 Jul 13:11
· 1468 commits to main since this release
  • Tencent's Hunyuan 3 (295B-A21B) runs natively. The strongest open model mlx-serve has ever served: mlx-serve run hy3 pulls the 2-bit mixed-precision build (~105 GB) and serves it at ~26 tok/s decode with ~235 tok/s prefill on an M4 Max — thinking, tool calling, streaming, and all four API surfaces included. Recommended for Macs with more than 128 GB of memory; on a 128 GB Mac it runs with a minimal context window. Its native multi-token-prediction head works too: opt in per request with enable_mtp: true (+11% on code-edit workloads with --mtp-depth 1). HY3 should be considered experimental in MLX-Serve, needs more testing, but please report any problems you see.
  • Checkpoints with float16 quantization scales now load at full speed. Mixed-precision conversions that store scales as f16 beside bf16 compute silently hit a 4× slower matmul path — on the 295B that was the difference between 1.2 and 23 tok/s. The server now normalizes them once at load, with no measurable quality change.
  • Hy3 GGUFs work too — including Tencent's official 1-bit build. The embedded llama.cpp engine is updated to b9999, which carries the freshly-merged hy_v3 support, so AngelSlim's IQ1_M (~89 GB) and the community IQ2/Q4 quants load through the same auto-routing every other GGUF uses.
  • Streaming reasoning can no longer split a character in half. Multibyte characters (², °, emoji) that straddle two tokens used to occasionally ship as broken bytes in reasoning_content deltas, tripping strict SSE clients; reasoning streams are now always valid UTF-8, across both the OpenAI and Anthropic surfaces.
  • A cut-off tool call can never ship half a file anymore. When a tool call is truncated mid-argument — the model bails, hits a limit, or gets cut by the repetition guard — the server now recovers the tool name and the arguments that fully arrived, and drops the fragment. Previously a Gemma-format write call cut inside its content could hand an agent a partial page as if it were the real thing; with the file path already present, the agent would have written a corrupt file and reported success.
  • Runaway repetition loops now report what actually happened. When the server cuts a model stuck repeating the same phrase, the request finishes as an honest truncation (finish_reason: "length") and logs the cut — so agent clients fire their retry-with-smaller-chunks recovery instead of validating a garbage call, and a post-mortem no longer needs log archaeology to see the guard fired.
  • Mixture-of-experts models can finally use their MTP head. MoE checkpoints that ship a multi-token-prediction head kept it switched off for every client that doesn't ask for it by name — which is all of them (Claude Code, curl, benchmark tools). The new --mtp flag, and a matching Settings toggle, turns it on: on the Qwen3.6 35B-A3B distill that is a measured 2.1× on predictable, echo-heavy work like code edits and agent loops. It stays off by default because the same head is worth almost nothing on novel prose — so measure your checkpoint before flipping it.
  • /v1/models tells the truth about models it hasn't loaded yet. Multimodal checkpoints — most Gemma 3/4 and Qwen-VL builds — advertised a context window of 0, no dimensions, and "not a mixture-of-experts model" until they were loaded, so a client couldn't size a request or even tell a 128-expert model from a dense one without first pulling 16 GB of weights into memory.