Views
No views yet
single-user/start_qwen.sh with SPEC=dflash2.| tensors | precision | note |
|---|---|---|
layers.N.self_attn.{q,k,v,o}_proj, layers.N.mlp.{gate,up,down}_proj (1.61B params) | int4 GPTQ, g128 | Hessians from the drafter's own inputs on 400 real prompts (~290k rows per layer) |
fc (5120 × 25600, projects the target's layer 5/19/33/47/61 hidden states) | int4 GPTQ, g128 | keeping it bf16 measured no acceptance difference |
grouped-conv kernel_projections, candidate_selector, norms | bf16 | tiny; vLLM builds them unquantized |
drafter/capture_dflash2.py, drafter/quant_dflash2.py) in the repo's drafter/README.md.patches/dflash2-backport.patch (backport of vLLM PR #52816),
or vLLM main with PR #52816:1vllm serve <Qwen3.8-27B target> \
2 --speculative-config '{"method":"dflash","model":"syvai/Qwen3.8-27B-DFlash2-W4A16","num_speculative_tokens":7}' \
3 --attention-backend FLASH_ATTN --kv-cache-dtype bfloat16