-
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 symbolTable & symbolicDimProduct & symbolicDimMgr. #56351
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
ir_shape | ||
SRCS | ||
${SHAPE_SRCS} | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/ir/dialect/paddle_dialect/ir/pd_type.cc |
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.
pd_type.cc 还包括了 phi::DataLayout, phi::LoD,这样是否也会导致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.
包含phi::DataLayout的只是一个头文件,而phi::LoD是一个std::vector<std::vector<size_t>>
在预处理时就会头文件展开替换,应该不会导致对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.
长期方案上,如果能把DenseTensorType下放是最安全的。因为后续不确定是否会有其他开发者在pd_type.cc里加额外的代码,可能会打破这个「clean DEPS」的预设。
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.
长期方案上,如果能把DenseTensorType下放是最安全的。因为后续不确定是否会有其他开发者在pd_type.cc里加额外的代码,可能会打破这个「clean DEPS」的预设。
同认为应将 DenseTensorType 下沉
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.
好的,那接下来PR会将DenseTensorType下沉,此PR作为临时方案。
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
ir_shape | ||
SRCS | ||
${SHAPE_SRCS} | ||
${PADDLE_SOURCE_DIR}/paddle/fluid/ir/dialect/paddle_dialect/ir/pd_type.cc |
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.
长期方案上,如果能把DenseTensorType下放是最安全的。因为后续不确定是否会有其他开发者在pd_type.cc里加额外的代码,可能会打破这个「clean DEPS」的预设。
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
…56351) * add symbolicDimProduct & symbolicDimMgr without method shape_constraint related * split ddim in phi, add a target ddim, used by pd_type * add pd_type.cc to ir_shape CMakeLists
PR types
Others
PR changes
Others
Description
Other
Pcard-67164