CoolFace
Modelpublic

Vontra/Qwen3.8-Flash-Next-MLX-oQ4-MTP

sourceHugging Faceotherupdated 18d agoView on Hugging Face
13likes11kdownloads
Model Card

<p align="center"> <a href="https://qwen.ai/"><img src="qwen-logo.png" width="96" height="95" alt="Qwen"></a> </p>

<p align="center"> <img src="https://img.shields.io/badge/Qwen-Qwen3.8-615CED?style=for-the-badge&logo=qwen&logoColor=white" alt="Qwen Qwen3.8"> <img src="https://img.shields.io/badge/AppleSilicon-MLX-000000?style=for-the-badge&logo=apple&logoColor=white" alt="Apple silicon MLX"> <img src="https://img.shields.io/badge/NativeMTP-Included-22C55E?style=for-the-badge" alt="Native MTP included"> <img src="https://img.shields.io/badge/Vontra-oQ4-6E56CF?style=for-the-badge&logo=huggingface&logoColor=white" alt="Vontra oQ4"> </p>

<h1 align="center">Qwen3.8 Flash Next — MLX oQ4 with native MTP</h1>

<p align="center"> A mixed-precision MLX conversion of <a href="https://huggingface.co/Qwen/Qwen3.8-Flash-Next">Qwen/Qwen3.8-Flash-Next</a>, quantised directly from the official BF16 checkpoint with its native MTP draft block preserved. </p>

<p align="center"> <a href="https://huggingface.co/Qwen/Qwen3.8-Flash-Next">Original model</a> · <a href="https://qwen.ai/blog?id=qwen3.8-flash-next">Qwen overview</a> · <a href="https://github.com/ml-explore/mlx-vlm">MLX-VLM</a> · <a href="LICENSE">Qwen Community License 1.0</a> </p>

About this conversion

This repository contains an oQ4 mixed-precision MLX conversion produced directly from Qwen's BF16 weights. Layer sensitivity was measured with a validated local proxy. Every final tensor, including the native MTP head, was rebuilt from the official BF16 checkpoint. Group size 32 supports the model's 160-wide hashed n-gram embedding tables.

ItemValue
RepositoryVontra/Qwen3.8-Flash-Next-MLX-oQ4-MTP
Base model`Qwen/Qwen3.8-Flash-Next`
FormatMLX safetensors
QuantisationoQ4 mixed precision, 4-bit affine base with protected modules at 5/8-bit
Base group size32
Protected modules232
Native MTPIncluded, one Qwen4Exp draft block
Weight tensors3,747 total, including 76 converted MTP tensors
Weight shards22
Weight size113.33 GB, 105.54 GiB
Configured context262,144 tokens
Architectureqwen4_exp vision-language sparse MoE

The upstream tokenizer, chat template, vision processor, generation configuration, and native MTP configuration are preserved.

[!IMPORTANT] This checkpoint requires an oMLX or MLX-VLM runtime with explicit qwen4_exp native-MTP support. Stock runtimes that do not construct the Qwen4Exp MTP module may reject the 76 MTP tensors during strict weight loading.
[!CAUTION] Do not attach a Qwen3.8 27B drafter to this model. Flash Next has different hidden dimensions and ships its own matching MTP block here.

Download and use

bash
hf download Vontra/Qwen3.8-Flash-Next-MLX-oQ4-MTP \
  --local-dir Qwen3.8-Flash-Next-MLX-oQ4-MTP

Add the downloaded directory to an MTP-capable oMLX installation, select the model, and enable native MTP in its model settings.

Apple M3 Studio performance

Validated with native MTP enabled in oMLX on an Apple M3 Studio:

TestOutput tokensSpeed
Raw completion, first measured run3229.4 tokens/s
Raw completion, warmed3234.4 tokens/s
Exact-instruction chat2717.4 tokens/s
Casual chat7139.7 tokens/s

The two deterministic raw-completion runs produced identical output. The exact-instruction test returned hello, and the longer chat completed coherently without repetition or cache-reconciliation errors. Native MTP remained active throughout, with 58.3 to 89.5% draft acceptance across these tests.

Results vary with prompt length, cache state, sampling settings, runtime version, and memory pressure.

Architecture

Qwen3.8 Flash Next combines Gated DeltaNet, Qwen Sparse Attention, sparse mixture-of-experts layers, widened gated residual streams, hashed bigram and trigram embeddings, and a native next-token prediction block for speculative decoding.

Architecture detailUpstream value
Language-model parameters125B total / 6B active
N-gram embedding51B parameters
Layers48
Routed / active experts512 / 10, plus 1 shared
Attention heads / KV heads24 / 2
Hidden size2,560
Native configured context262,144 tokens
Native MTP draft blocks1

For upstream evaluations, intended use, limitations, safety guidance, and the complete architecture discussion, see the original model card.

Conversion and validation

  • —The converter read the official BF16 checkpoint directly.
  • —Sensitivity-guided allocation used a 4-bit base and 232 protected or overridden modules.
  • —Structural validation checked all 3,747 indexed tensors and all 22 shards.
  • —MTP validation confirmed one configured draft layer and 76 converted MTP tensor entries.
  • —Live generation validation covered deterministic completion, exact-instruction chat, coherent chat, MTP telemetry, and cache rollback.

This is a community conversion, not an official Qwen release.

License and attribution

The upstream model is released under the Qwen Community License 1.0. The required licence text is included in this repository.

Model design, training, evaluations, and upstream documentation belong to Qwen and the original contributors. The MLX conversion and packaging are provided by Vontra.

<!-- vontra-chooser-start -->

Choose for your Mac

64GB Macs · 128GB Macs · 256GB Macs

No measured memory tier is assigned here. The collections use published M3 Studio peaks with at least 25% nominal headroom; fit on other Macs is an estimate, and full context is not guaranteed. Start with short context and one request.

Runtime and evidence

The exact tested oMLX application version is not recorded here; a library version is not an app version. The original performance tables retain their benchmark conditions and speed figures; this documentation update adds no new test results.

An unresolved long-generation repetition report involves oQ4-MTP; this update does not establish a fix.

Quick start and demo prompt

bash
hf download Vontra/Qwen3.8-Flash-Next-MLX-oQ4-MTP --local-dir ./models/Qwen3.8-Flash-Next-MLX-oQ4-MTP

Add the downloaded folder to oMLX model directories, refresh the list, and follow this card's architecture and MTP compatibility requirements before loading.

Try this in a new chat with a 128-token output limit:

text
Explain why the sky looks blue in three short sentences.

This is a demo prompt to try, not a recorded successful run; a captured demonstration for this documentation update is not yet available.

Follow Vontra for new Apple Silicon releases and fixes. <!-- vontra-chooser-end -->