Skip to content

Commit 9b3d081

Browse files
committed
Simplify GPU install instructions.
Now that TensorRT is available in the regular CUDA apt repos, the 'machine-learning' repos are no longer needed in the GPU setup instructions.
1 parent 44a3c7b commit 9b3d081

File tree

1 file changed

+14
-35
lines changed

1 file changed

+14
-35
lines changed

site/en/install/gpu.md

Lines changed: 14 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -104,28 +104,17 @@ complicates installation of the NVIDIA driver and is beyond the scope of these i
104104
<code class="devsite-terminal">sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"</code>
105105
<code class="devsite-terminal">sudo apt-get update</code>
106106

107-
<code class="devsite-terminal">wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb</code>
108-
109-
<code class="devsite-terminal">sudo apt install ./nvidia-machine-learning-repo-ubuntu1804_1.0.0-1_amd64.deb</code>
110-
<code class="devsite-terminal">sudo apt-get update</code>
111-
112-
<code class="devsite-terminal">wget https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/libnvinfer7_7.1.3-1+cuda11.0_amd64.deb</code>
113-
<code class="devsite-terminal">sudo apt install ./libnvinfer7_7.1.3-1+cuda11.0_amd64.deb</code>
114-
<code class="devsite-terminal">sudo apt-get update</code>
115-
116107
# Install development and runtime libraries (~4GB)
117108
<code class="devsite-terminal">sudo apt-get install --no-install-recommends \
118-
cuda-11-0 \
119-
libcudnn8=8.0.4.30-1+cuda11.0 \
120-
libcudnn8-dev=8.0.4.30-1+cuda11.0
109+
cuda-11-2 \
110+
libcudnn8=8.1.0.77-1+cuda11.2 \
111+
libcudnn8-dev=8.1.0.77-1+cuda11.2 \
112+
libnvinfer8=8.2.4-1+cuda11.4 \
113+
libnvinfer-dev=8.2.4-1+cuda11.4 \
114+
libnvinfer-plugin8=8.2.4-1+cuda11.4 \
115+
libnvinfer-plugin-dev=8.2.4-1+cuda11.4
121116
</code>
122117
# Reboot. Check that GPUs are visible using the command: nvidia-smi
123-
124-
# Install TensorRT. Requires that libcudnn8 is installed above.
125-
<code class="devsite-terminal">sudo apt-get install -y --no-install-recommends libnvinfer7=7.1.3-1+cuda11.0 \
126-
libnvinfer-dev=7.1.3-1+cuda11.0 \
127-
libnvinfer-plugin7=7.1.3-1+cuda11.0
128-
</code>
129118
</pre>
130119

131120
#### Ubuntu 16.04 (CUDA 11.0)
@@ -139,29 +128,19 @@ complicates installation of the NVIDIA driver and is beyond the scope of these i
139128
<code class="devsite-terminal">sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub</code>
140129
<code class="devsite-terminal">sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/ /"</code>
141130
<code class="devsite-terminal">sudo apt-get update</code>
142-
<code class="devsite-terminal">wget https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/nvidia-machine-learning-repo-ubuntu1604_1.0.0-1_amd64.deb</code>
143-
<code class="devsite-terminal">sudo apt install ./nvidia-machine-learning-repo-ubuntu1604_1.0.0-1_amd64.deb</code>
144-
<code class="devsite-terminal">sudo apt-get update</code>
145-
<code class="devsite-terminal">wget https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/libnvinfer7_7.1.3-1+cuda11.0_amd64.deb</code>
146-
<code class="devsite-terminal">sudo apt install ./libnvinfer7_7.1.3-1+cuda11.0_amd64.deb</code>
147-
<code class="devsite-terminal">sudo apt-get update</code>
148131

149132
# Install development and runtime libraries (~4GB)
150133
<code class="devsite-terminal">sudo apt-get install --no-install-recommends \
151-
cuda-11-0 \
152-
libcudnn8=8.0.4.30-1+cuda11.0 \
153-
libcudnn8-dev=8.0.4.30-1+cuda11.0
134+
cuda-11-2 \
135+
libcudnn8=8.1.0.77-1+cuda11.2 \
136+
libcudnn8-dev=8.1.0.77-1+cuda11.2 \
137+
libnvinfer8=8.0.1-1+cuda11.3 \
138+
libnvinfer-dev=8.0.1-1+cuda11.3 \
139+
libnvinfer-plugin8=8.0.1-1+cuda11.3 \
140+
libnvinfer-plugin-dev=8.0.1-1+cuda11.3
154141
</code>
155142

156143
# Reboot. Check that GPUs are visible using the command: nvidia-smi
157-
158-
# Install TensorRT. Requires that libcudnn7 is installed above.
159-
<code class="devsite-terminal">sudo apt-get install -y --no-install-recommends \
160-
libnvinfer7=7.1.3-1+cuda11.0 \
161-
libnvinfer-dev=7.1.3-1+cuda11.0 \
162-
libnvinfer-plugin7=7.1.3-1+cuda11.0 \
163-
libnvinfer-plugin-dev=7.1.3-1+cuda11.0
164-
</code>
165144
</pre>
166145

167146

0 commit comments

Comments
 (0)