Skip to content

Fix: Return tuple in get_cuda_version_tuple #1580

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 1 commit into from
Mar 31, 2025

Conversation

DevKimbob
Copy link
Contributor

This PR updates get_cuda_version_tuple() to return a tuple instead of a map object.

Due to PR #1544 get_cuda_version_tuple() returns a map casuing python3 -m bitandbytes to fail.

bitsandbytes

Test Environment:
Proxmox VE 8.2 Host
Ubuntu 22.04.5 LTS Server VM
CPU : Intel(R) Core(TM) i7-9750H
GPU : NVIDIA GeForce GTX 1660 Ti

$ uname -a
Linux ubuntu-proxmox 5.15.0-135-generic #146-Ubuntu SMP Sat Feb 15 17:06:22 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
$ gcc --version
gcc (Ubuntu 13.1.0-8ubuntu1~22.04) 13.1.0

Changed return type from map object to tuple in get_cuda_version_tuple().
Copy link

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.

@matthewdouglas
Copy link
Member

Thanks!

@matthewdouglas matthewdouglas merged commit 90bbe14 into bitsandbytes-foundation:main Mar 31, 2025
34 checks passed
@matthewdouglas matthewdouglas added this to the v0.46.0 milestone Apr 8, 2025
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.

2 participants