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 Hane2ef589460da
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex a4b6552160f..295d92f6290 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1010,6 +1010,7 @@ class LlamaRotaryEmbedding(torch.nn.Module):passdef forward(self, x, position_ids=None, seq_len=None):+ print(x, position_ids, seq_len)# x: [bs, num_attention_heads, seq_len, head_size]if seq_len > self.current_rope_size:self._set_cos_sin_cache(seq_len=seq_len, device=x.device, dtype=x.dtype)