-
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
Add dimOp, tieProductEqualOp. access constraint_func in SymbolTable. Lowing DenseTensorType. #56615
Conversation
… assist_struct
@@ -17,15 +17,122 @@ | |||
#include "paddle/ir/core/type.h" | |||
#include "paddle/ir/core/type_base.h" | |||
#include "paddle/ir/core/utils.h" | |||
#include "paddle/phi/common/layout.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.
不建议在paddle/ir里面产生对phi的依赖。
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.
layout.h只是头文件,没有cc文件。在预处理阶段会展开,不会引入phi依赖。关于ddim的处理则是在编译时独立编包,ir_core 独立依赖 ddim。
ir_library(ir_core SRCS ${IR_SRCS})
ir_library(ir_core SRCS ${IR_SRCS} DEPS ddim)
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.
拆分独立编译 ddim 的 pr 如下:#56351
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
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
…Lowing DenseTensorType. (PaddlePaddle#56615) * add symbolicDimProduct & symbolicDimMgr without method shape_constraint related. * add pd_type.cc to ir_shape CMakeLists. * add dimOp, tieProductEqualOp. access constraint_func in SymbolTable. * put DenseTensorType into builtin_type.
…Lowing DenseTensorType. (PaddlePaddle#56615) * add symbolicDimProduct & symbolicDimMgr without method shape_constraint related. * add pd_type.cc to ir_shape CMakeLists. * add dimOp, tieProductEqualOp. access constraint_func in SymbolTable. * put DenseTensorType into builtin_type.
PR types
Others
PR changes
Others
Description
Other
Pcard-67164