From a02de20cb8aaa0003946aa26be25ac4077c2d01f Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Tue, 26 Nov 2024 00:35:05 -0800 Subject: [PATCH] Update loader.py --- unsloth/models/loader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py index 393eb28dcb..b33c1e19db 100644 --- a/unsloth/models/loader.py +++ b/unsloth/models/loader.py @@ -406,6 +406,7 @@ class FastVisionModel(FastBaseVisionModel): is_model = True except Exception as error: autoconfig_error = str(error) + print(autoconfig_error) is_model = False try: peft_config = PeftConfig.from_pretrained( @@ -418,6 +419,7 @@ class FastVisionModel(FastBaseVisionModel): is_peft = True except Exception as error: peft_error = str(error) + print(peft_error) is_peft = False pass