Qwen3.8-Flash-Next NVFP4, with the MTP head quantized too

Run Qwen3.8 today through an API. tiyuvta serves Qwen3.8-27B now, and this Flash-Next artifact is in bring-up for the same endpoint. Get an API key and send the first request.

NVFP4 (4-bit e2m1 weights and activations, per-16 FP8-e4m3 scales, group 16) of Qwen/Qwen3.8-Flash-Next at revision de4b8e4d, quantized from the BF16 release with NVIDIA TensorRT Model Optimizer (modelopt 0.46.0). Calibration: 256 samples of 512 tokens, abisee/cnn_dailymail 3.0.0, seed 17.

What is and is not quantized, and how this differs from other NVFP4 mints of this model:

surface precision
48 layers of 512 routed experts (about 120B params) NVFP4
the MTP block (4B, full decoder layer + fusion projections) BF16, grafted byte-exact from the base release. transformers carries no MTP module, so a transformers-based PTQ pass never sees mtp.*; this artifact grafts the full block back so MTP speculative decoding works on engines that read it. An honestly calibrated NVFP4 MTP needs real activations through the block and lands with the memra bring-up
QSA and GDN attention, router gates, shared experts, gated-residual mixers, the 51B n-gram table, vision tower, embeddings, lm_head BF16

Mint gate (measured against the BF16 parent, same box, same prompts)

Fixed-probe last-token logits before and after quantization:

probe argmax same top-20 overlap KL
merge two sorted linked lists yes 18/20 0.0272
TCP vs UDP in two sentences yes 16/20 0.0035
def fib(n): continuation yes 19/20 0.0124
capital of Australia no 18/20 0.0355

Chat template is byte-identical to the base release (checked on the exact publish bytes).

Architecture notes (why this checkpoint is unusual)

125B total, 6B active, plus a 51B n-gram embedding table and a 4B MTP block. Three of every four layers are Gated DeltaNet; the fourth runs Qwen Sparse Attention (micro-block indexer, 2048-token budget), so decode reads a bounded KV set at any context length. The residual stream is four branches wide with learned read and write gates. The n-gram table is gather-only and host-memory friendly. Native context 262,144, extensible to 1M with YaRN.

Built as a serving artifact for memra, a from-scratch Rust + CUDA inference engine for RTX Blackwell (sm_120a) with exactness gates. qwen4_exp bring-up state in memra: loader lane and reference oracle landed (census-gated tensor contract over all 1,658 tensors; the reference executor matches transformers within 2e-5 on a tiny cross-oracle gate); GPU eager path in progress. See docs/MODELS.md for the current support row.

  • Vendor sampling defaults honored (thinking: temperature 1.0, top_p 0.95, top_k 20; instruct: temperature 0.7, top_p 0.80, presence 1.5); reasoning_effort xhigh, medium, low
  • Chat template embedded (tools, thinking controls); eos [248046, 248044]
  • PROVENANCE.sha256 in this repo chains every file to the pinned base revision

License

Qwen Community License 1.0, copied verbatim in LICENSE with the copyright notice retained, as clause 1 requires. Read clause 2 for Model-as-a-Service terms.

Downloads last month
88
Safetensors
Model size
117B params
Tensor type
BF16
·
U8
·
I64
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for tiyuvta/Qwen3.8-Flash-Next-NVFP4

Quantized
(151)
this model