Running PyTorch issues: https://discuss.pytorch.org/t/cuda-initialization-cuda-unknown-error/129191/2
.run
file, it might look something like this: NVIDIA-Linux-x86_64-525.89.02.run
sh ./path_to_driver/NVIDIA-Linux-x86_64-525.89.02.run
apt-get
(Linux)Run:
sudo apt update
sudo apt upgrade
sudo apt autoremove
sudo apt install nvidia-driver-XXX
Note: XXX is the number that appears when you run nvidia-smi
In this case it would be sudo apt install nvidia-driver-525
(notice the 525 in the top left of the output)
nvidia-driver-XXX
before running (though this may happen automatically when you run the install command.
nvidia-*
packages you have installed: dpkg -l | grep nvidia