-
-
Notifications
You must be signed in to change notification settings - Fork 75
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 detection failed for text-generation-webui #54
Comments
Yeah, bitsandbytes is a hard library, if I understand correctly it compiles for a specific "compute capability" like most cuda stuff, here's the logs from the much superior llama.cpp
My hunch is that we would probably need to compile |
@knkski as another suggestion, here's my
|
The GTX 10 series is CC 6.1. Below CC 7.5, bitsandbytes switches to the "nocublaslt" version of one of its libraries, which we don't include currently. Modifying https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/bitsandbytes/default.nix#L69-L74 |
@MatthewCroughan @max-privatevoid Thanks for the quick responses! I was able to get it going with a workaround following @max-privatevoid's suggestion. I copied the upstream bitsandbytes default.nix file to a new - ''make CUDA_VERSION=${cudaVersion} cuda${cudaMajorVersion}x''
+ ''make CUDA_VERSION=${cudaVersion} cuda${cudaMajorVersion}x_nomatmul'' It compiled and is running successfully 🎉 I don't have enough experience here to polish that up into a proper PR, but I can at least confirm that it works. Also, if anyone hits issues with the above, I previously got it working (albeit quite slowly) by just commenting out the Closing this issue since there's a workaround and the fix probably needs to happen in upstream nixpkgs, but feel free to reopen if that's incorrect. |
Reopened for #57 |
First off, thanks for the great project.
I'm trying to run the text-generation-webui project, and hitting a CUDA error. This is on an older card, a 1080 TI, so I possibly just need to upgrade it? Here's what I'm trying to do and the error:
Here's the output from
nvidia-smi
:If I run the
bitsandbytes
commands myself, the package is built and installs just fine, so I'm not sure why it's failing as part of the larger build.The text was updated successfully, but these errors were encountered: