Skip to content

Skips the test if import bitsandbytes throws error #1527

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

Merged
merged 5 commits into from
Dec 12, 2024
Merged

Skips the test if import bitsandbytes throws error #1527

merged 5 commits into from
Dec 12, 2024

Conversation

kiya00
Copy link
Collaborator

@kiya00 kiya00 commented Dec 9, 2024

Before submitting
  • Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure to update the docs?
  • Did you write any new necessary tests?

What does this PR do?

According to https://github.com/bitsandbytes-foundation/bitsandbytes/blob/main/docs/source/installation.mdx, bitsandbytes is currently only supported on CUDA GPUs for CUDA versions 11.0 - 12.6. When CUDA>=12.7 is installed the package_available returns True but import bitsandbytes fails, so we skip the test in both package_available=False || import bitsandbytes fails

cc: @t-vi

@kiya00
Copy link
Collaborator Author

kiya00 commented Dec 10, 2024

Hi @t-vi , I think it's ready to merge

Copy link
Collaborator

@t-vi t-vi left a comment

Choose a reason for hiding this comment

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

Thank you @kiya00

@t-vi t-vi enabled auto-merge (squash) December 12, 2024 14:52
@t-vi t-vi merged commit bb20d73 into main Dec 12, 2024
41 checks passed
@t-vi t-vi deleted the bitsandbytes branch December 12, 2024 14:52
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