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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update qwen3_moe.py
Daniel Hanb4f5a708780d
diff --git a/unsloth/models/qwen3_moe.py b/unsloth/models/qwen3_moe.pyindex 42026085368..bec3fa7b0d3 100644--- a/unsloth/models/qwen3_moe.py+++ b/unsloth/models/qwen3_moe.py@@ -130,7 +130,7 @@ def Qwen3MoeDecoderLayer_fast_forward(position_embeddings = position_embeddings,_flag_for_generation = self._flag_for_generation,)- hidden_states += hidden_states+ hidden_states += residual# MoE Router MLPresidual = hidden_states@@ -140,7 +140,7 @@ def Qwen3MoeDecoderLayer_fast_forward(hidden_states, router_logits = Qwen3MoeSparseMoeBlock_fast_forward(self.mlp, hidden_states)- hidden_states += hidden_states+ hidden_states += residualelse:residual = hidden_stateshidden_states = fast_rms_layernorm(self.input_layernorm, hidden_states)