当前位置:   article > 正文

Windows中bitsandbytes关于CUDA报错的解决方案_inspect the output of the command and see if you c

inspect the output of the command and see if you can locate cuda libraries.

前言

跑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
  • 1
  • 2

以为是多个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
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/688537
推荐阅读
相关标签
  

闽ICP备14008679号