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 Hanaa8e1723967e
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex 075498d0401..72371f93324 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -755,11 +755,8 @@ class FastBaseModel:os.environ["UNSLOTH_RETURN_HIDDEN_STATES"] = "0"# Must enable returning logitsos.environ["UNSLOTH_RETURN_LOGITS"] = "1"- try:- # Turn off skip guards- torch.compiler.set_stance(skip_guard_eval_unsafe = False)- except:- pass+ # Turn off skip guards+ torch.compiler.set_stance(skip_guard_eval_unsafe = False)return modelpass