-
Notifications
You must be signed in to change notification settings - Fork 655
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
is not defined
#134
Comments
EDIT: Found the solution! go to env/lib/python3.x/site-packages/bitsandbytes/cuda_setup/main.py", line 153 and change it from Getting the same error!
===================================BUG REPORT===================================
|
This will get you through the error but it still won't generate text.
|
@Ph0rk0z I just tested on a 1080ti, |
It will help that - huggingface/peft#79 as well? |
Yes. You will need to change that line everytime you reinstall the |
when I used bitsandbytes==0.37.0 File "/opt/conda/lib/python3.8/site-packages/bitsandbytes/cuda_setup/main.py", line 153, in is_cublasLt_compatible
cuda_setup.add_log_entry("WARNING: Compute capability < 7.5 detected! Only slow 8-bit matmul is supported for your GPU!", is_warning=True)
NameError: name 'cuda_setup' is not defined I fixed it by |
i use the same set of packages for different architectures. its not an option for me to keep changing code in installation or not use a package. so, would be nice if this can be handled by the library. cc: @TimDettmers |
+1, same error |
+1 on this - got the same issue when trying to train a Stable Diffusion 2.1 base model with Dreambooth and |
AFAIK this error is now fixed in newer BnB |
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) |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. |
recently started getting this error on new version:
The text was updated successfully, but these errors were encountered: