@@ -7,7 +7,7 @@ github source.
7
7
8
8
The TensorFlow Python API supports Python 2.7 and Python 3.3+.
9
9
10
- The GPU version works best with Cuda Toolkit 7.5 and
10
+ The GPU version works best with Cuda Toolkit 8.0 and
11
11
cuDNN v5. Other versions are supported (Cuda toolkit >= 7.0 and
12
12
cuDNN >= v3) only when installing from sources.
13
13
Please see [ Cuda installation] ( #optional-install-cuda-gpus-on-linux ) for
@@ -66,7 +66,7 @@ Then, select the correct binary to install:
66
66
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
67
67
68
68
# Ubuntu/Linux 64-bit, GPU enabled, Python 2.7
69
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
69
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
70
70
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
71
71
72
72
# Mac OS X, CPU only, Python 2.7:
@@ -79,14 +79,14 @@ $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorf
79
79
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
80
80
81
81
# Ubuntu/Linux 64-bit, GPU enabled, Python 3.4
82
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
82
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
83
83
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
84
84
85
85
# Ubuntu/Linux 64-bit, CPU only, Python 3.5
86
86
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
87
87
88
88
# Ubuntu/Linux 64-bit, GPU enabled, Python 3.5
89
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
89
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
90
90
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
91
91
92
92
# Mac OS X, CPU only, Python 3.4 or 3.5:
@@ -162,7 +162,7 @@ Now, install TensorFlow just as you would for a regular Pip installation. First
162
162
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
163
163
164
164
# Ubuntu/Linux 64-bit, GPU enabled, Python 2.7
165
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
165
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
166
166
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
167
167
168
168
# Mac OS X, CPU only, Python 2.7:
@@ -175,14 +175,14 @@ Now, install TensorFlow just as you would for a regular Pip installation. First
175
175
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
176
176
177
177
# Ubuntu/Linux 64-bit, GPU enabled, Python 3.4
178
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
178
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
179
179
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
180
180
181
181
# Ubuntu/Linux 64-bit, CPU only, Python 3.5
182
182
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
183
183
184
184
# Ubuntu/Linux 64-bit, GPU enabled, Python 3.5
185
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
185
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
186
186
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
187
187
188
188
# Mac OS X, CPU only, Python 3.4 or 3.5:
@@ -301,7 +301,7 @@ select the correct binary to install:
301
301
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
302
302
303
303
# Ubuntu/Linux 64-bit, GPU enabled, Python 2.7
304
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
304
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
305
305
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
306
306
307
307
# Mac OS X, CPU only, Python 2.7:
@@ -314,14 +314,14 @@ select the correct binary to install:
314
314
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
315
315
316
316
# Ubuntu/Linux 64-bit, GPU enabled, Python 3.4
317
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
317
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
318
318
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
319
319
320
320
# Ubuntu/Linux 64-bit, CPU only, Python 3.5
321
321
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
322
322
323
323
# Ubuntu/Linux 64-bit, GPU enabled, Python 3.5
324
- # Requires CUDA toolkit 7.5 and CuDNN v5. For other versions, see "Install from sources" below.
324
+ # Requires CUDA toolkit 8.0 and CuDNN v5. For other versions, see "Install from sources" below.
325
325
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
326
326
327
327
# Mac OS X, CPU only, Python 3.4 or 3.5:
@@ -454,7 +454,7 @@ the Docker container.
454
454
### (Optional, Linux) Enable GPU Support
455
455
456
456
If you installed the GPU version of TensorFlow, you must also install the Cuda
457
- Toolkit 7.5 and cuDNN v5. Please see [ Cuda
457
+ Toolkit 8.0 and cuDNN v5. Please see [ Cuda
458
458
installation] ( #optional-install-cuda-gpus-on-linux ) .
459
459
460
460
You also need to set the ` LD_LIBRARY_PATH ` and ` CUDA_HOME ` environment
@@ -594,7 +594,7 @@ https://developer.nvidia.com/cuda-gpus
594
594
595
595
https://developer.nvidia.com/cuda-downloads
596
596
597
- Install version 7.5 if using our binary releases.
597
+ Install version 8.0 if using our binary releases.
598
598
599
599
Install the toolkit into e.g. ` /usr/local/cuda `
600
600
@@ -609,7 +609,7 @@ toolkit is installed in `/usr/local/cuda`, run the following commands (edited
609
609
to reflect the cuDNN version you downloaded):
610
610
611
611
``` bash
612
- tar xvzf cudnn-7.5 -linux-x64-v5.1-ga.tgz
612
+ tar xvzf cudnn-8.0 -linux-x64-v5.1-ga.tgz
613
613
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
614
614
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
615
615
sudo chmod a+r /usr/local/cuda/include/cudnn.h /usr/local/cuda/lib64/libcudnn*
@@ -686,9 +686,9 @@ Once you have it downloaded locally, you can unzip and move the header and
686
686
libraries to your local CUDA Toolkit folder:
687
687
688
688
``` bash
689
- $ sudo mv include/cudnn.h /Developer/NVIDIA/CUDA-7.5 /include/
690
- $ sudo mv lib/libcudnn* /Developer/NVIDIA/CUDA-7.5 /lib
691
- $ sudo ln -s /Developer/NVIDIA/CUDA-7.5 /lib/libcudnn* /usr/local/cuda/lib/
689
+ $ sudo mv include/cudnn.h /Developer/NVIDIA/CUDA-8.0 /include/
690
+ $ sudo mv lib/libcudnn* /Developer/NVIDIA/CUDA-8.0 /lib
691
+ $ sudo ln -s /Developer/NVIDIA/CUDA-8.0 /lib/libcudnn* /usr/local/cuda/lib/
692
692
```
693
693
694
694
To verify the CUDA installation, you can build and run deviceQuery to make sure
@@ -702,8 +702,9 @@ $ popd
702
702
$ ~ /cuda-samples/bin/x86_64/darwin/release/deviceQuery
703
703
```
704
704
705
- If you want to compile tensorflow and have the XCode 7.3 installed, note that
706
- Xcode 7.3 is not yet compatible with CUDA 7.5. You will need to download Xcode
705
+ If you want to compile tensorflow and have XCode 7.3 and CUDA 7.5 installed, note that
706
+ Xcode 7.3 is not yet compatible with CUDA 7.5. You can either upgrade to CUDA
707
+ 8.0, or you will need to download Xcode
707
708
7.2 and select it as your default:
708
709
709
710
``` bash
@@ -734,8 +735,8 @@ No Google Cloud Platform support will be enabled for TensorFlow
734
735
Do you wish to build TensorFlow with GPU support? [y/N] y
735
736
GPU support will be enabled for TensorFlow
736
737
Please specify which gcc nvcc should use as the host compiler. [Default is /usr/bin/gcc]:
737
- Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: 7.5
738
- Please specify the location where CUDA 7.5 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
738
+ Please specify the Cuda SDK version you want to use, e.g. 7.0. [Leave empty to use system default]: 8.0
739
+ Please specify the location where CUDA 8.0 toolkit is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
739
740
Please specify the cuDNN version you want to use. [Leave empty to use system default]: 5
740
741
Please specify the location where cuDNN 5 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
741
742
Please specify a list of comma-separated Cuda compute capabilities you want to build with.
0 commit comments