-
Notifications
You must be signed in to change notification settings - Fork 573
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
Support for CUDA 12.3 #1022
Comments
Hi @SSusantAchary bitsandbytes/.github/workflows/cmake.yml Line 23 in ea77bfe
|
or you can download latest windows wheel from the following: (github login required) |
For what it's worth, I've been able to successfully build on Windows with CUDA toolkits for 12.0.1, 12.1.1, 12.2.2, and 12.3.2. Most unit tests pass. It should at least work for inference, but I'm not sure on training as I haven't tried that yet. |
I am getting the same error with Ubuntu 22.04.3 LTS ... nvcc --version: nvcc: NVIDIA (R) Cuda compiler driver ===================================BUG REPORT===================================The following directories listed in your path were found to be non-existent: {PosixPath('/usr/share/gconf/ubuntu.default.path')} ================================================ERROR=====================================
|
@rkaunismaa That seems like a separate issue. I suspect you have an older version of |
Thanks |
System Info
For Windows when are you planning for release of BitsAndBytes compatibility for CUDA12.3
Reproduction
===================================BUG REPORT===================================
The following directories listed in your path were found to be non-existent: {WindowsPath('/Users/susan/miniconda3/envs/ml_lab/lib'), WindowsPath('C')}
The following directories listed in your path were found to be non-existent: {WindowsPath('vs/workbench/api/node/extensionHostProcess')}
The following directories listed in your path were found to be non-existent: {WindowsPath('module'), WindowsPath('//matplotlib_inline.backend_inline')}
CUDA_SETUP: WARNING! libcudart.so not found in any environmental path. Searching in backup paths...
The following directories listed in your path were found to be non-existent: {WindowsPath('/usr/local/cuda/lib64')}
DEBUG: Possible options found for libcudart.so: set()
CUDA SETUP: PyTorch settings found: CUDA_VERSION=121, Highest Compute Capability: 7.5.
CUDA SETUP: To manually override the PyTorch CUDA version please see:https://github.com/TimDettmers/bitsandbytes/blob/main/how_to_use_nonpytorch_cuda.md
CUDA SETUP: Loading binary c:\Users\susan\miniconda3\envs\ml_lab\Lib\site-packages\bitsandbytes\libbitsandbytes_cuda121.so...
[WinError 193] %1 is not a valid Win32 application
CUDA SETUP: Problem: The main issue seems to be that the main CUDA runtime library was not detected.
CUDA SETUP: Solution 1: To solve the issue the libcudart.so location needs to be added to the LD_LIBRARY_PATH variable
CUDA SETUP: Solution 1a): Find the cuda runtime library via: find / -name libcudart.so 2>/dev/null
CUDA SETUP: Solution 1b): Once the library is found add it to the LD_LIBRARY_PATH: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:FOUND_PATH_FROM_1a
CUDA SETUP: Solution 1c): For a permanent solution add the export from 1b into your .bashrc file, located at ~/.bashrc
CUDA SETUP: Solution 2: If no library was found in step 1a) you need to install CUDA.
CUDA SETUP: Solution 2a): Download CUDA install script: wget https://raw.githubusercontent.com/TimDettmers/bitsandbytes/main/cuda_install.sh
CUDA SETUP: Solution 2b): Install desired CUDA version to desired location. The syntax is bash cuda_install.sh CUDA_VERSION PATH_TO_INSTALL_INTO.
CUDA SETUP: Solution 2b): For example, "bash cuda_install.sh 113 ~/local/" will download CUDA 11.3 and install into the folder ~/local
c:\Users\susan\miniconda3\envs\ml_lab\Lib\site-packages\bitsandbytes\cuda_setup\main.py:167: UserWarning: Welcome to bitsandbytes. For bug reports, please run
Expected behavior
by when can i expect for CUDA support for 12.3
The text was updated successfully, but these errors were encountered: