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 Han4122cc754705
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.pyindex d974f76a898..434555eb085 100644--- a/unsloth/models/loader.py+++ b/unsloth/models/loader.py@@ -622,11 +622,10 @@ class FastModel(FastBaseModel):pass# Check if VLM- is_vlm = (x.endswith("ForConditionalGeneration") for x in model_config.architectures)+ is_vlm = any(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,