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 Hanf12572ee0dd3
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 61cf05e1101..ad1b6f4943c 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1016,6 +1016,7 @@ def CausalLM_fast_forward(fast_forward_inference):logits_to_keep: Optional[int] = 0,*args, **kwargs,) -> Union[Tuple, CausalLMOutputWithPast]:+ print(past_key_values)if past_key_values is not None:outputs = fast_forward_inference(self,