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 Hanc17e8ca33d75
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 403a7130b76..830b345d794 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1089,7 +1089,7 @@ class LlamaExtendedRotaryEmbedding(torch.nn.Module):pass# From https://github.com/meta-llama/llama-models/blob/main/models/llama3_1/api/model.py#L41- def apply_scaling(freqs: torch.Tensor):+ def apply_scaling(self, freqs: torch.Tensor):# Values obtained from grid searchscale_factor = 8low_freq_factor = 1