-
Notifications
You must be signed in to change notification settings - Fork 572
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
bitsandbytes was compiled without GPU support. 8-bit optimizers and GPU quantization are unavailable. #26
Comments
The binary that is used is determined at runtime. This means in your case there are two modes of failures:
Both libraries need to be detected in order to find the right library for the GPU/CUDA version that you are trying to execute against. Could you please provide use with the output of |
hi, same issue, exact same use-case too haha
I know Im using a cuda-enabled machine
|
I believe this is fixed in the latest version. It prints instructions on how to debug the situation and alternatively prints out compilation instructions which should fix the issue. |
I had the same issue, (nvidia-smi had proper output, but was still getting this error)
Now it works. |
Bitsandbytes was not supported windows before, but my method can support windows.(yuhuang) 3 J:\StableDiffusion\sdwebui\py310\python.exe -m pip uninstall bitsandbytes-windows 4 J:\StableDiffusion\sdwebui\py310\python.exe -m pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl Replace your SD venv directory file(python.exe Folder) here(J:\StableDiffusion\sdwebui\py310) |
Hi, I'm trying to use the 8-bit optimizer with an A100 on a OpenPBS environment, which means that the machine I install the python virtual environment, with the bitsandbytes lib, doesn't have the GPU, but when I submit the job it does.
Hence, I'm getting this error:
The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers and GPU quantization are unavailable.
Which makes me think it's because I installed the library on the machine without GPU. How can I install it with GPU support on a machine without GPU? I'm using cu116 btw
PS.When I submit the job, the target machine doesn't have access to internet, so it's not able to fetch the library or anything else online.
Thanks in advance
The text was updated successfully, but these errors were encountered: