Views
No views yet

[!NOTE] A numerical INT8 W8A16 quantization of Qwen/Qwen3.8-27B, served with the DFlash2 drafter for speculative decoding. All model credit belongs to Qwen; this repository changes numerics only. The detailed engineering notes live in TECHNICAL.md.
| Prompt tokens | Autoregressive | MTP4 | DFlash2 | DFlash2 vs MTP4 |
|---|---|---|---|---|
| 128 | 47 | 77 | 117 | 1.5x |
| 2,048 | 47 | 73 | 103 | 1.4x |
| 8,192 | 47 | 75 | 102 | 1.4x |
| BF16 original | This build | |
|---|---|---|
| Size | ~56 GiB | 28 GiB |
| Mean KLD | 0 | 0.0007 |
| Top-1 agreement | 100% | 98.1% |
1# 1. Models (pulls into ~/.cache/huggingface)
2hf download lued/Qwen3.8-27B-INT8-W8A16-DFlash2
3hf download lued/Qwen3.8-27B-DFlash2-W8
4
5# 2. Patches (DFlash2 support is not in a released vLLM yet)
6git clone https://github.com/noonghunna/club-3090.git
7
8# 3. Serve (condensed; full command in TECHNICAL.md)
9export CLUB3090="$HOME/club-3090"
10podman run --rm --replace --device nvidia.com/gpu=all --ipc=host -p 8080:8080 \
11 -v ~/.cache/huggingface:/root/.cache/huggingface \
12 -v "$CLUB3090/models/qwen3.6-27b/vllm/patches/vllm-pr52816-dflash2":/etc/club3090/pr52816:ro \
13 -v "$CLUB3090/models/qwen3.6-27b/vllm/patches/vllm-pr48375-mamba-drop-eagle-block":/etc/club3090/pr48375:ro \
14 --entrypoint bash docker.io/vllm/vllm-openai:nightly-5a4c8d99242e9e069b604d0e9b969e77f7dd501d \
15 -c 'bash /etc/club3090/pr48375/install.sh || exit 1; bash /etc/club3090/pr52816/install.sh || exit 1; exec vllm serve "$@"' -- \
16 lued/Qwen3.8-27B-INT8-W8A16-DFlash2 \
17 --tensor-parallel-size 2 --max-model-len 262144 --kv-cache-dtype fp8_e4m3 \
18 --speculative-config '{"method":"dflash","model":"lued/Qwen3.8-27B-DFlash2-W8","num_speculative_tokens":7}'