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

Fix bugs in GPU-phi-kernel in function CommonGradBroadcastCUDA #69065

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

cubehan3
Copy link
Contributor

@cubehan3 cubehan3 commented Oct 30, 2024

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

paddle.pow(x, y),当前例如x形状为(1, 2, 1, 3),y形状为(1, 2, 3)时,GPU版本的计算与CPU不一致。
修复 fast_broadcast 为真时提前退出的问题,这可能导致 pow_grad 在适用于广播维度的元素上出现精度异常。

pcard-66975

Copy link

paddle-bot bot commented Oct 30, 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
Contributor

@xiaoguoguo626807 xiaoguoguo626807 left a comment

Choose a reason for hiding this comment

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

加一下解决了什么问题的描述

@xiaoguoguo626807 xiaoguoguo626807 merged commit 07a5af3 into PaddlePaddle:develop Oct 31, 2024
28 checks passed
@cubehan3 cubehan3 deleted the fix-pow2_grad branch November 4, 2024 09:07
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.

2 participants