Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Added k_norm & q_norm to merged Qwen3 layers (#2452)

cblomert629a3fcfe3b5
diff --git a/unsloth/save.py b/unsloth/save.py
index e3eece6ccac..578f2b49a1b 100644
--- a/unsloth/save.py
+++ b/unsloth/save.py
@@ -70,6 +70,7 @@ LLAMA_WEIGHTS = (
LLAMA_LAYERNORMS = (
"input_layernorm", "post_attention_layernorm",
"pre_feedforward_layernorm", "post_feedforward_layernorm",
+ "self_attn.q_norm", "self_attn.k_norm",
)
# https://github.com/ggerganov/llama.cpp/blob/master/examples/quantize/quantize.cpp#L19