-
Notifications
You must be signed in to change notification settings - Fork 608
Update RemovePermutesAroundElementwiseOps to work with view as well #7407
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/7407
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit 2058d8b with merge base 34e0570 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This pull request was exported from Phabricator. Differential Revision: D67471456 |
…ytorch#7407) Summary: The RemovePermutesAroundElementwiseOps pass was working well for permutes, but sometimes permutes get optimized into `view_copy` if the dimension being moved doesn't change the byte-level arrangement of the Tensor. Handle this case so we can remove more functions in these chains. Differential Revision: D67471456
8b70f4b
to
400dba5
Compare
This pull request was exported from Phabricator. Differential Revision: D67471456 |
…ytorch#7407) Summary: The RemovePermutesAroundElementwiseOps pass was working well for permutes, but sometimes permutes get optimized into `view_copy` if the dimension being moved doesn't change the byte-level arrangement of the Tensor. Handle this case so we can remove more functions in these chains. Reviewed By: zonglinpeng Differential Revision: D67471456
400dba5
to
e9e375c
Compare
This pull request was exported from Phabricator. Differential Revision: D67471456 |
…ytorch#7407) Summary: The RemovePermutesAroundElementwiseOps pass was working well for permutes, but sometimes permutes get optimized into `view_copy` if the dimension being moved doesn't change the byte-level arrangement of the Tensor. Handle this case so we can remove more functions in these chains. Reviewed By: zonglinpeng Differential Revision: D67471456
e9e375c
to
5f68fe7
Compare
This pull request was exported from Phabricator. Differential Revision: D67471456 |
…ytorch#7407) Summary: The RemovePermutesAroundElementwiseOps pass was working well for permutes, but sometimes permutes get optimized into `view_copy` if the dimension being moved doesn't change the byte-level arrangement of the Tensor. Handle this case so we can remove more functions in these chains. Reviewed By: zonglinpeng Differential Revision: D67471456
5f68fe7
to
2058d8b
Compare
This pull request was exported from Phabricator. Differential Revision: D67471456 |
Summary:
The RemovePermutesAroundElementwiseOps pass was working well for
permutes, but sometimes permutes get optimized into
view_copy
if thedimension being moved doesn't change the byte-level arrangement of the
Tensor.
Handle this case so we can remove more functions in these chains.
Differential Revision: D67471456