github ggml-org/llama.cpp b13005

pre-release39 minutes ago
Details

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 hcn_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

Website:

Attestations:

macOS/iOS:

Linux:

Android:

Windows:

openEuler:

  • DISABLED
  • openEuler x86 (310p)
  • openEuler x86 (910b, ACL Graph)
  • openEuler aarch64 (310p)
  • openEuler aarch64 (910b, ACL Graph)

UI:

Don't miss a new llama.cpp release

NewReleases is sending notifications on new releases.