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]Support more shape ops fuse to generate shape op #64216

Merged
merged 19 commits into from
May 31, 2024

Conversation

zyfncg
Copy link
Contributor

@zyfncg zyfncg commented May 11, 2024

PR Category

CINN

PR Types

Devs

Description

Pcard-67164

支持将具有单个元素输出的shape计算子图融合为GenerateShapeOp.

Copy link

paddle-bot bot commented May 11, 2024

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

@Aurelius84 Aurelius84 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

@jiahy0825 jiahy0825 left a comment

Choose a reason for hiding this comment

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

LGTM

@zyfncg zyfncg merged commit af93c4f into PaddlePaddle:develop May 31, 2024
32 checks passed
@zyfncg zyfncg deleted the fuse_shape_ops branch May 31, 2024 08:35
zyfncg added a commit that referenced this pull request Jun 3, 2024
co63oc pushed a commit to co63oc/Paddle that referenced this pull request Jun 3, 2024
…64216)

* support more shape ops fuse to generate shape op

* fix bug

* refine

* [CINN] implement strategy for generate shape op

Signed-off-by: ZelinMa557 <3388706467@qq.com>

* [CINN] implement strategy for generate shape op

Signed-off-by: ZelinMa557 <3388706467@qq.com>

* [CINN] implement strategy for generate shape

* refact

Signed-off-by: ZelinMa557 <3388706467@qq.com>

* fix bug

* add group_norm test

* revert some change

* fix complie bug

* fix bug

* change test

---------

Signed-off-by: ZelinMa557 <3388706467@qq.com>
Co-authored-by: ZelinMa557 <3388706467@qq.com>
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.

4 participants