如何在CentOS 7.8安裝Cuda 10

位置:首頁 / 新聞中心 / 知識教程

知識教程 Admin 2024-02-23 16:24:22 814
由 前提是你 提交于 2020-08-08 12:35:03

1. 有老版本的Cuda,需要卸載老版本Cuda和driver,

參考: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#removing-cuda-tk-and-driver

如Cuda 10:

cd /usr/local/cuda/bin

./cuda-uninstaller

選擇要卸載的模塊,一般都選,就卸載了

卸載cuda driver:

sh  NVIDIA-Linux-x86_64-430.50.run --uninstall

 

2. 安裝新的Cuda和新driver:

下載新driver:

https://www.nvidia.com/download/index.aspx?lang=en-us

sh  NVIDIA-Linux-x86_64-XXX.XX.run

 

下載新Cuda toolkit

https://developer.nvidia.com/cuda-toolkit-archive

選擇需要安裝的版本,如10.2:

https://developer.nvidia.com/cuda-10.2-download-archive

下載到CentOS上,執(zhí)行:

chmod +x cuda_10.2.89_440.33.01_linux.run

./cuda_10.2.89_440.33.01_linux.run


以上就是“如何在CentOS 7.8安裝Cuda 10”的詳細(xì)內(nèi)容,更多請關(guān)注木子天禾科技其它相關(guān)文章!


以上就是“如何在CentOS 7.8安裝Cuda 10”的詳細(xì)內(nèi)容,更多請關(guān)注木子天禾科技其它相關(guān)文章!

15934152105 掃描微信