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 Hanac09d157504d
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex bff27a6d16e..f0b0bdff1ea 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -364,8 +364,8 @@ class FastBaseModel:correct_dtype = bnb_compute_dtypecustom_datatype = _custom_datatype# Execute code as well- print(execute_code)- exec(execute_code)+ if len(execute_code.strip()) != 0:+ exec(execute_code)passpass