-
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
[CINN] 【Infer Symbolic Shape BUAA 】Add fused_feedfoward op #68183
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
Sorry to inform you that 32afae7's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
@@ -1011,7 +1011,7 @@ | |||
func: FusedFeedForwardInferMeta | |||
optional: dropout1_seed, dropout2_seed, linear1_bias, linear2_bias, ln1_scale, ln1_bias, ln2_scale, ln2_bias, ln2_mean, ln2_variance, ln1_mean, ln1_variance, ln1_out |
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.
这几个optional类型的输出,set前也需要用isFakevalue判断下
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.
已处理
@@ -18,6 +18,7 @@ | |||
#include "paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/infer_sym_slice_utils.h" | |||
#include "paddle/fluid/pir/dialect/operator/interface/infer_symbolic_shape/infer_sym_utils.h" | |||
#include "paddle/fluid/pir/dialect/operator/ir/op_attribute.h" | |||
#include "paddle/phi/kernels/funcs/blas/blas.h" |
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.
下面的代码中有用到blas.h里的接口吗
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.
删掉blas的引用,优化下auto的用法
Sorry to inform you that 3022d5a's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually. |
LGTM |
PR Category
CINN
PR Types
improvements
Description
添加fused_feedfoward算子符号推导接口
已经包含Optest
Pcard-67164