Qwen4 MoE drafter hookup is a stateful trap — only 2 of 7 models got it right

Regular-Register-358 · reddit · 2026-12-05

The author had coding agents port the dflash2 drafter for Qwen4-35B from sglang to vLLM and found it an excellent agent trap: unlike qfn, Qwen4's architecture is stateful — rejected drafter tokens require rolling back part of the network's state, and naive state-capture hookups cause greedy decoding to drift. Sglang solves it with a state freeze.

Results: only DeepSeek 41f max and Neon got it right; Opus, qfn, q4moe itself, and Kimi 3.1 pro all failed, with Opus notably the least willing to help improve a rival model.

Takeaway: engine makers flaunting drafter speedups should verify their state freeze/reset is correct.

Original post →

More from coding & agent

coding & agent channel →