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 Han565d2ce6f1ce
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex f9981f56eab..8fc480d1491 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1073,7 +1073,7 @@ class LlamaExtendedRotaryEmbedding(torch.nn.Module):device = "cuda"max_position_embeddings = config.max_position_embeddingspass-+self.dim = dimself.max_position_embeddings = max_position_embeddingsself.base = base