Jump to content

CUDA: Difference between revisions

74 bytes removed ,  11 June 2020
Line 23: Line 23:


# Install NVIDIA driver
# Install NVIDIA driver
sudo apt install -y nvidia-driver-440
sudo apt install -y nvidia-driver-450
# Reboot. Check that GPUs are visible using the command: nvidia-smi
# Reboot. Check that GPUs are visible using the command: nvidia-smi


Line 38: Line 38:
</pre>
</pre>


;Notes
* <code>nvidia-driver-450</code> seems buggy. Would not recommend.
For tensorflow and pytorch, you may need to add <code>LD_LIBRARY_PATH=/usr/local/cuda/lib64</code> to your environment variables.<br>
For tensorflow and pytorch, you may need to add <code>LD_LIBRARY_PATH=/usr/local/cuda/lib64</code> to your environment variables.<br>
You can also do this in PyCharm.<br>
You can also do this in PyCharm.<br>