1pip install git+https://github.com/caiovicentino/vllm-expert-offload.git
2
3vllm serve caiovicentino1/Qwen3.6-35B-A3B-HLWQ-CT-INT4 \
4 --language-model-only \
5 --enforce-eager \
6 --moe-expert-cache-size 8
model.layers.{L}.mlp.experts.{E}.gate_proj.weight_packed INT4→int32
model.layers.{L}.mlp.experts.{E}.gate_proj.weight_scale BF16
model.layers.{L}.mlp.experts.{E}.up_proj.weight_packed INT4→int32
model.layers.{L}.mlp.experts.{E}.up_proj.weight_scale BF16
model.layers.{L}.mlp.experts.{E}.down_proj.weight_packed INT4→int32
model.layers.{L}.mlp.experts.{E}.down_proj.weight_scale BF16
BF16 (70.2 GB)
│
▼
[1] HLWQ Q5: Hadamard rotation + Lloyd-Max 5-bit
│ (better distribution before INT4)
▼
[2] PQ5 dequant → BF16
│
▼
[3] INT4 symmetric (gs=128): scale = absmax/7
│
▼
[4] Pack 8×INT4 → int32 (CompressedTensors)
│
▼
CT INT4 (19.4 GB) → Marlin → vLLM serve
1@misc{hlwq2026,
2 title={HLWQ: Hadamard-Lloyd Weight Quantization for Large Language Models},
3 author={Caio Vicentino},
4 year={2026},
5 url={https://arxiv.org/abs/2603.29078}
6}