Qwen3-30B-A3B-P48NVFP4-MoESQ
A W4A4 + paired-4:8 sparse compressed checkpoint of
Qwen/Qwen3-30B-A3B, produced with MoESQ.
The MoE expert weights are NVFP4 with paired-4:8 structured sparsity. They are stored
sparse: only the kept values plus a small mask are on disk, not a dense NVFP4 tensor with
zeros in place. The target is NVIDIA Blackwell (SM100 and SM120) sparse tensor cores.
- Base model: Qwen/Qwen3-30B-A3B (MoE, 128 routed experts with 8 active, 48 layers)
- Compression: NVFP4 W4A4 plus paired-4:8 sparsity on the routed MoE experts
- Effective weight precision: about 2 bits/weight on routed-expert linears
- Checkpoint size: 12.2 GiB, vs 17.2 GiB for the same weights stored as dense NVFP4 (0.71×)
- Kernel: paired-4:8 sparse NVFP4 grouped GEMM (CUTLASS, SM100 and SM120) through vLLM's
paired48_nvfp4 MoE backend
Links
Usage
This checkpoint does not load in upstream vLLM. The MoESQ repository installs a patched
vLLM v0.30.0 (the paired48_nvfp4 MoE backend and sparse-storage loader) together with the
kernels. It needs an NVIDIA Blackwell SM100 (B200, GB200) or SM120 (RTX 5090, RTX PRO 6000) GPU and a
CUDA toolkit >= 12.8; SM103 (B300) and SM121 (DGX Spark) are not supported.
vLLM selects the backend automatically.
Evaluation
OpenLLM Leaderboard v1: 6-task average
The six tasks are ARC-Challenge (25-shot), HellaSwag (10-shot), MMLU (5-shot),
TruthfulQA-MC2 (0-shot), Winogrande (5-shot) and GSM8K (5-shot, greedy). Scores use
lm-evaluation-harness with the full test sets, mean ± sd over few-shot seeds 1234, 0 and 1,
served with the MoESQ vLLM integration on 1× B200. Recovery is relative to dense.
Per task, this model: ARC-C 60.78 · GSM8K 82.36 · HellaSwag 64.66 · MMLU 71.13 ·
TruthfulQA-MC2 51.73 · Winogrande 67.80.
Gate and up projections carry separate NVFP4 global scales. The MoESQ vLLM patch folds
their ratio into the block scales at load time. A vLLM build without that fold applies the gate
scale to both projections; this checkpoint's weights scored 65.20 ± 0.08 on such a build under
the same protocol.
Compression details
The scale group is 32 because the Blackwell sparse NVFP4 MMA (SM100 and SM120) requires one scale per 32 dense
K elements, which is 16 surviving elements after the 4:8 prune.
Sparse storage layout (paired48_sparse, pair-bitmask v1)
Packed NVFP4 stores two adjacent K elements per byte, so one pair is one byte. A paired-4:8
weight therefore has exactly 2 nonzero bytes in every 4-byte chunk. Each routed-expert linear
stores:
quantization_config carries "paired48_sparse": {"layout": "pair-bitmask", "version": 1}.
The encoding is lossless: converting to and from dense NVFP4 is exact, and every tensor in
this upload was checked with a round trip. At load time vLLM rebuilds each layer's dense
packed weight and compresses it into the kernel's own layout.
Recipe (MoESQ, arm "gw2")
The full MoESQ config for this run is in moe_sq_config.yaml [blocked].
- Init: GPTQ, 4-bit, 512 calibration samples, percdamp 0.01, block size 128. Masks come
from paired-4:8 pruning.
- Refinement: masks and weight values are learned jointly for 10 epochs on 8,192 mixed
calibration sequences of up to 4,096 tokens, with activations fake-quantized to NVFP4. The
objective is the block-output reconstruction error weighted by the router gate
(
gate_weight_exponent = 2).
Citation
Contact
For questions, open a discussion here or contact
kwanhee.lee@postech.ac.kr.