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

[CINN] Implement the new AlignIterSpaceTactic #70649

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

lshpku
Copy link
Contributor

@lshpku lshpku commented Jan 6, 2025

PR Category

CINN

PR Types

Improvements

Description

把TileFirstGeneralTactic中的AlignToReduceInput功能提取成为一个独立的Tactic,借用了原来AlignIterSpaceTactic的壳子,目的是把TileFirstGeneralTactic里面与Tile无关的内容分离出来,为之后实现Transpose调度做准备。

另外,这个PR中的GetCommonOutputLoopPerm也可以解决近期Recompute导致的一些Transpose性能回退的情况,在当前还没有能力调度Transpose的情况下,将Transpose向输出对齐至少比不对齐好。

Pcard-85711

Copy link

paddle-bot bot commented Jan 6, 2025

你的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.

@lshpku lshpku merged commit 31e8c01 into PaddlePaddle:develop Jan 8, 2025
30 of 31 checks passed
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.

2 participants