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 Han-Chen9a09d161f23c
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex b021ac2b3b9..7d0acab52e6 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -756,6 +756,9 @@ class FastLlamaModel:# Clear deleted GPU itemsgc.collect()torch.cuda.empty_cache()++ # We check the tokenizer first for errors+ check_tokenizer(model, tokenizer)return modelpass@@ -791,9 +794,6 @@ class FastLlamaModel:assert(module in accepted_modules)pass- # We check the tokenizer first for errors- check_tokenizer(model, tokenizer)-# Get LoRAlora_config = LoraConfig(r = r,