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 loader.py

Daniel Han52e089e17ae0
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index 6eb8ed7863c..6d388900de4 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -490,6 +490,7 @@ class FastVisionModel(FastBaseVisionModel):
device_map = device_map,
trust_remote_code = trust_remote_code,
revision = revision if not is_peft else None,
+ model_types = model_types,
*args, **kwargs,
)