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
Display the model name in RoPE scaling unsupported error (#2564)
Emmanuel Ferdman2a1caa746bff
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 207540abf5c..480d22a6c58 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1731,7 +1731,7 @@ class FastLlamaModel:except: passhas_rope_scaling = True- # If max_seq_length is not specified, use maximum fron config+ # If max_seq_length is not specified, use maximum from configif max_seq_length is None:max_seq_length = model_max_seq_lengthpass@@ -1753,7 +1753,7 @@ class FastLlamaModel:# Warn RoPE scaling isn't allowedif not has_rope_scaling:raise RuntimeError(- "However, {model_name} doesn't support RoPE Scaling!\n"\+ f"However, {model_name} doesn't support RoPE Scaling!\n"\"Please file a feature request at https://github.com/unslothai/unsloth.")pass