Skip to content

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.

Update llama.py

Daniel Han9953839b92a4
diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py
index 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 = name
pass
# 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"
pass
from transformers.trainer import Trainer