Skip to content

fix(pd): support DeepSeek V4 grouped layerwise cache handoff - #997

Open
lucifer1004 wants to merge 5 commits into
lightseekorg:mainfrom
lucifer1004:fix/dsv4-grouped-pd-main
Open

fix(pd): support DeepSeek V4 grouped layerwise cache handoff#997
lucifer1004 wants to merge 5 commits into
lightseekorg:mainfrom
lucifer1004:fix/dsv4-grouped-pd-main

Conversation

@lucifer1004

@lucifer1004 lucifer1004 commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • preserve DeepSeek V4 group-specific cache layouts and transfer manifests for P/D disaggregation
  • publish and transfer typed cache segments as each semantic model layer becomes ready
  • keep semantic layer topology independent from the number of physical cache slabs
  • reject mixed prefill/decode batches at startup and at decode admission

This reworks and supersedes the closed P/D cache-handoff attempt in #660 against current main. The SM120 serving work remains independently scoped in #992.

Test plan

Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7d4ae46f89

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread python/tokenspeed/runtime/pd/decode_executor.py Outdated
Signed-off-by: Zihua Wu <13583761+lucifer1004@users.noreply.github.com>
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