Reland "Arm backend: Add transpose propagation pass" v2#21030
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21030
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 331 PendingAs of commit 80d8192 with merge base 0dec2b6 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
The view/permute propagation passes can rank-broadcast one operand of a binary elementwise op — a per-channel affine's activation becomes rank 4 while its scale/bias constant stays rank 1 — which TOSA rejects, so Vela/Regor fails to compile the graph. Running MatchArgRanksPass after propagation re-matches operand ranks and keeps the graph TOSA-legal. Adds a regression test that lowers a per-channel-affine module for Ethos-U55. Authored with assistance from Claude.
1237969 to
0afc0d3
Compare
|
Delta since last land here: 0afc0d3 |
…t-20625-change-1265162
|
@rascani has imported this pull request. If you are a Meta employee, you can view this in D112826932. |
Reverts #20947 and relands #20625 for the second time.
cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell