今天玩一个开源项目时出现需要安装bitsandbytes 包,但是安装好后出现下面的报错。
RuntimeError:
CUDA Setup failed despite GPU being available. Please run the following command to get more information:
python -m bitsandbytes
Inspect the output of the command and see if you can locate CUDA libraries. You might need to add them
to your LD_LIBRARY_PATH. If you suspect a bug, please take the information from python -m bitsandbytes
and open an issue at: https://github.com/TimDettmers/bitsandbytes/issues
找了很多帖子,试了一些方法。最后通过 pip install bitsandbytes-windows 解决。