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 Han53653128ffef
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 2d5e43ba64e..0b567b023ab 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1189,7 +1189,7 @@ def PeftModelForCausalLM_fast_forward(num_logits_to_keep=0,**kwargs,):- a = self.base_model(+ return self.base_model(input_ids=input_ids,causal_mask=causal_mask,attention_mask=attention_mask,@@ -1201,7 +1201,6 @@ def PeftModelForCausalLM_fast_forward(num_logits_to_keep=num_logits_to_keep,**kwargs,)- print(a)pass