-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
can not get UI running - "The installed version of bitsandbytes was compiled without GPU support" #1931
Comments
You have a different issue. The error with bitsandbytes is just a warning. I have the same warning on my Mac and everything works perfectly. The real issue is the You might want to pull the latest changes on the repository and do a If you're still struggling, here's the setup I have with libraries versions on my Apple Silicon M2. |
try this: bitsandbytes debugging in case no GPU error:pip uninstall bitsandbytes && pip install bitsandbytes if you still get the error, this is a hack that fixes it, at least on WSL: cp /home/silvacarl/.local/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cuda117.so /home/silvacarl/.local/lib/python3.8/site-packages/bitsandbytes/libbitsandbytes_cpu.so |
I have the same exact issue and hardware as OP and nothing in this thread helped. Has anyone on M1/M2 got this working properly? If so which model please? |
@milezzz Have you tried |
Thanks @cornpo I upgraded bitsandbytes but got the same error:
Does it matter which model I am testing with? |
still not working.....displaying the same error message |
still the same error, does it related to the model I'm testing? |
This issue has been closed due to inactivity for 30 days. If you believe it is still relevant, please leave a comment below. |
Describe the bug
this is the error message:
Is there an existing issue for this?
Reproduction
python3 server.py
Screenshot
Logs
Gradio HTTP request redirected to localhost :) bin /Users/siming/anaconda3/envs/textgen/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cpu.so /Users/siming/anaconda3/envs/textgen/lib/python3.10/site-packages/bitsandbytes/cextension.py:33: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable. warn("The installed version of bitsandbytes was compiled without GPU support. "
System Info
The text was updated successfully, but these errors were encountered: