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 Hana78c6a62e4d3
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index a77cf715fc0..6835f2e986f 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -117,8 +117,6 @@ except:
HAS_TORCH_DTYPE = "torch_dtype" in PretrainedConfig.__doc__
-from transformers import GenerationConfig, CompileConfig
-
_compile_config = CompileConfig(
fullgraph = False,
dynamic = None,