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.

tokenizer_name

Daniel Han104594648dce
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index bc8dca0ab24..d81348e5368 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -493,6 +493,7 @@ class FastVisionModel(FastBaseVisionModel):
trust_remote_code = trust_remote_code,
revision = revision if not is_peft else None,
model_types = model_types,
+ tokenizer_name = tokenizer_name,
*args, **kwargs,
)
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.py
index a17c90626c3..f088797a8f1 100644
--- a/unsloth/models/vision.py
+++ b/unsloth/models/vision.py
@@ -49,6 +49,7 @@ class FastBaseVisionModel:
device_map = "sequential",
trust_remote_code = False,
model_types = None,
+ tokenizer_name = None,
**kwargs,
):
if trust_remote_code: