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.

Add TODO comment for ensure_weight_tying in vision models

Daniel41e6fe557aa7
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index 9f847f28375..b4ce718f469 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -930,7 +930,7 @@ class FastBaseModel:
task_type = TaskType.CAUSAL_LM,
temporary_location = "_unsloth_temporary_saved_buffers",
qat_scheme = None,
- ensure_weight_tying = False,
+ ensure_weight_tying = False, # [TODO] Add `ensure_weight_tying` for `modules_to_save` for vision models
**kwargs,
):
if os.environ.get("UNSLOTH_ENABLE_FULL_FINETUNING", "0") == "1":