Skip to content

feat: add deepseek v3.2 and v4 chat templates#4724

Draft
CUHKSZzxy wants to merge 4 commits into
InternLM:mainfrom
CUHKSZzxy:feat/deepseek-v4-chat-template
Draft

feat: add deepseek v3.2 and v4 chat templates#4724
CUHKSZzxy wants to merge 4 commits into
InternLM:mainfrom
CUHKSZzxy:feat/deepseek-v4-chat-template

Conversation

@CUHKSZzxy

Copy link
Copy Markdown
Collaborator

Summary

  • Add official DeepSeek-V3.2 and DeepSeek-V4 chat encoders and template registration.
  • Add DSML reasoning/tool parser integration for V3.2 function_calls and V4 tool_calls.
  • Port official encoding fixtures and add LMDeploy integration coverage.

Validation

  • Focused DeepSeek V3.2/V4 encoding tests passed.
  • Parser regression suite passed, excluding GPT-OSS harmony-vocab tests.

Assistance

Assisted with Codex + GPT-5.5 xHigh Fast, reviewed manually

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant