Update permute removal pass to handle binary operations, and cleanup better (#18256)#18256
Update permute removal pass to handle binary operations, and cleanup better (#18256)#18256mcremon-meta wants to merge 4 commits intomainfrom
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18256
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 13 PendingAs of commit b35120d with merge base d0705e1 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@mcremon-meta has exported this pull request. If you are a Meta employee, you can view the originating Diff in D96940254. |
This PR needs a
|
ad581f1 to
323a2f3
Compare
…better (#18256) Summary: Pull Request resolved: #18256 As titled. It is currently not cleaning up as much as it should, and the pass is only capable of handling single input cases. Result: from 9 to 1 (minimum by construction) permutes on Wake Gesture. Reviewed By: abeakkas Differential Revision: D96940254
323a2f3 to
65ef645
Compare
…better (#18256) Summary: As titled. It is currently not cleaning up as much as it should, and the pass is only capable of handling single input cases. Result: from 9 to 1 (minimum by construction) permutes on Wake Gesture. Reviewed By: abeakkas Differential Revision: D96940254
…better (#18256) Summary: As titled. It is currently not cleaning up as much as it should, and the pass is only capable of handling single input cases. Result: from 9 to 1 (minimum by construction) permutes on Wake Gesture. Reviewed By: abeakkas Differential Revision: D96940254
ae4c269 to
e6ca9a7
Compare
…better (#18256) Summary: As titled. It is currently not cleaning up as much as it should, and the pass is only capable of handling single input cases. Result: from 9 to 1 (minimum by construction) permutes on Wake Gesture. Reviewed By: abeakkas Differential Revision: D96940254
Summary: As titled. Useful especially for resnet backbones, to reduce quant/dequant pressure. Reviewed By: DrJessop Differential Revision: D96683989
Summary: As titled. Should perform better and also allow removing some permutes when convolutions are also moved to channel last. Reviewed By: hsharma35 Differential Revision: D96869747
Summary: As titled. Calls into nnlib directly. Reviewed By: hsharma35 Differential Revision: D96874522
…better (#18256) Summary: As titled. It is currently not cleaning up as much as it should, and the pass is only capable of handling single input cases. Result: from 9 to 1 (minimum by construction) permutes on Wake Gesture. Reviewed By: abeakkas Differential Revision: D96940254
e6ca9a7 to
b35120d
Compare
Summary:
As titled. It is currently not cleaning up as much as it should, and the pass is only capable of handling single input cases.
Result: from 9 to 1 (minimum by construction) permutes on Wake Gesture.
Reviewed By: abeakkas
Differential Revision: D96940254