Qwen3.8-Flash-Next-MATE-3b

MATE 3-bit MoE (3.00 bpw, 71.91 GB) | 48-96 GB VRAM (or 24-32 GB with 3-tier offload)

Base: Qwen/Qwen3.8-Flash-Next-FP8 Honkware: MATE Collection: MATE Quants

At a Glance

Spec Value
Base model Qwen/Qwen3.8-Flash-Next-FP8
Parameters 175.9B total / 6.3B active (512 experts, top-10 + 1 shared + 51.2B Engram)
Quantization 3-bit CPTC-TQIR trellis
Effective bpw / Size 3.00 bpw / 71.91 GB
Checkpoint layout Sharded CPTC-TQIR + NGQ2 Engram (mate-sharded-v1)
Offload support 3-tier VRAM / RAM / NVMe offload on 24-32 GB GPUs
Min GPU VRAM (32K context) 48-96 GB
Quality (WT-2 PPL / KLD / Top-1) -

Which Variant Should I Pick?

Variant Min GPU (32K context) When to Pick
mixed-45GB 64-96 GB Mixed-bit quality balance for 64-96 GB resident VRAM (or 24-32 GB with offload)
3b (this repo) 48-96 GB Uniform 3-bit MoE checkpoint for 48-96 GB GPUs (or 24-32 GB with offload)

On 24-32 GB GPUs (L4 / RTX 4090 / RTX 5090), run mate fit qwen3.8-flash-next --ctx 32768 --vram-gb 24 --ram-gb 64 to plan 3-tier VRAM/RAM/NVMe MoE offload automatically.

Memory Breakdown (32K Context)

Component (32K ctx) FP16 KV R4KV (4-bit)
Quantized weights 47.48 GB 47.48 GB
32K Sparse-QSA KV (36 GDN layers use fixed state) 0.75 GB 0.21 GB (saves 0.54 GB)
Total (Weights + 32K KV) 48.23 GB 47.69 GB

Quickstart

One-Command Launch (mate run)

mate run inspects your GPU/RAM, configures KV compression, offload, and speculative decoding automatically, and loads the checkpoint:

pip install mate-llm[hf]
mate run Honkware/Qwen3.8-Flash-Next-MATE-3b --ctx 32768
mate run Honkware/Qwen3.8-Flash-Next-MATE-3b --ctx 32768 --serve --port 8000

Query the running server via OpenAI (/v1/chat/completions) or Anthropic (/v1/messages, ANTHROPIC_BASE_URL=http://127.0.0.1:8000):

curl http://127.0.0.1:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"Honkware/Qwen3.8-Flash-Next-MATE-3b","messages":[{"role":"user","content":"Write a C++20 lock-free ring buffer."}]}'

Python API

import json
from pathlib import Path
from huggingface_hub import snapshot_download

local_dir = Path(snapshot_download("Honkware/Qwen3.8-Flash-Next-MATE-3b"))
mate_index = json.loads((local_dir / "mate_index.json").read_text(encoding="utf-8"))
# Load sharded CPTC-TQIR MoE shards + engram.ngq2 via mate.stream_quant and mate.hybrid_decode.

Sampling & Chat Template

Mode Temperature Top-P Top-K Notes
Thinking (<think>) 0.6 0.95 20 Avoid greedy (temperature=0.0) in thinking mode to prevent repetition loops
Non-thinking (/no_think) 0.7 0.80 20 General chat, coding, and tool calls (mate serve parses <think> and <tool_call> natively)

Variants & Benchmarks

Quality is evaluated on wikitext-2-raw-v1:test (seq_len=2048) from the FP8 base checkpoint (Qwen/Qwen3.8-Flash-Next-FP8).

Variant bpw Size WT-2 PPL KLD Top-1
mixed-45GB 2.60 67.69 GB - - -
3b 3.00 71.91 GB - - -
Architecture & selective precision
  • Selective mixed-bit 512-expert MoE + Sparse-QSA + Layer-1 Engram (mate-sharded-v1) with GateRQ / NGQ2 Engram quantization, CTA-switched mixed-bit MoE kernels, and preserved MTP tensors.
  • Ostinato zero-PCIe-copy CUDA-Graph MoE dispatch with 3-tier VRAM/RAM/NVMe offload fallback when weights exceed single-GPU VRAM.
  • Hybrid GDN recurrence (corrx0 + ReplaySSM O(1) rollback) and MLI / native MTP drafter wiring.
Hardware backends
Target Compute Path Notes
NVIDIA Blackwell (sm_120a) Native CUDA (trellis_gemv_v3, r4kv, gdn, ngq2) Full DP4A, PDL, Stream-K, 128-split R4KV
NVIDIA Ada / Hopper (sm_89 / sm_90) Native CUDA (trellis_gemv_v3, r4kv, gdn, ngq2) CUDA-Graph decode, compressed KV, 3-tier VRAM/RAM/NVMe MoE offload
NVIDIA Ampere (sm_80 / sm_86) Native CUDA (trellis_gemv_v3, r4kv, e8_v3) DP4A GEMV and compressed KV
CPU x86-64 / ARM64 (AVX-512 VNNI, AVX2, NEON) Mojo 1.2 / MAX 26.7 ops (mate/libmate.so) Zero libmax.so runtime dependency; optional on CUDA hosts
Quantization recipe & reproduction
Field Value
Method CPTC-TQIR trellis quantization with weight-space MSE, analytical scale alignment, and architecture-specific MoE/Engram packing (mode="mse").
Base model Qwen/Qwen3.8-Flash-Next-FP8
Bitwidth & precision 3-bit CPTC-TQIR MoE (trellis_depth=10) + GateRQ/NGQ2 Engram (mate-sharded-v1)
KV cache runtime 4-bit R4KV + Sparse-QSA
Engine commit mate-llm 2b937d0
Raw results eval.json
mate quantize Qwen/Qwen3.8-Flash-Next-FP8 -o Qwen3.8-Flash-Next-MATE-3b.safetensors --bits 3 --routed-bits 3 --depth 10
Downloads last month
271
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Honkware/Qwen3.8-Flash-Next-MATE-3b

Quantized
(23)
this model

Collection including Honkware/Qwen3.8-Flash-Next-MATE-3b