CoolFace
Modelpublic

local-inference-lab/Qwen3.8-27B-NVFP4-QAD

sourceHugging Faceapache-2.0updated 4d agoView on Hugging Face
4likes236downloads
Model Card

* WORK IN PROGRESS *

Qwen3.8-27B-NVFP4-QAD

A mixed NVFP4/MXFP8 quantization-aware distillation of Qwen3.8-27B, exported at training step 7,000.

The student learns from the original BF16 teacher with quantized MLP weights in its forward pass. Distillation updates the MLP weights, text normalization weights and BF16 student LM head. This is a trained distillation checkpoint, not a post-training conversion of the original weights.

Precision

ComponentRepresentation
MLP gate, up and down projectionsNVFP4, 16-element blocks
Gated delta network projectionsMXFP8, 32-element blocks; frozen
Full-attention query, key, value and output projectionsOriginal BF16; frozen
Student LM headTrained FP32 master rounded to BF16
Text normalization weightsTrained FP32 masters
Token embeddings, GDN convolutions and dynamicsOriginal BF16; frozen
Vision encoder and remaining source tensorsUnchanged

Packed NVFP4 and MXFP8 weights reconstruct to the BF16 weight values used during training. The tokenizer, chat template, generation configuration and multimodal processors are retained from the base model.

Activation scales

The 192 MLP input scales are copied exactly from Qwen3.8-27B-QAD-E1, whose step-4,779 weights were calibrated on 390,497,191 raw-text and chat tokens. That calibration selected the pooled p99.999 token-row maximum from exact BF16 histograms. These scales were not recalibrated at step 7,000.

Each dense layer has equal gate/up scales in separate tensors and an independent down-projection scale. Serving uses calibrated NVFP4 MLP activations and dynamic MXFP8 GDN activations, adding activation quantization beyond the BF16 training forward.

Format

Hugging Face safetensors with ModelOpt mixed-precision metadata. The runtime must support the base architecture, NVFP4 dense linears, MXFP8 linears and the BF16 full-attention/head exclusions. Packed reconstruction, serialized tensors and copied input scales are checked. Serving quality and performance have not been evaluated for this export.

License

Apache 2.0, following the base model.