admin管理员组文章数量:1584628
RuntimeError:
CUDA Setup failed despite GPU being available. Inspect the CUDA SETUP outputs above to fix your environment!
If you cannot find any issues and suspect a bug, please open an issue with detals about your environment:
https://github/TimDettmers/bitsandbytes/issues
今天在运行代码的时候报错,在给的https://github/TimDettmers/bitsandbytes/issues错误反馈的网站上找到了解决方法:
第一种方法:
卸载电脑中的所有CUDA,然后重新安装,然后重新安装conda,然后重新启动电脑。
然后再安装bitsandbytes:
pip install bitsandbytes
显然这种方法代价太大,不太建议
第二种方法:
卸载原有的 bitsandbytes,安装Windows版本的:
pip uninstall bitsandbytes
pip install bitsandbytes-windows
这样应该就没问题了
原解决方法地址:https://github/TimDettmers/bitsandbytes/issues/748
本文标签: CUDARuntimeErrorSetupGPUfailed
版权声明:本文标题:RuntimeError: CUDA Setup failed despite GPU being available. 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/dongtai/1727937678a1138915.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论