-
Notifications
You must be signed in to change notification settings - Fork 26.3k
[MPS] Handle MPS failures of test_modules.py in common_modules.py #95334
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/95334
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 604011b: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
3c8cda5 to
d5aabd3
Compare
albanD
left a comment
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.
Looks great!
Could you remind me what is running on the regular m1 jobs and on the mps jobs? Is test_modules running on regular m1 test jobs and so this is covered?
0a9462c to
a8b63c5
Compare
|
I'm still curious whether or not this is running in CI today? |
Is enabling test_modules.py for CIs something that I should do in this PR? If you or @malfet can point out where I should make that change, then I would. |
|
Yes we should not land code that is not tested for sure ;) |
albanD
left a comment
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.
Ho nice! Thanks!
Let's see how happy CI is about this!
I believe this commit should enable running the test_modules for MPS CIs. I'll monitor the CIs in this PR to confirm it. |
@albanD , I think we should separate out the CI update in a separate PR. I am not sure we have enough HW yet on it. @razarmehr , can you please not combine the testing enablement in the same PR ? |
|
@razarmehr can you take a look what's failing now ? We have enabled more HW, and now we are ready to merge the PR. |
b7051b4 to
0140eb9
Compare
There are multiple MPS failures with the newly added tests that need to be fixed before merging this PR. |
Also cleanup test_modules.py
This should enable running test_modules for MPS CIs
Fix a crash in LayerNorm test os test_modules.py
8f90237 to
7de37a2
Compare
Fix lint error
|
@pytorchbot merge |
Merge startedYour 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 |
test_modules.pyfrom skipMPS code.skipMPSfor unsupported or failing tests on MPS backend in common_modules.py.(We'll remove
skipMPSfrom those tests once a fix is available for them.)