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 Han6320381fb689
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 4ffb18f6812..16159b128f2 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -1617,7 +1617,8 @@ class FastLlamaModel:# Log global device type usedglobal USE_BFLOAT16USE_BFLOAT16 = True if dtype == torch.bfloat16 else False-+ print(USE_BFLOAT16)+# RoPE Scalingmodel_config = AutoConfig.from_pretrained(model_name, token = token)model_max_seq_length = model_config.max_position_embeddings