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 Hanc95380cc9c23
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex fe9eacd2421..32caa4521d6 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -853,6 +853,7 @@ def LlamaModel_fast_forward()hidden_states = layer_outputs[0]pass+ print(idx, hidden_states.dtype)if use_cache: next_decoder_cache += (layer_outputs[2 if output_attentions else 1],)if output_attentions: all_self_attns += (layer_outputs[1],)