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 Han057087194783
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index 1cfbb29bb32..57a2153a343 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -78,8 +78,7 @@ class FastBaseVisionModel:
# Return old flag
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = old_hf_transfer
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
-
- model_patcher.pre_patch()
+
get_statistics() # For debugging - we use a download counter to see if environments are not breaking
if dtype is None: