Skip to content

v8.2.0

Latest

Choose a tag to compare

@automatosx automatosx released this 30 Nov 23:58

AX Engine v8.2.0

AX Engine 8.2.0 makes Flash Next faster to first text on long prompts, keeps a served model ready while the server is idle, and adds opt-in calibration for DFlash2 draft trees. It also tightens admission for AXQuant 3.x Flash Next packs.

Flash Next

  • Reach first text sooner on M5. Long prompts attend with one masked dense call per sparse layer and use the GPU tensor units for long histories. Same-input projections are fused, and short gathers are batched.
  • Prefill no longer takes cache captures that nothing restores. Long prompts keep 2,048-token chunks.
  • Exact disk restores that cannot be used are skipped, and cold replay is accounted for.
  • Load AXQuant 3.x Flash Next MXFP4 packs that store their 8-bit protection floors (embeddings, routers, LM head and other protected projections) as MXFP8. These floors load only when the pack passes the audited MXFP4 layout check. MXFP8 experts still need the audited MXFP8 pack.

Serving

  • Wired weights stay GPU-resident while the server is idle, so the next request does not pay to bring them back.
  • Requests share one tokenizer instead of each copying it.
  • Experimental opt-in: AX_MLX_DFLASH2_TREE_CALIBRATION loads a branch-probability model that re-ranks DFlash2 draft-tree branches. The target still selects every token. On a small M2 Ultra run it saved about one verify round in 64, about 1.2% throughput. It has not been measured on M5. See DFlash2.
  • Server metrics and SDK progress events report per-request DFlash2 drafted and accepted tokens.

Fixes

  • Without an audited MXFP4 layout, a Flash Next pack with MXFP8 tensors is now rejected. In 8.1.0, such a pack could load for direct decoding.
  • Qwen tool calls are no longer stitched together across an earlier closed tool call or a stray opener. A client stop sequence now wins over a tool call fabricated across an earlier closing tag.
  • Client stops apply to the held end-of-stream text. Leading whitespace is preserved.
  • A fully masked DFlash2 tree node is ranked uniformly instead of producing NaN scores.

Install

The signed prebuilt macOS packages require Apple Silicon and macOS 26.2 or later. Use Homebrew, the macOS app's Check for Updates…, or PyPI so the bundled MLX libraries, metallib and notarization stay intact.

shasum -a 256 -c ax-engine-v8.2.0-macos-arm64.tar.gz.sha256

Full comparison