-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Allow rocm systems to run these tests #37278
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
|
Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. The CI will be paused while the PR is in draft mode. When it is ready for review, please click the |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
ydshieh
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.
Nice. Just a nit suggestion if you find it's better.
…ngface/transformers into fix-compute-cap-skipped-tests-rocm
* Allow rocm systems to run these tests * Fix skipTest logic * Use get_device_properties to check system capabilities
* Allow rocm systems to run these tests * Fix skipTest logic * Use get_device_properties to check system capabilities
What does this PR do?
Some tests were skipped on AMD gpus because they checked
torch.version.cudaonly.Now we use
IS_CUDA_SYSTEM or IS_ROCM_SYSTEM