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] enable BNB tests on XPU #2396

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

faaany
Copy link
Contributor

@faaany faaany commented Feb 25, 2025

All tests passed expect some tests that also fail on CUDA.

@BenjaminBossan
Copy link
Member

Thanks for the PR @faaany. LMK when it's ready.

@faaany faaany marked this pull request as ready for review February 28, 2025 08:03
@faaany
Copy link
Contributor Author

faaany commented Feb 28, 2025

Hi @BenjaminBossan , thanks for the comment! This PR is ready. I enabled all BNB cuda-only tests on XPU.

@faaany faaany changed the title [tests] enable some tests on XPU [tests] enable BNB tests on XPU Feb 28, 2025
@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.

@BenjaminBossan
Copy link
Member

Thanks for the updates to the tests. Nice to see that so many pass with XPU. There is an issue on MacOS though, we're getting:

AttributeError: module 'torch' has no attribute 'xpu'

@faaany
Copy link
Contributor Author

faaany commented Mar 3, 2025

@BenjaminBossan Thanks for the hint! code updated!

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