Skip to content
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

[tests] make cuda-only test work on other hardware accelerators #3302

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

faaany
Copy link
Contributor

@faaany faaany commented Dec 18, 2024

What does this PR do?

The below test works on XPU, and it should also work on other hardware accelerators:

===================================================================== PASSES ======================================================================
============================================================= short test summary info =============================================================
PASSED tests/test_modeling_utils.py::ModelingUtilsTester::test_get_balanced_memory

@faaany faaany changed the title enable on xpu [tests] make cuda-only test work on other hardware accelerators Dec 18, 2024
@faaany
Copy link
Contributor Author

faaany commented Dec 18, 2024

@muellerzr @yao-matrix

@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.

@faaany
Copy link
Contributor Author

faaany commented Jan 14, 2025

same with this PR. 😊 @muellerzr

@faaany
Copy link
Contributor Author

faaany commented Jan 21, 2025

Hi @muellerzr @SunMarc , pls don't forget this PR. 😊

Copy link
Member

@SunMarc SunMarc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the wait !

@SunMarc SunMarc merged commit 28c171b into huggingface:main Jan 22, 2025
25 checks passed
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.

3 participants