-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Enable mgpu unit tests for rocm #27518
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
Enable mgpu unit tests for rocm #27518
Conversation
|
@bddppq @pietern Can someone from your team please review this PR? It's meant to enable the test_c10d and test_nccl unit test suites for ROCm, while skipping the tests in those suites that don't work currently. I haven't enabled test_distributed unit test suite for ROCm yet, because it will need skipping of gloo and mpi backend for ROCm (as they're not fully tested yet), and will also need changes to |
bddppq
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.
LG
test/common_distributed.py
Outdated
| ) | ||
|
|
||
|
|
||
| def skip_for_rocm(func): |
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.
nit: I feel it's better to name it "skip_if_rocm" to be more consistent with the skipIfRocm decorator
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.
I agree. Will update.
facebook-github-bot
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.
@bddppq has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Summary: Pull Request resolved: pytorch#27518 Differential Revision: D17880153 Pulled By: bddppq fbshipit-source-id: 5b6210104ec66747558a08f97dda1e7796f681df
No description provided.