admin管理员组

文章数量:1584445

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