[Feature] DSpark Support Prefill TP+CP - #33870
Open
zhangxiaolei123456 wants to merge 2 commits into
Open
zhangxiaolei123456 wants to merge 2 commits into
zhangxiaolei123456 wants to merge 2 commits into
Conversation
zhangxiaolei123456
requested review from
Qiaolin-Yu,
Ying1123,
hnyls2002 and
merrymercy
as code owners
August 6, 2026 12:03
5 tasks
|
@zhangxiaolei123456 hello~ any plan to merge it? Looking forward to this fea! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Add DSpark support for DeepSeek-V4 PD prefill with context parallelism.
Motivation
In the target deployment, prefill uses TP8/CP8 while decode uses TP8/DP8. Prefill only constructs and transfers target and draft KV caches, so configuring the Markov head against the TP-sharded LM head is unnecessary and fails because attn_tp_size=1 while lm_head.tp_size=8 .
Modifications
Accuracy Tests
Speed Tests and Profiling
Checklist
Review and Merge Process
/tag-and-rerun-ci,/tag-run-ci-label,/rerun-failed-ciCI States
Latest PR Test (Base): ❌ Run #31099832671
Latest PR Test (Extra): ❌ Run #31099831690