Skip to content
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

Update XNN delegate to handle non-decomposed upsample ops #7770

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

GregoryComer
Copy link
Member

@GregoryComer GregoryComer commented Jan 18, 2025

Differential Revision: D68374352

I'm preparing to disable decomposition by default for core upsample ops in pytorch/pytorch#141791. This PR makes changes to ExecuTorch to handle non-decomposed upsample_bilinear2d. There are tests that expect the decomposition when not delegated, as well as a recomposition pass in the XNNPACK delegate which need updates to function.

The changes in this PR are intended to work with both the decomposed and non-decomposed upsample ops. After the decomposition change lands in PyTorch, I will clean up the remaining ExecuTorch usages.

Copy link

pytorch-bot bot commented Jan 18, 2025

🔗 Helpful Links

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

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

❌ 1 New Failure

As of commit 4d85c0f with merge base fedb035 (image):

NEW FAILURE - The following job has 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 Jan 18, 2025
@facebook-github-bot
Copy link
Contributor

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

@GregoryComer GregoryComer changed the title Update XNN upsample tests to handle undecomposed op Update XNN delegate to handle non-decomposed upsample ops Jan 18, 2025
GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Jan 19, 2025
Summary: Pull Request resolved: pytorch#7770

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

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

GregoryComer added a commit to GregoryComer/executorch that referenced this pull request Jan 19, 2025
Summary:

I'm preparing to disable decomposition by default for core upsample ops in pytorch/pytorch#141791. This PR makes changes to ExecuTorch to handle non-decomposed upsample_bilinear2d. There are tests that expect the decomposition when not delegated, as well as a recomposition pass in the XNNPACK delegate which need updates to function.

The changes in this PR are intended to work with both the decomposed and non-decomposed upsample ops. After the decomposition change lands in PyTorch, I will clean up the remaining ExecuTorch usages.

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

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

Summary:

I'm preparing to disable decomposition by default for core upsample ops in pytorch/pytorch#141791. This PR makes changes to ExecuTorch to handle non-decomposed upsample_bilinear2d. There are tests that expect the decomposition when not delegated, as well as a recomposition pass in the XNNPACK delegate which need updates to function.

The changes in this PR are intended to work with both the decomposed and non-decomposed upsample ops. After the decomposition change lands in PyTorch, I will clean up the remaining ExecuTorch usages.

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

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

@facebook-github-bot facebook-github-bot merged commit 466d98f into pytorch:main Jan 21, 2025
45 of 47 checks passed
YIWENX14 pushed a commit that referenced this pull request Jan 28, 2025
Differential Revision: D68374352

Pull Request resolved: #7770
zonglinpeng pushed a commit to zonglinpeng/executorch that referenced this pull request Jan 30, 2025
Differential Revision: D68374352

Pull Request resolved: pytorch#7770
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.

3 participants