From 44f405a009e2d77e62bd0798702472c327d880ed Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Wed, 12 Mar 2025 21:40:20 -0700 Subject: [PATCH] Update llama.py --- unsloth/models/llama.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/models/llama.py b/unsloth/models/llama.py index bb2c7569d8..4a7f4f0624 100644 --- a/unsloth/models/llama.py +++ b/unsloth/models/llama.py @@ -2019,7 +2019,7 @@ class FastLlamaModel: **kwargs, ): if os.environ.get("UNSLOTH_USE_NEW_MODEL", "0") == "1": - return FastBaseModel.get_model( + return FastBaseModel.get_peft_model( model = model, r = r, target_modules = target_modules,