W8A8 INT8 quantization of
Qwen/Qwen3.5-0.8B, produced with
llm-compressor (SmoothQuant + GPTQ). The built-in MTP head is preserved as BF16 and works in vLLM ≥ 0.17 out of the box.
1pip install "vllm>=0.17"
2huggingface-cli download vadery/Qwen3.5-0.8B-W8A8 --local-dir ./Qwen3.5-0.8B-W8A8
3
4vllm serve ./Qwen3.5-0.8B-W8A8 \
5 --max-model-len 32768 \
6 --dtype bfloat16 \
7 --trust-remote-code \
8 --reasoning-parser qwen3 \
9 --speculative-config '{"method":"qwen3_5_mtp","num_speculative_tokens":1}'
3-4× faster than the BF16 source running the same MTP recipe.
1SmoothQuantModifier(smoothing_strength=0.8, mappings=SQ_MAPPINGS,
2 ignore=[...vision, mtp, linear_attn, embed, lm_head...])
3GPTQModifier(targets="Linear", scheme="W8A8",
4 ignore=[same as above],
5 dampening_frac=0.01)
SmoothQuant mappings explicitly cover only the 6 full-attention layers (indices 3, 7, 11, 15, 19, 23 out of 24) plus MLP on every layer — to avoid SmoothQuant trying to fuse into the linear_attn projections which have a non-standard shape.
The quantization script is at
https://huggingface.co/vadery/qwen36-27b-ft-grm-w8a8 (sibling 27B model), parameterized for the 0.8B's layer count.
Inherits Apache 2.0 from the base model.