Jump to content

CUDA: Difference between revisions

298 bytes added ,  16 October 2019
No edit summary
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
==Installation==
==Installation==
===Linux===
===Linux===
[https://www.pugetsystems.com/labs/hpc/How-To-Install-CUDA-10-1-on-Ubuntu-19-04-1405/#Step3)InstallCUDA\ Reference]
[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>
[[File:Pycharm LD LIBRARY PATH config.png| 200x200px]]
[[File:Pycharm LD LIBRARY PATH console config.png| 200x200px]]
 
==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]