From a722100b307e93993a5b0376483c1507a8e4a857 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 30 Jul 2024 10:29:54 -0700 Subject: [PATCH] Update llama.py --- unsloth/models/llama.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py index 6b16a4cc61..496a37e7a3 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