[xpu] use cpu barrier - #4181
Merged
Merged
Conversation
zhupengyang
commented
Sep 19, 2025
Collaborator
- xpu 上的 paddle.distributed.barrier(self.parallel_config.tp_group) 会导致其它的 all_reduce 出现随机错误。
- 暂时用 threading.Barrier 替代 paddle.distributed.barrier
|
Thanks for your contribution! |
zhupengyang
force-pushed
the
xpu_barrier
branch
from
September 22, 2025 06:28
b7d0155 to
8e6b0dd
Compare
hong19860320
previously approved these changes
Sep 22, 2025
hong19860320
left a comment
Collaborator
There was a problem hiding this comment.
LGTM 先按照这个方法解决,等修复 XPU 的 paddle.distributed.barrier 问题后再调整回来。
zhupengyang
force-pushed
the
xpu_barrier
branch
from
September 22, 2025 11:02
8e6b0dd to
d72a9a1
Compare
xiaoguoguo626807
pushed a commit
to xiaoguoguo626807/FastDeploy
that referenced
this pull request
May 7, 2026
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.