@@ -50,11 +50,12 @@ The following GPU-enabled devices are supported:
50
50
51
51
The following NVIDIA® software must be installed on your system:
52
52
53
- * [ NVIDIA® GPU drivers] ( https://www.nvidia.com/drivers ) {:.external} —CUDA 10.0 requires 410.x or higher.
53
+ * [ NVIDIA® GPU drivers] ( https://www.nvidia.com/drivers ) {:.external} —CUDA 10.1
54
+ requires 418.x or higher.
54
55
* [ CUDA® Toolkit] ( https://developer.nvidia.com/cuda-toolkit-archive ) {:.external}
55
- —TensorFlow supports CUDA 10.0 (TensorFlow >= 1.13 .0)
56
+ —TensorFlow supports CUDA 10.1 (TensorFlow >= 2.1 .0)
56
57
* [ CUPTI] ( http://docs.nvidia.com/cuda/cupti/ ) {:.external} ships with the CUDA Toolkit.
57
- * [ cuDNN SDK] ( https://developer.nvidia.com/cudnn ) {:.external} (>= 7.4.1 )
58
+ * [ cuDNN SDK] ( https://developer.nvidia.com/cudnn ) {:.external} (>= 7.6 )
58
59
* * (Optional)* [ TensorRT 6.0] ( https://docs.nvidia.com/deeplearning/sdk/tensorrt-install-guide/index.html ) {:.external}
59
60
to improve latency and throughput for inference on some models.
60
61
@@ -87,12 +88,12 @@ Caution: [Secure Boot](https://wiki.ubuntu.com/UEFI/SecureBoot){:.external}
87
88
complicates installation of the NVIDIA driver and is beyond the scope of these instructions.
88
89
89
90
90
- #### Ubuntu 18.04 (CUDA 10)
91
+ #### Ubuntu 18.04 (CUDA 10.1 )
91
92
92
93
<pre class =" prettyprint lang-bsh " >
93
94
# Add NVIDIA package repositories
94
- <code class =" devsite-terminal " >wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130 -1_amd64.deb</code >
95
- <code class =" devsite-terminal " >sudo dpkg -i cuda-repo-ubuntu1804_10.0.130 -1_amd64.deb</code >
95
+ <code class =" devsite-terminal " >wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.1.243 -1_amd64.deb</code >
96
+ <code class =" devsite-terminal " >sudo dpkg -i cuda-repo-ubuntu1804_10.1.243 -1_amd64.deb</code >
96
97
<code class =" devsite-terminal " >sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub</code >
97
98
<code class =" devsite-terminal " >sudo apt-get update</code >
98
99
<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 >
@@ -105,14 +106,14 @@ complicates installation of the NVIDIA driver and is beyond the scope of these i
105
106
106
107
# Install development and runtime libraries (~4GB)
107
108
<code class =" devsite-terminal " >sudo apt-get install --no-install-recommends \
108
- cuda-10-0 \
109
- libcudnn7=7.6.2.24 -1+cuda10.0 \
110
- libcudnn7-dev=7.6.2.24 -1+cuda10.0
109
+ cuda-10-1 \
110
+ libcudnn7=7.6.4.38 -1+cuda10.1 \
111
+ libcudnn7-dev=7.6.4.38 -1+cuda10.1
111
112
</code >
112
113
113
114
# Install TensorRT. Requires that libcudnn7 is installed above.
114
- <code class =" devsite-terminal " >sudo apt-get install -y --no-install-recommends libnvinfer6=6.0.1-1+cuda10.0 \
115
- libnvinfer-dev=6.0.1-1+cuda10.0
115
+ <code class =" devsite-terminal " >sudo apt-get install -y --no-install-recommends libnvinfer6=6.0.1-1+cuda10.1 \
116
+ libnvinfer-dev=6.0.1-1+cuda10.1
116
117
</code >
117
118
</pre >
118
119
@@ -123,8 +124,8 @@ complicates installation of the NVIDIA driver and is beyond the scope of these i
123
124
# Add NVIDIA package repositories
124
125
# Add HTTPS support for apt-key
125
126
<code class =" devsite-terminal " >sudo apt-get install gnupg-curl</code >
126
- <code class =" devsite-terminal " >wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_10.0.130 -1_amd64.deb</code >
127
- <code class =" devsite-terminal " >sudo dpkg -i cuda-repo-ubuntu1604_10.0.130 -1_amd64.deb</code >
127
+ <code class =" devsite-terminal " >wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_10.1.243 -1_amd64.deb</code >
128
+ <code class =" devsite-terminal " >sudo dpkg -i cuda-repo-ubuntu1604_10.1.243 -1_amd64.deb</code >
128
129
<code class =" devsite-terminal " >sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub</code >
129
130
<code class =" devsite-terminal " >sudo apt-get update</code >
130
131
<code class =" devsite-terminal " >wget http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64/nvidia-machine-learning-repo-ubuntu1604_1.0.0-1_amd64.deb</code >
@@ -140,13 +141,13 @@ complicates installation of the NVIDIA driver and is beyond the scope of these i
140
141
# Install development and runtime libraries (~4GB)
141
142
<code class =" devsite-terminal " >sudo apt-get install --no-install-recommends \
142
143
cuda-10-0 \
143
- libcudnn7=7.6.2.24 -1+cuda10.0 \
144
- libcudnn7-dev=7.6.2.24 -1+cuda10.0
144
+ libcudnn7=7.6.4.38 -1+cuda10.1 \
145
+ libcudnn7-dev=7.6.4.38 -1+cuda10.1
145
146
</code >
146
147
147
148
# Install TensorRT. Requires that libcudnn7 is installed above.
148
- <code class =" devsite-terminal " >sudo apt-get install -y --no-install-recommends libnvinfer5=5.1.5 -1+cuda10.0 \
149
- libnvinfer-dev=5.1.5 -1+cuda10.0
149
+ <code class =" devsite-terminal " >sudo apt-get install -y --no-install-recommends libnvinfer5=6.0.1 -1+cuda10.1 \
150
+ libnvinfer-dev=6.0.1 -1+cuda10.1
150
151
</code >
151
152
</pre >
152
153
@@ -191,12 +192,12 @@ different version, see the [Windows build from source](./source_windows.md) guid
191
192
192
193
Add the CUDA, CUPTI, and cuDNN installation directories to the ` %PATH% `
193
194
environmental variable. For example, if the CUDA Toolkit is installed to
194
- ` C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0 ` and cuDNN to
195
+ ` C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1 ` and cuDNN to
195
196
` C:\tools\cuda ` , update your ` %PATH% ` to match:
196
197
197
198
<pre class =" devsite-click-to-copy " >
198
- <code class =" devsite-terminal tfo-terminal-windows " >SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0 \bin;%PATH%</code >
199
- <code class =" devsite-terminal tfo-terminal-windows " >SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0 \extras\CUPTI\libx64;%PATH%</code >
200
- <code class =" devsite-terminal tfo-terminal-windows " >SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0 \include;%PATH%</code >
199
+ <code class =" devsite-terminal tfo-terminal-windows " >SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1 \bin;%PATH%</code >
200
+ <code class =" devsite-terminal tfo-terminal-windows " >SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1 \extras\CUPTI\libx64;%PATH%</code >
201
+ <code class =" devsite-terminal tfo-terminal-windows " >SET PATH=C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1 \include;%PATH%</code >
201
202
<code class =" devsite-terminal tfo-terminal-windows " >SET PATH=C:\tools\cuda\bin;%PATH%</code >
202
203
</pre >
0 commit comments