p2p overlap with dw and recompute - #79681
Open
Hz188 wants to merge 1 commit into
Open
Conversation
risemeup1111
suggested changes
Aug 20, 2026
risemeup1111
left a comment
Contributor
There was a problem hiding this comment.
| 序号 | 位置 | 优先级 | 规则来源 | 状态 |
|---|---|---|---|---|
| 1 | 重计算接入 | 默认规则:优先级 仓库规则:功能与兼容性 |
🚧 | |
| 2 | 异步 P2P 回归测试 | 默认规则:优先级 仓库规则:分布式与测试 |
🚧 | |
| 3 | 评估后计数复位 | 默认规则:优先级 仓库规则:生命周期与边界 |
🚧 |
验证范围:已完成目标 head 的完整 diff、历史、线程与检查核对,且 py_compile、git diff --check 通过;当前环境不具备可执行 Paddle/CUDA 多卡运行时,因此未运行 GPU/VPP 用例。
Powered by Nyanpasu with gpt-5.6-sol 默认推理级别, please check the suggestions carefully.
| have_dw = not WeightGradStore.funcs_queue.empty() | ||
|
|
||
| rc_key = None | ||
| if RecomputeStore.enabled and micro_step + 1 < num_steps: |
Contributor
| if not RecomputeStore.pending(rc_key): | ||
| rc_key = None | ||
|
|
||
| if have_dw or rc_key is not None: |
Contributor
There was a problem hiding this comment.
| RecomputeStore.begin_chunk( | ||
| (virtual_pp_rank, self._rc_forward_count[virtual_pp_rank]) | ||
| ) | ||
| self._rc_forward_count[virtual_pp_rank] += 1 |
Contributor
There was a problem hiding this comment.
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.
PR Category
Performance Optimization
PR Types
New features
Description
p2p overlap: weight grad and recompute
是否引起精度变化
否