chatglm3 本地部署windows bitsandbytes不支持报错

先说结论:bitsandbytes不支持windows,目前很多教程写的使用bitsandbytes-windows也不可以用,下面说另外一个途径,使用

卸载:pip uninstall bitsandbytes
卸载:pip uninstall bitsandbytes-windows
安装: pip install https://github.com/jllllll/bitsandbytes-windows-webui/releases/download/wheels/bitsandbytes-0.41.1-py3-none-win_amd64.whl

初步怀疑是bitsandbytes-windows版本比较旧导致不能运行,换了上述内容就好用了;

报错信息:

 

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
(venv) PS D:\gpt\ChatGLM3\composite_demo> python -m bitsandbytes

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值