Skip to content

[PD Disaggregation][XPU] update_inputs_v1 operator supports PD - #5550

Merged
ddchenhao66 merged 1 commit into
PaddlePaddle:developfrom
ddchenhao66:fix_pd_dev
Dec 15, 2025
Merged

ddchenhao66 merged 1 commit into
PaddlePaddle:developfrom
ddchenhao66:fix_pd_dev

Conversation

@ddchenhao66

Copy link
Copy Markdown
Collaborator

Motivation

当前PD分离架构service层对于资源的管理,要求P节点只做一次prefill;如果P节点做了decode,有概率出现service层和worker层死锁hang住。

Modifications

update_inputs_v1算子增加只让P节点做一次prefill的逻辑

Usage or Command

Accuracy Tests

Checklist

  • Add at least a tag in the PR title.
    • Tag list: [[FDConfig],[APIServer],[Engine], [Scheduler], [PD Disaggregation], [Executor], [Graph Optimization], [Speculative Decoding], [RL], [Models], [Quantization], [Loader], [OP], [KVCache], [DataProcessor], [BugFix], [Docs], [CI], [Optimization], [Feature], [Benchmark], [Others], [XPU], [HPU], [GCU], [DCU], [Iluvatar], [Metax]]
    • You can add new tags based on the PR content, but the semantics must be clear.
  • Format your code, run pre-commit before commit.
  • Add unit tests. Please write the reason in this PR if no unit tests.
  • Provide accuracy results.
  • If the current PR is submitting to the release branch, make sure the PR has been submitted to the develop branch, then cherry-pick it to the release branch with the [Cherry-Pick] PR tag.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


ddchenhao66 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@paddle-bot

paddle-bot Bot commented Dec 15, 2025

Copy link
Copy Markdown

Thanks for your contribution!

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (develop@722de5a). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #5550   +/-   ##
==========================================
  Coverage           ?   60.90%           
==========================================
  Files              ?      329           
  Lines              ?    41135           
  Branches           ?     6270           
==========================================
  Hits               ?    25054           
  Misses             ?    14191           
  Partials           ?     1890           
Flag Coverage Δ
GPU 60.90% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ddchenhao66
ddchenhao66 merged commit 9f70f43 into PaddlePaddle:develop Dec 15, 2025
13 of 17 checks passed
@ddchenhao66
ddchenhao66 deleted the fix_pd_dev branch December 15, 2025 08:00
chang-wenbin pushed a commit to chang-wenbin/FastDeploy that referenced this pull request Mar 2, 2026
xiaoguoguo626807 pushed a commit to xiaoguoguo626807/FastDeploy that referenced this pull request May 7, 2026
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.

4 participants