MTP head norm-convention and double-shifted trunk detection

Parent: Mac local LLMs: Speculative decoding and MTP · Published reference · snapshot 2026-10-05

↓ Facts as markdownall context files

mlx-lm's `qwen3_5` sanitize shifts norm gains when `should_shift_norm_weights = has_mtp_weights or has_unsanitized_conv1d`. The conv1d test is value-based (a conv1d weight whose last dimension is not 1 means a raw Hugging Face export). The MTP test is a bare presence check.

These notes link each claim to its source. A source may be a research report hosted on this site rather than the primary document. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

Facts

Children

← the whole tree · 3D view· how to read this page