Views
No views yet

1pip install vllm==0.22.1
2git clone https://github.com/nota-github/adaptfm-quant-dflash
3pip install -e adaptfm-quant-dflash/src/vllm_plugin # auto-loads via entry point
4
5EQC_DFLASH_QUANT_PATCH=1 EQC_DFLASH_SWA_WINDOW=1024 \
6vllm serve nota-ai/Qwen3.5-4B-QAD-W4A16 \
7 --quantization compressed-tensors --trust-remote-code \
8 --speculative-config '{"method": "dflash", "model": "nota-ai/Qwen3.5-4B-DFlash-GPTQ-W4A16",
9 "num_speculative_tokens": 15, "quantization": "compressed-tensors"}' \
10 --attention-backend FLASH_ATTN --max-num-batched-tokens 16384EQC_DFLASH_QUANT_PATCH=1 loads this W4A16 draft on vLLM 0.22.1.EQC_DFLASH_SWA_WINDOW=1024 enables sliding-window attention over the drafter, which improves long-context decoding latency. Drop it for full drafter attention.1@article{kim2026quantize,
2 title = {Quantize the Target, Quantize the Drafter: Efficient Inference with Qwen3.5-4B},
3 author = {Jaeyeon Kim and Jewon Lee and Bo-Kyeong Kim},
4 journal = {arXiv preprint arXiv:2607.04244},
5 year = {2026}
6}