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 Hana9d6c731ee58
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex a4a6527ff2f..a4b6552160f 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1065,7 +1065,7 @@ class LlamaExtendedRotaryEmbedding(torch.nn.Module):config = None, # [TODO] Hack to pass in config - need to remove later):super().__init__()- if config is not None: return # [TODO] Hack to pass in config - need to remove later+ # if config is not None: return # [TODO] Hack to pass in config - need to remove laterself.dim = dimself.max_position_embeddings = max_position_embeddings