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

Daniel Han437eb8184f2e
diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.py
index 05432fc1907..87ff6f51532 100644
--- a/unsloth/chat_templates.py
+++ b/unsloth/chat_templates.py
@@ -1114,11 +1114,12 @@ def get_chat_template(
# Check fast tokenizer
if not is_fast_tokenizer:
- print(
- "Unsloth: Not a fast tokenizer, so can't process it as of yet :(\n"\
- "Please log a Github issue if you want this as a new feature!\n"\
- "Your chat template will still work, but it won't add or edit tokens."
- )
+ pass
+ # print(
+ # "Unsloth: Not a fast tokenizer, so can't process it as of yet :(\n"\
+ # "Please log a Github issue if you want this as a new feature!\n"\
+ # "Your chat template will still work, but it won't add or edit tokens."
+ # )
elif token_mapping is not None:
# token_mapping = {"<start_of_turn>" : "<|im_start|>", "<end_of_turn>" : "<|im_end|>"}