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 Han1dc76614d8fa
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex 73497e70a73..fc9519cb64b 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -297,10 +297,10 @@ class FastBaseModel:model.generate = types.MethodType(unsloth_base_fast_generate, model)# Post patches- model = FastBaseModel.post_patch_model(- model,- use_gradient_checkpointing = use_gradient_checkpointing,- )+ # model = FastBaseModel.post_patch_model(+ # model,+ # use_gradient_checkpointing = use_gradient_checkpointing,+ # )# Clear deleted GPU itemsfor _ in range(3):gc.collect()