From c5e163db74c69b374cde13cafb94909cdc8c213e Mon Sep 17 00:00:00 2001 From: Wilson Wu <140025193+wiwu2390@users.noreply.github.com> Date: Sat, 8 Mar 2025 18:51:53 -0700 Subject: [PATCH] Don't use revision when loading model_config and is_peft=True (#1949) --- unsloth/models/loader.py | 1 - 1 file changed, 1 deletion(-) diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py index 6eee360d25..1d0e928966 100644 --- a/unsloth/models/loader.py +++ b/unsloth/models/loader.py @@ -199,7 +199,6 @@ class FastLanguageModel(FastLlamaModel): model_config = AutoConfig.from_pretrained( model_name, token = token, - revision = revision, trust_remote_code = trust_remote_code, ) pass