Views
No views yet
huggingface/qwen3_5/ptq/w4a16_nvfp4-fp8_attn-kv_fp8_cast.| Component | Precision | Notes |
|---|---|---|
| MLP gate/up/down (32 layers × 3) | NVFP4 W4A16 (e2m1, block-16, e4m3 scale) | weights only; activations BF16 |
| self_attn QKVO (8 layers × 4) | FP8 W+A (e4m3) | hybrid attention layers |
| linear_attn out_proj / in_proj_qkv / in_proj_z (24 layers × 3) | FP8 W+A (e4m3) | hybrid linear-attention layers |
| linear_attn in_proj_{a,b} / conv1d | BF16 | state-space submodules preserved |
| lm_head | NVFP4 W4 (weight-only) | block-16, e4m3 scale |
| KV cache | FP8 | with constant amax |
| visual / vision_tower / mtp | BF16 | preserved |
| Calibration | max | cnn_dailymail, 512 samples |
1vllm serve davidyu-nv/Qwen3.5-9B-NVFP4-W4A16 \
2 --tensor-parallel-size 2 \
3 --data-parallel-size 4 \
4 --reasoning-parser qwen3 \
5 --max-model-len 131072 \
6 --trust-remote-code \
7 --disable-custom-all-reduce \
8 --no-enable-prefix-caching--enable-auto-tool-choice --tool-call-parser hermes.nvcr.io/nvstaging/nim/vllm-modelopt:v0.19.1.| Variant | Size | MLP | attn | lm_head |
|---|---|---|---|---|
| BF16 | 19.3 GB | — | — | — |
| P0 v2 (W4A4 MLP-only, max calib) | 12.36 GB | NVFP4 W4A4 | BF16 | BF16 |
| Upstream MSE (W4A4 MLP-only) | 12.38 GB | NVFP4 W4A4 | BF16 | BF16 |
| This (W4A16 + FP8 attn, max calib) | 8.4 GB | NVFP4 W4A16 | FP8 | NVFP4 |