[CPU] Add frontend support for Gemma (#12590)

This commit is contained in:
blzheng
2026-03-18 23:02:26 -07:00
committed by GitHub
parent 8d4fcf2f7b
commit a98b456c70
3 changed files with 92 additions and 20 deletions
+2
View File
@@ -398,6 +398,8 @@ register_chat_template(
"user": ("<start_of_turn>user\n", "<end_of_turn>\n"),
"assistant": ("<start_of_turn>model\n", "<end_of_turn>\n"),
},
image_token="<start_of_image>",
audio_token="<start_of_audio>",
style=ChatTemplateStyle.PLAIN,
)
)