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

[MPS] Fix correctness issues with Upsample 1D and 2D #91669

Closed
wants to merge 2 commits into from

Conversation

razarmehr
Copy link
Collaborator

  • Implemented following new ops: upsample_nearest1d_backward
    upsample_nearest_exact1d
    upsample_nearest_exact1d_backward
  • Moved Upsample code from Shape.mm to Upsample.mm
  • Fallback to CPU for nearest mode on Monterey

- Implemented following new ops:
upsample_nearest1d_backward
upsample_nearest_exact1d
upsample_nearest_exact1d_backward
- Moved Upsample code from Shape.mm to Upsample.mm
- Fallback to CPU for nearest mode on Monterey
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 3, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 3b88b95:
💚 Looks good so far! There are no failures yet. 💚

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

@pytorch-bot pytorch-bot bot added ciflow/mps Run MPS tests (subset of trunk) release notes: mps Release notes category labels Jan 3, 2023
@razarmehr razarmehr changed the title Fix correctness issues with Upsample 1D and 2D [MPS] Fix correctness issues with Upsample 1D and 2D Jan 3, 2023
aten/src/ATen/native/mps/MPSGraphVenturaOps.h Outdated Show resolved Hide resolved
aten/src/ATen/native/mps/MPSGraphVenturaOps.h Outdated Show resolved Hide resolved
aten/src/ATen/native/mps/operations/UpSample.mm Outdated Show resolved Hide resolved
aten/src/ATen/native/mps/operations/UpSample.mm Outdated Show resolved Hide resolved
aten/src/ATen/native/mps/operations/UpSample.mm Outdated Show resolved Hide resolved
aten/src/ATen/native/mps/operations/UpSample.mm Outdated Show resolved Hide resolved
aten/src/ATen/native/mps/operations/UpSample.mm Outdated Show resolved Hide resolved
aten/src/ATen/native/mps/operations/UpSample.mm Outdated Show resolved Hide resolved
@razarmehr
Copy link
Collaborator Author

Thanks @malfet. I addressed the comments and fixed the lint issues.

@razarmehr razarmehr requested a review from malfet January 4, 2023 02:46
@zou3519 zou3519 added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jan 4, 2023
@razarmehr razarmehr requested a review from albanD January 4, 2023 17:11
@razarmehr
Copy link
Collaborator Author

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jan 4, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/mps Run MPS tests (subset of trunk) ciflow/trunk Trigger trunk jobs on your pull request Merged open source release notes: mps Release notes category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants