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 llama.py
Daniel Han2f25ff269819
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 1b1da9001f5..3a9ee53310b 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -375,7 +375,6 @@ def LlamaAttention_fast_forward(del self.RH_Qdel self.attentionpass- print(attention_mask)bsz, q_len, _ = hidden_states.size()@@ -709,7 +708,7 @@ def LlamaModel_fast_forward(if attention_mask is None:padding_mask = Noneelif self.training:- attention_mask = None+ # attention_mask = Nonepadding_mask = Noneelse:# if 0 in attention_mask: