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

Adjust the relative error of QR's grad #44785

Merged
merged 2 commits into from
Aug 3, 2022

Conversation

aoyulong
Copy link
Contributor

@aoyulong aoyulong commented Aug 1, 2022

PR types

Bug fixes

PR changes

OPs

Describe

Cherry-pick the develop qr test to the release/v2.3:

  • Some of the unit tests of QR grad computation failed in CUDA 11.7 and can be fixed by changing the seed from 4 to 7.
  • After examining the diff values, we found the actual max_relative_error is between 1e-6 and 1e-7. To avoid the failed tests caused by the random inputs, the max_relative_error is set to 1e-6 while keeping the numeric_grad_delta unchanged.

@paddle-bot
Copy link

paddle-bot bot commented Aug 1, 2022

你的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

@juncaipeng juncaipeng left a comment

Choose a reason for hiding this comment

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

LGTM

@fuyinno4 fuyinno4 merged commit 627e5bd into PaddlePaddle:release/2.3 Aug 3, 2022
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