在UBUNTU 16.04下安裝CUDA10.1+CUDNN7.3(簡略版)

安裝CUDA

按照https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html流程走

問題1:
[INFO]: ERROR: You appear to be running an X server; please exit X before
[INFO]: installing. For further details, please see the section INSTALLING
[INFO]: THE NVIDIA DRIVER in the README available on the Linux driver
[INFO]: download page at www.nvidia.com.
解決方案:
1.sudo service lightdm stop(此命令會關閉你的界面,進入命令行)
2.sudo init 3
https://askubuntu.com/questions/149206/how-to-install-nvidia-run

問題2:
Nouveau Kernel Driver相關
解決方案:
1.Create a file at /etc/modprobe.d/blacklist-nouveau.conf with the following contents:
blacklist nouveau
options nouveau modeset=0
2.Regenerate the kernel initramfs:
sudo update-initramfs -u
https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#runfile-nouveau

安裝CUDNN

根據https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html流程走

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章