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 Hana4ad3e0d70d0
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.pyindex da40fb57d89..ff6d8fa7aaf 100644--- a/unsloth/models/loader.py+++ b/unsloth/models/loader.py@@ -871,7 +871,9 @@ class FastModel(FastBaseModel):pass# Check if VLM- is_vlm = any(x.endswith("ForConditionalGeneration") for x in model_config.architectures)+ architectures = getattr(model_config, "architectures", None)+ if architectures is None: architectures = []+ is_vlm = any(x.endswith("ForConditionalGeneration") for x in architectures)is_vlm = is_vlm or hasattr(model_config, "vision_config")if auto_model is None:auto_model = AutoModelForVision2Seq if is_vlm else AutoModelForCausalLM