The draft model that Kapitsa uses to speed up Qwen3.8 27B on a Mac. It starts from incoai/Qwen3.8-27B-DFlash2 and makes the 27B decode about 6-9% faster on an M5 Pro. Replies are the same as without a drafter, except where the 27B's top two tokens are essentially tied.
kapitsa serve --model 27b
M5 Pro 48 GB, Qwen3.8 27B 4-bit, 36 prompts (chat, code, math), greedy, 512 tokens, 3 interleaved rounds.
| Drafter | Tokens per check | Decode (tok/s) |
|---|---|---|
| incoai/Qwen3.8-27B-DFlash2 | 5.04 | 71.7 |
| this drafter | 5.36 | 78.1 |
78.1 is the mean of the two rounds where both drafters ran warm. Counting the first round, where this drafter ran cold, the mean is 75.8 tok/s.
Same architecture and tensors. The config's dflash_config.block_size is 16 (it was 8), because Kapitsa drafts 16 tokens at a time for one conversation. We fine-tuned it for one epoch on 18,000 replies that Qwen3.8 27B (4-bit) wrote at temperature 0, with the DFlash2 training objective at block 16.
ft16b-final: this drafter.incoai-015e795: incoai's drafter unchanged (015e795), kept here for rollback.Apache-2.0, as the incoai drafter it is derived from.
Qwen/Qwen3.8-27B