Skip to content

Cleanup XNN delegate post removal of upsample decomposition #8910

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

GregoryComer
Copy link
Member

Summary: Following the removal of the decompositions for upsample_bilinear2d in PyTorch, we don't need to pattern match and recompose upsample_bilinear2d. This PR cleans up the convert_to_upsample_bilinear2d pass and associated logic.

Differential Revision: D68374585

Copy link

pytorch-bot bot commented Mar 4, 2025

🔗 Helpful Links

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

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

❌ 2 New Failures

As of commit 0246ac2 with merge base a828307 (image):

NEW FAILURES - The following jobs have failed:

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

@facebook-github-bot facebook-github-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 Mar 4, 2025
Summary: Following the removal of the decompositions for upsample_bilinear2d in PyTorch, we don't need to pattern match and recompose upsample_bilinear2d. This PR cleans up the convert_to_upsample_bilinear2d pass and associated logic.

Differential Revision: D68374585
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68374585

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D68374585

@digantdesai
Copy link
Contributor

Yeah if it is now impossible to ever get a decomposed op then this is a good BE work. Thanks @GregoryComer .

@mcr229
Copy link
Contributor

mcr229 commented Mar 4, 2025

nice dead code!

@GregoryComer
Copy link
Member Author

Thanks. With pytorch/pytorch#147153, we should never see a decomposed upsample unless it somehow gets manually added to the decomp table. It's core and is now never decomposed by default.

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. fb-exported topic: not user facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants