Skip to content

Fix channels-last portable fallback by inserting explicit dim-order legalization#20878

Open
arkadip-maitra wants to merge 1 commit into
pytorch:mainfrom
arkadip-maitra:fix_16507
Open

Fix channels-last portable fallback by inserting explicit dim-order legalization#20878
arkadip-maitra wants to merge 1 commit into
pytorch:mainfrom
arkadip-maitra:fix_16507

Conversation

@arkadip-maitra

Copy link
Copy Markdown
Contributor

Fixes #16507 #11086

I kept the pass and regressions in separate files to keep the change cleaner. A more optimized followup is probably worth doing if more issues like these appear.

Added separate test file exir/tests/test_legalize_portable_dim_order_pass.py

@pytorch-bot

pytorch-bot Bot commented Jul 11, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/20878

Note: Links to docs will display an error until the docs builds have been completed.

⚠️ 11 Awaiting Approval

As of commit 392c77a with merge base a6d812a (image):

AWAITING APPROVAL - The following workflows need approval before CI can run:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 11, 2026
@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The aten.mean.dim operator input/output dimorder mismatch.

2 participants