Skip to content
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 constraint related func into SymDimMgr. #56727

Merged
merged 22 commits into from
Sep 6, 2023

Conversation

liuruyan
Copy link
Contributor

PR types

Others

PR changes

Others

Description

  1. 增加 SymDimMgr 加载 SymDim 与 TieProductEqual 的功能。
  2. 增加 SymDimProduct 的化简功能,simplifySymbolicDimProduct & simplifySymbolicDimProductPair。
  3. 增加 SymDimProduct 除法,symbolicDimProductDivide。
  4. 增加 SymDimMgr 中设置与判断 SymDimProduct 相等功能 isSymbolicDimProductEqual,mapSymbolicDimProductEqual。

Other

Pcard-67164

@paddle-bot
Copy link

paddle-bot bot commented Aug 28, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

Copy link
Contributor

@winter-wang winter-wang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@zhangbopd zhangbopd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhangbopd zhangbopd merged commit 14ede2b into PaddlePaddle:develop Sep 6, 2023
25 of 26 checks passed
BeingGod pushed a commit to BeingGod/Paddle that referenced this pull request Sep 9, 2023
* 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.

* add dimOp, tieProductEqualOp. access constraint_func in SymbolTable.

* put DenseTensorType into builtin_type.

* add constraint related Mgr func.

* move to out assert.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants