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] Add fixes for div with floor and raise error for div_trunc #95769

Closed
wants to merge 4 commits into from

Conversation

kulinseth
Copy link
Collaborator

Fixes #ISSUE_NUMBER

@pytorch-bot
Copy link

pytorch-bot bot commented Mar 1, 2023

🔗 Helpful Links

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

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

✅ No Failures

As of commit 3078c46:
💚 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 Mar 1, 2023
@kulinseth kulinseth requested a review from razarmehr March 1, 2023 07:41
@@ -10171,6 +10172,9 @@ def get_samples():
self.assertEqual(cpu_out, mps_out, atol=atol, rtol=rtol)

except Exception as e:
if any(s in str(e).lower() for s in ["float16", "div truc rounding"]):
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be cleaned out when we move to XFAILLIST. It will be next PR, so I didn't want to spend time on moving it to xfaillist.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I really hope this will be removed soon, as it essentially makes test results unpredicable and allows one to sneak any number of regressions under the hope

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, as part of the XFAILLIST it will be removed.

@kulinseth
Copy link
Collaborator Author

@pytorchbot merge -f "MPS tests are green"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).

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

cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 2, 2023
kulinseth added a commit to kulinseth/pytorch that referenced this pull request Mar 2, 2023
kulinseth added a commit to kulinseth/pytorch that referenced this pull request Mar 2, 2023
kulinseth added a commit to kulinseth/pytorch that referenced this pull request Mar 2, 2023
malfet pushed a commit that referenced this pull request Mar 2, 2023
* [MPS] Add fixes for div with floor and raise error for div_trunc (#95769)

Fixes #ISSUE_NUMBER

Pull Request resolved: #95769
Approved by: https://github.com/DenisVieriu97

* Add back the unittest skip for MacOS 12.
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 5, 2023
cyyever pushed a commit to cyyever/pytorch_private that referenced this pull request Mar 5, 2023
skotapati pushed a commit to kulinseth/pytorch that referenced this pull request Apr 3, 2023
skotapati pushed a commit to kulinseth/pytorch that referenced this pull request Apr 6, 2023
skotapati pushed a commit to kulinseth/pytorch that referenced this pull request Apr 7, 2023
pruthvistony pushed a commit to ROCm/pytorch that referenced this pull request May 3, 2023
* [MPS] Add fixes for div with floor and raise error for div_trunc (pytorch#95769)

Fixes #ISSUE_NUMBER

Pull Request resolved: pytorch#95769
Approved by: https://github.com/DenisVieriu97

* Add back the unittest skip for MacOS 12.
jhavukainen pushed a commit to kulinseth/pytorch that referenced this pull request Mar 15, 2024
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) Merged open source release notes: mps Release notes category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants