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 loader.py

Daniel Hana02de20cb8aa
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index 393eb28dcb7..b33c1e19db9 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