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

CUDA setup cleanup #996

Merged

Conversation

akx
Copy link
Contributor

@akx akx commented Jan 30, 2024

This follows up on #873 (and #703/#527) to slightly clean up the CUDA setup and diagnostics code.

The last commit is the most interesting code-wise; #703/#527 added the sensible-enough behavior to sort CUDA version strings as sequences of integers, but since the retval was again re-sorted in evaluate_cuda_setup(), the sort was a no-op.
This removes the "dumber" sort from evaluate_cuda_setup().

Honestly, I think there's a lot more simplification possible in the CUDA setup and diagnostics code, but that's maybe for a future PR...

bitsandbytes/cuda_setup/main.py Outdated Show resolved Hide resolved
Copy link

github-actions bot commented Feb 1, 2024

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.

Copy link
Collaborator

@younesbelkada younesbelkada left a comment

Choose a reason for hiding this comment

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

Looks very clean ! Thanks !
@Titus-von-Koeller wdyt?

@Titus-von-Koeller
Copy link
Collaborator

Amazing work, once more!

@Titus-von-Koeller Titus-von-Koeller merged commit 259ad44 into bitsandbytes-foundation:main Feb 4, 2024
2 checks passed
@rickardp rickardp mentioned this pull request Feb 5, 2024
2 tasks
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