Skip to content

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.

Update vision.py

Daniel Hancf302f0d1744
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index 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_model
from transformers import set_seed as transformers_set_seed
from unsloth_zoo.peft_utils import (
@@ -250,7 +251,7 @@ class FastBaseVisionModel:
return model
pass
-
+
@staticmethod
def patch_peft_model(