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 Han9953839b92a4
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.pyindex 6b16a4cc61b..496a37e7a30 100644--- a/unsloth/models/llama.py+++ b/unsloth/models/llama.py@@ -2012,7 +2012,8 @@ class FastLlamaModel:model.peft_config[active_adapter].base_model_name_or_path = namepass# Add revision to enable future fast inference paths- model.peft_config[active_adapter].revision = f"unsloth"+ # [TODO] Bugs out!see https://github.com/unslothai/unsloth/issues/492+ # model.peft_config[active_adapter].revision = f"unsloth"passfrom transformers.trainer import Trainer