[GH-ISSUE #5023] DeepSeek-V2-Lite-Chat - ERROR [validate_model_chat_template] The chat template comes with this model is not yet supported #28940

Closed
opened 2026-04-22 07:30:03 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @OldishCoder on GitHub (Jun 13, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5023

What is the issue?

When I load DeepSeek-V2 I see this message:
ERROR [validate_model_chat_template] The chat template comes with this model is not yet supported, falling back to chatml. This may cause the model to output suboptimal responses | tid="139815279423488" timestamp=1718280244

I do not know if it's related, but on inference the model sometimes, randomly (?), starts generating exclusively in Chinese, even if I ask it to generate the response in English.

OS

WSL2

GPU

Nvidia

CPU

Intel

Ollama version

git HEAD from June 11, 2024

Originally created by @OldishCoder on GitHub (Jun 13, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5023 ### What is the issue? When I load DeepSeek-V2 I see this message: `ERROR [validate_model_chat_template] The chat template comes with this model is not yet supported, falling back to chatml. This may cause the model to output suboptimal responses | tid="139815279423488" timestamp=1718280244` I do not know if it's related, but on inference the model sometimes, randomly (?), starts generating exclusively in Chinese, even if I ask it to generate the response in English. ### OS WSL2 ### GPU Nvidia ### CPU Intel ### Ollama version git HEAD from June 11, 2024
GiteaMirror added the bug label 2026-04-22 07:30:03 -05:00
Author
Owner

@jmorganca commented on GitHub (Jun 13, 2024):

Hi @OldishCoder this won't affect inference since templating happens ahead of the request being sent down this codepath. Will work on making sure this error doesn't show up

<!-- gh-comment-id:2166191001 --> @jmorganca commented on GitHub (Jun 13, 2024): Hi @OldishCoder this won't affect inference since templating happens ahead of the request being sent down this codepath. Will work on making sure this error doesn't show up
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#28940