Skip to content

[UNITY][Pass] Optimize redundant layout transform ops#15678

Merged
masahi merged 4 commits into
apache:unityfrom
abhikran-quic:optimize_layout_transform
Sep 12, 2023
Merged

[UNITY][Pass] Optimize redundant layout transform ops#15678
masahi merged 4 commits into
apache:unityfrom
abhikran-quic:optimize_layout_transform

Conversation

@abhikran-quic

Copy link
Copy Markdown
Contributor

Relax AlterOpImpl pass introduces layout_transform operations. If the layouts match for consecutive layout_transform operations, they can be cancelled out. This pass tries to optimize redundant transform_layout operations.

This is also addressing P4 in #14070

Relax AlterOpImpl pass introduces layout_transform operations. If the layouts match for consecutive layout_transform operations, they can be cancelled out.
This pass tries to optimize redundant transform_layout operations.
@abhikran-quic abhikran-quic force-pushed the optimize_layout_transform branch from cfe9eb8 to 7392f41 Compare September 6, 2023 10:55
@abhikran-quic abhikran-quic force-pushed the optimize_layout_transform branch from 7392f41 to bc9a203 Compare September 6, 2023 13:25
@abhikran-quic

Copy link
Copy Markdown
Contributor Author

cc: @psrivas2 @masahi @junrushao

Comment thread python/tvm/relax/transform/optimize_layout_transform.py Outdated
@abhikran-quic abhikran-quic force-pushed the optimize_layout_transform branch from f847182 to b3686a8 Compare September 11, 2023 14:53
Comment thread python/tvm/relax/transform/optimize_layout_transform.py
@masahi masahi merged commit 0e800cf into apache:unity Sep 12, 2023
@abhikran-quic abhikran-quic deleted the optimize_layout_transform branch September 12, 2023 08:09
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