-
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
[Prim][PIR] softmax forward sink #58591
[Prim][PIR] softmax forward sink #58591
Conversation
python/paddle/decomposition/rules.py
Outdated
@@ -248,7 +248,7 @@ def silu(x): | |||
return res if not is_amp else cast(res, dtype) | |||
|
|||
|
|||
@register_decomp('pd_op.softmax') | |||
# @register_decomp('pd_op.softmax') | |||
def softmax(x, axis): |
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.
好的
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
hi, @kevincheng2
|
* relu forward sink * softmax sink pir * remove relu * pir relu sink * remove softmax register * remove python softmax * update code * merge code --------- Co-authored-by: kevincheng2 <cheng112@gmail.com>
* relu forward sink * softmax sink pir * remove relu * pir relu sink * remove softmax register * remove python softmax * update code * merge code --------- Co-authored-by: kevincheng2 <cheng112@gmail.com>
PR types
New features
PR changes
Others
Description
softmax forward op sink to c++