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 Hancf302f0d1744
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex a389639a632..1cfbb29bb32 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -24,6 +24,7 @@ from .llama import *from ..kernels import (post_patch_loss_function,)+from ._utils import __version__from peft import LoraConfig, TaskType, get_peft_modelfrom transformers import set_seed as transformers_set_seedfrom unsloth_zoo.peft_utils import (@@ -250,7 +251,7 @@ class FastBaseVisionModel:return modelpass-+@staticmethoddef patch_peft_model(