CUDA: Difference between revisions
(→Linux) |
|||
Line 4: | Line 4: | ||
[https://www.pugetsystems.com/labs/hpc/How-To-Install-CUDA-10-1-on-Ubuntu-19-04-1405/#Step3)InstallCUDA\ Reference]<br> | [https://www.pugetsystems.com/labs/hpc/How-To-Install-CUDA-10-1-on-Ubuntu-19-04-1405/#Step3)InstallCUDA\ Reference]<br> | ||
For Ubuntu, install the latest nvidia drivers from the repo and install [https://developer.nvidia.com/cuda-toolkit Cuda Toolkit] separately without the drivers.<br> | For Ubuntu, install the latest nvidia drivers from the repo and install [https://developer.nvidia.com/cuda-toolkit Cuda Toolkit] separately without the drivers.<br> | ||
You may also want to install [https://developer.nvidia.com/rdp/cudnn-download cuDnn] | You may also want to install [https://developer.nvidia.com/rdp/cudnn-download cuDnn]<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> | |||
==References== | ==References== | ||
* [https://devblogs.nvidia.com/even-easier-introduction-cuda/ An Even Easier Introduction To Cuda] | * [https://devblogs.nvidia.com/even-easier-introduction-cuda/ An Even Easier Introduction To Cuda] |