前言
跑Llama2-Chinese官方demo,需要安装这个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
以为是多个cuda版本出错结果是库的问题,后再github上找到兼容windows的whl,可访问:
链接: bitsandbytes-windows-webui
或者直接使用
python -m pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.40.1.post1-py3-none-win_amd64.whl