-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Modify bf16 and fix the elementwise_max #54799
Conversation
… of forward and backward
你的PR提交成功,感谢你对开源项目的贡献! |
Sorry to inform you that 1b5431b's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
@@ -124,6 +124,7 @@ def test_check_gradient(self): | |||
'user_defined_grad_outputs': [self.grad_out], | |||
'check_dygraph': self.check_dygraph, | |||
'check_prim': self.check_prim, | |||
'max_relative_error': 0.02, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fp32需要增大max_relative_error么
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* modify the accuracy checking framework of bf16 optest, including both of forward and backward
* modify the accuracy checking framework of bf16 optest, including both of forward and backward
PR types
Others
PR changes
OPs
Description
card-72073