在linux上安装cuda的时候报错:Existing package manager installation of the driver found.
#1 错误原因安装cuda的时候提示有多个显卡驱动:Existing package manager installation of the driver found. It is strongly recommended that you remove this before continuing.,然后再安装就提示安装失败!#2 解决方法参考这篇博客中cuda的安装#如果遇到其他驱动相关的问题
1 错误原因
安装cuda的时候提示有多个显卡驱动:Existing package manager installation of the driver found. It is strongly recommended that you remove this before continuing.,然后再安装就提示安装失败!

还有这篇博客提到的,可以继续安装,但是需要怎么设置一下,不知道是不是我设置的不对,没有成功,你们可以参考
2 解决方法
#如果遇到其他驱动相关的问题
参考这篇博客显卡驱动的安装,绝大部分cuda安装的问题都是由于驱动问题导致的!
查看是否同时安装了多个驱动版本:
dpkg -l | grep Nvidia
删除旧版本的驱动:
sudo apt-get purge nvidia*
或
sudo apt-get remove --pure nvidia\*
避免安装的时候存在多个驱动,导致安装失败:
sudo sh ./cuda_10.2.<spec>.run --toolkit --silent --override
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐

所有评论(0)