Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dygraph] Fix EagerReducer::MarkVarReady() 's lank of HasGrad() branch #62299

Merged
merged 4 commits into from
Mar 4, 2024

Conversation

chen2016013
Copy link
Contributor

@chen2016013 chen2016013 commented Mar 1, 2024

PR types

Bug fixes

PR changes

Others

Description

Pcard-67164

EagrReducer的MarkVarReady函数缺少HasGrad()分支判断,相应的GradVar如果没有被initialized,会在该函数内报出segmentation fault
问题来源:PaddleDetection部分模型的多卡运行

Copy link

paddle-bot bot commented Mar 1, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Member

@ForFishes ForFishes left a comment

Choose a reason for hiding this comment

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

LGTM

@chen2016013 chen2016013 changed the title [PIR] Fix eagr reducer [Dygraph] Fix EagerReducer::MarkVarReady() 's lank of HasGrad() Mar 4, 2024
@chen2016013 chen2016013 changed the title [Dygraph] Fix EagerReducer::MarkVarReady() 's lank of HasGrad() [Dygraph] Fix EagerReducer::MarkVarReady() 's lank of HasGrad() branch Mar 4, 2024
@chen2016013 chen2016013 merged commit fc3fb05 into PaddlePaddle:develop Mar 4, 2024
30 checks passed
@chen2016013 chen2016013 deleted the test0301 branch April 19, 2024 06:11
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.

3 participants