-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[Prim] add pow composite rule #51070
[Prim] add pow composite rule #51070
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
❌ The PR is not created using PR's template. You can refer to this Demo. |
… add_pow_composite_rule
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
self.enable_cinn = False | ||
|
||
|
||
class TestPowFP16(TestActivation): |
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.
pow有fp16单测,请等PR51210合入后修改pow生成fp16单测的参数并且删除新增的这个单测。
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.
done
… add_pow_composite_rule
@@ -3859,7 +3867,7 @@ def test_check_grad(self): | |||
create_test_act_fp16_class(TestLog10, atol=5e-2) | |||
create_test_act_fp16_class(TestLog1p, grad_atol=0.9) | |||
create_test_act_fp16_class(TestSquare) | |||
create_test_act_fp16_class(TestPow, atol=5e-2) |
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.
不要动之前的阈值,请还原回去
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.
done
… add_pow_composite_rule
… add_pow_composite_rule
LGTM |
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
PR types
Others
PR changes
Ops
Describe