Skip np.transpose for identity dim_order in process_node#18977
Skip np.transpose for identity dim_order in process_node#18977meta-codesync[bot] merged 1 commit intomainfrom
Conversation
Summary: When dim_order is the identity permutation (0, 1, ..., N-1), np.transpose is a no-op that may create an unnecessary array copy. Add an early return to avoid this. Differential Revision: D101430550
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/18977
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 4 Unrelated FailuresAs of commit 36b17b7 with merge base 4618b80 ( NEW FAILURE - The following job has failed:
FLAKY - The following jobs failed but were likely due to flakiness present on trunk:
BROKEN TRUNK - The following jobs failed but were present on the merge base:👉 Rebase onto the `viable/strict` branch to avoid these failures
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 D101430550. |
This PR needs a
|
|
@AdrianLundell can I get a stamp here if it looks good? |
Summary:
When dim_order is the identity permutation (0, 1, ..., N-1),
np.transpose is a no-op that may create an unnecessary array copy.
Add an early return to avoid this.
Differential Revision: D101430550