llama.cpp
0a069810 - qwen4exp : normalize the MTP hidden input over the full hc*n_embd width (#33778)

Commit
4 hours ago
qwen4exp : normalize the MTP hidden input over the full hc*n_embd width (#33778) The MTP pre-FC hidden norm (nextn.hnorm) was applied per hc stream, with the gammas reshaped to [n_embd, hc]. The vLLM and SGLang Qwen4 MTP apply one RMSNorm over the whole hc*n_embd residual and only split it into streams afterwards. The GGUF already stores the weight as [hc*n_embd], so no re-conversion is needed. Target output is unchanged. Draft acceptance improves on self-fed draft steps (Qwen4-35B-A3B Q4_K_M, draft-mtp depth 3, GB10). Fixes #33723 Assisted-by: Claude Opus 5.5
Author
Parents
Loading