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

[AMP OP&Test]Modify the FP16 and BF16 OpTest of Add_N #52311

Merged
merged 9 commits into from
Mar 30, 2023

Conversation

Vvsmile
Copy link
Contributor

@Vvsmile Vvsmile commented Mar 29, 2023

PR types

Others

PR changes

Others

Describe

Modify the FP16 and BF16 OpTest in the file test_sum_op.py, adjusting the default tolerance.

@paddle-bot
Copy link

paddle-bot bot commented Mar 29, 2023

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

@paddle-bot
Copy link

paddle-bot bot commented Mar 29, 2023

❌ The PR is not created using PR's template. You can refer to this Demo.
Please use PR's template, it helps save our maintainers' time so that more developers get helped.

@Vvsmile Vvsmile changed the title Modify the FP [API & OP_TEST]Modify the FP16 and BF16 OpTest of Add_N Mar 29, 2023
@Vvsmile Vvsmile changed the title [API & OP_TEST]Modify the FP16 and BF16 OpTest of Add_N [AMP OP&Test]Modify the FP16 and BF16 OpTest of Add_N Mar 29, 2023
Copy link
Contributor

@ZzSean ZzSean left a comment

Choose a reason for hiding this comment

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

LGTM

@ZzSean ZzSean merged commit e3217e3 into PaddlePaddle:develop Mar 30, 2023
cxxly pushed a commit to cxxly/Paddle that referenced this pull request Mar 31, 2023
…2311)

* adjust defalut tolerance of output and grad

* fix a bug in the grad of OpTest

* fix the type of setting defalut value in optest, both forward and
backward

* add defalut

* fix test_sum_op

* fix test_sum_op test for testing add_n

* modify the add_n op_test
@Vvsmile Vvsmile deleted the amp_fp16_add_n branch March 11, 2024 08:20
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