CUDA: Difference between revisions

From David's Wiki
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]

Revision as of 14:47, 16 October 2019

Installation

Linux

Reference
For Ubuntu, install the latest nvidia drivers from the repo and install Cuda Toolkit separately without the drivers.
You may also want to install cuDnn
For tensorflow and pytorch, you may need to add LD_LIBRARY_PATH=/usr/local/cuda/lib64 to your environment variables.
You can also do this in PyCharm.

References