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 Han7c298a79ed03
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 5a48959f3f2..e2ce925f4b8 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1002,6 +1002,7 @@ def CausalLM_fast_forward(fast_forward_inference):attentions=outputs.attentions,)print(output)+ print(output)return outputpasslogits = self.lm_head(hidden_states.to(lm_head.dtype))