-
Notifications
You must be signed in to change notification settings - Fork 24.7k
[BE][MPS] Prefer xfail to skip #134858
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
[BE][MPS] Prefer xfail to skip #134858
Conversation
This essentially undoes large skips on everything but MacOS sequioia to nn.modules made by #128393 Instead it uses existing `xfail`, but guards it on `_macos15_or_newer` boolean
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/134858
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 753b3a3 with merge base 8b68912 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR assumes that the tests all pass on macos15 or newer, yes?
Failing CI is relevant.
@janeyx99 indeed they are, I haven't realized that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nitty comment
@pytorchbot merge -f "Lint and MPS tests are green" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
This essentially undoes large skips on everything but MacOS Sequoia to nn.modules made by pytorch#128393 Instead it uses existing `xfail`, but guards it on `_macos15_or_newer` boolean Before the change if run on MacOS 14: ``` % python3 ../test/test_modules.py -v -k Hardswish 2>&1|tail -n3 Ran 57 tests in 0.053s OK (skipped=32) ``` After ``` % python3 ../test/test_modules.py -v -k Hardswish 2>&1|tail -n3 Ran 57 tests in 0.229s OK (skipped=10, expected failures=2) ``` Pull Request resolved: pytorch#134858 Approved by: https://github.com/janeyx99
This essentially undoes large skips on everything but MacOS Sequoia to nn.modules made by #128393
Instead it uses existing
xfail
, but guards it on_macos15_or_newer
booleanBefore the change if run on MacOS 14:
After