[Bugfix] Fix incompatibility between #33372 and #32863 (#33475)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-01-31 05:21:32 -08:00
committed by GitHub
parent 608b556507
commit 4cb59dea6a
4 changed files with 1 additions and 6 deletions
-1
View File
@@ -466,7 +466,6 @@ def safe_apply_chat_template(
chat_template=chat_template,
chat_template_kwargs=kwargs,
)
resolved_kwargs["return_dict"] = False
try:
return tokenizer.apply_chat_template(