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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Add trust_remote_code parameter to tokenizer (#3631)
Etherllf91ea1e9a6c4
diff --git a/unsloth/models/vision.py b/unsloth/models/vision.pyindex 137f23919c8..c0084f7d55a 100644--- a/unsloth/models/vision.py+++ b/unsloth/models/vision.py@@ -780,6 +780,7 @@ class FastBaseModel:token = token,language = whisper_language,task = whisper_task,+ trust_remote_code = trust_remote_code,)else:try:@@ -787,12 +788,14 @@ class FastBaseModel:tokenizer_name,padding_side = "left",token = token,+ trust_remote_code = trust_remote_code,)except:tokenizer = get_auto_processor(tokenizer_name,padding_side = "left",token = token,+ trust_remote_code = trust_remote_code,)if hasattr(tokenizer, "tokenizer"):__tokenizer = tokenizer.tokenizer