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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update loader.py
Daniel Hana02de20cb8aa
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.pyindex 393eb28dcb7..b33c1e19db9 100644--- a/unsloth/models/loader.py+++ b/unsloth/models/loader.py@@ -406,6 +406,7 @@ class FastVisionModel(FastBaseVisionModel):is_model = Trueexcept Exception as error:autoconfig_error = str(error)+ print(autoconfig_error)is_model = Falsetry:peft_config = PeftConfig.from_pretrained(@@ -418,6 +419,7 @@ class FastVisionModel(FastBaseVisionModel):is_peft = Trueexcept Exception as error:peft_error = str(error)+ print(peft_error)is_peft = Falsepass