Jump to content

CUDA: Difference between revisions

48 bytes removed ,  21 June 2020
Line 4: Line 4:
[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]


* Install the latest nvidia drivers from the standard repo, e.g. <code>nvidia-drivers-440</code><br>
* Install the latest nvidia drivers from the standard repo, e.g. <code>nvidia-drivers-450</code><br>
* Install [https://developer.nvidia.com/cuda-toolkit Cuda Toolkit] separately without the drivers.<br>
* Install [https://developer.nvidia.com/cuda-toolkit Cuda Toolkit] separately without the drivers.<br>
** Use one of the deb install options.
** Use one of the deb install options.
Line 27: Line 27:


# Install development and runtime libraries (~4GB)
# Install development and runtime libraries (~4GB)
sudo apt install -y --no-install-recommends cuda-10-1 \
sudo apt install -y cuda-10-1 \
     libcudnn7=7.6.4.38-1+cuda10.1  \
     libcudnn7=7.6.4.38-1+cuda10.1  \
     libcudnn7-dev=7.6.4.38-1+cuda10.1
     libcudnn7-dev=7.6.4.38-1+cuda10.1
Line 33: Line 33:


# Install TensorRT. Requires that libcudnn7 is installed above.
# Install TensorRT. Requires that libcudnn7 is installed above.
sudo apt install -y --no-install-recommends libnvinfer6=6.0.1-1+cuda10.1 \
sudo apt install -y libnvinfer6=6.0.1-1+cuda10.1 \
     libnvinfer-dev=6.0.1-1+cuda10.1 \
     libnvinfer-dev=6.0.1-1+cuda10.1 \
     libnvinfer-plugin6=6.0.1-1+cuda10.1
     libnvinfer-plugin6=6.0.1-1+cuda10.1