Skip to content
r/LocalLLaMA · Communities

Update your chat template for dsv4 if you’re using llama.cpp

Following some recent commits in llama.cpp, preserve_thinking behavior for chat templates included in older DSV4 ggufs got broken. This makes the model pretty dumb in a coding agent context. Adding kwargs won't fix it. Just add: --chat-template-file /path/to/llama.cpp/models/templates/deepseek-ai-DeepSeek-V4.jinja to o