2019年2月20日 星期三

Nvidia-smi and CUDA Installation by runfile




Nvidia-smi
----------------------------------------------------------------
sudo apt-get purge nvidia* # Remove all old nvidia drivers
sudo add-apt-repository ppa:graphics-drivers # Add the Graphics driver PPA
sudo apt-get update
sudo apt-get install nvidia-396

sudo reboot

CUDA
=====================================
Download the run files from the following locations:


Linux->x86_64->Ubuntu->16.04-> runfile(local)

change permissions of downloaded cuda run file

sudo chmod +x <cuda-run-file>

run runfile: sudo bash <run-file-name>

There will be a few prompts
Mark NO when asked to install Nvidia Driver
Everything else should be yes

沒有留言:

張貼留言