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 vision.py
Daniel Han00c947798dd0
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex 525e562abb1..39ff1fd2bb2 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -366,7 +366,9 @@ class FastBaseModel:# Execute code as wellif len(execute_code.strip()) != 0:exec(execute_code)- pass+ else:+ custom_datatype = None+ correct_dtype = Nonepass# Stop SDPA for some archs like Pixtral / Mistral3