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 Han38767cd63f79
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex f088797a8f1..7d71bbf9882 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -151,10 +151,6 @@ class FastBaseVisionModel:patch_saving_functions(model, vision = True)patch_saving_functions(tokenizer, vision = True)- # Fix gradient accumulation- from transformers.trainer import Trainer- patch_gradient_accumulation_fix(Trainer)-# Save tokenizer for inference purposestokenizer.padding_side = "left" # Force inferenceinternal_model = model