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
Update tokenizer_utils.py
Daniel Hane8bc00bd3310
diff --git a/unsloth/tokenizer_utils.py b/unsloth/tokenizer_utils.pyindex e11783f7c5f..9d69fd12cea 100644--- a/unsloth/tokenizer_utils.py+++ b/unsloth/tokenizer_utils.py@@ -874,7 +874,7 @@ def patch_trl_tokenizer_processing_class(trainer_name):# New TRL removes tokenizer!# We return it back!exec(f"from trl import {trainer_name}")- if str(eval(f"{trainer_name}")__name__).startswith("Unsloth"): return None+ if str(eval(f"{trainer_name}").__name__).startswith("Unsloth"): return Noneexec(f"parameters = inspect.signature({trainer_name}).parameters")if "tokenizer" in parameters: return None