Skip to content

Conversation

@ivarflakstad
Copy link
Member

What does this PR do?

Some tests were skipped on AMD gpus because they checked torch.version.cuda only.
Now we use IS_CUDA_SYSTEM or IS_ROCM_SYSTEM

@ivarflakstad ivarflakstad requested a review from ydshieh April 4, 2025 13:11
@github-actions github-actions bot marked this pull request as draft April 4, 2025 13:11
@github-actions
Copy link
Contributor

github-actions bot commented Apr 4, 2025

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 Ready for review button (at the bottom of the PR page). This will assign reviewers and trigger CI.

@ivarflakstad ivarflakstad marked this pull request as ready for review April 4, 2025 13:12
@HuggingFaceDocBuilderDev

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.

@ivarflakstad ivarflakstad requested a review from ydshieh April 9, 2025 14:03
Copy link
Collaborator

@ydshieh ydshieh left a 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.

@ydshieh ydshieh merged commit aa47856 into main Apr 10, 2025
19 of 21 checks passed
@ydshieh ydshieh deleted the fix-compute-cap-skipped-tests-rocm branch April 10, 2025 11:33
cyr0930 pushed a commit to cyr0930/transformers that referenced this pull request Apr 18, 2025
* Allow rocm systems to run these tests

* Fix skipTest logic

* Use get_device_properties to check system capabilities
zucchini-nlp pushed a commit to zucchini-nlp/transformers that referenced this pull request May 14, 2025
* Allow rocm systems to run these tests

* Fix skipTest logic

* Use get_device_properties to check system capabilities
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants