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 Han4cf033f6c7fb
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.pyindex 0eade901c79..d974f76a898 100644--- a/unsloth/models/loader.py+++ b/unsloth/models/loader.py@@ -625,7 +625,8 @@ class FastModel(FastBaseModel):is_vlm = (x.endswith("ForConditionalGeneration") for x in model_config.architectures)is_vlm = is_vlm or hasattr(model_config, "vision_config")auto_model = AutoModelForVision2Seq if is_vlm else AutoModelForCausalLM-+ print(auto_model)+ print(is_vlm)model, tokenizer = FastBaseModel.from_pretrained(model_name = model_name,max_seq_length = max_seq_length,