Skip to content

Commit 835db91

Browse files
committed
update
1 parent 218e52c commit 835db91

File tree

6 files changed

+61
-39
lines changed

6 files changed

+61
-39
lines changed

install/install_c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ enable TensorFlow for C:
3838
OS="linux" # Change to "darwin" for macOS
3939
TARGET_DIRECTORY="/usr/local"
4040
curl -L \
41-
"https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-$%7BTF_TYPE%7D-$%7BOS%7D-x86_64-1.8.0%3Cspan%20class="x x-first x-last">-rc1.tar.gz" |
41+
"https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-$%7BTF_TYPE%7D-$%7BOS%7D-x86_64-1.8.0.tar.gz" |
4242
sudo tar -C $TARGET_DIRECTORY -xz
4343

4444
The `tar` command extracts the TensorFlow C library into the `lib`

install/install_go.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ steps to install this library and enable TensorFlow for Go:
3838
TF_TYPE="cpu" # Change to "gpu" for GPU support
3939
TARGET_DIRECTORY='/usr/local'
4040
curl -L \
41-
"https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-$%7BTF_TYPE%7D-$(go%20env%20GOOS)-x86_64-1.8.0%3Cspan%20class="x x-first x-last">-rc1.tar.gz" |
41+
"https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-$%7BTF_TYPE%7D-$(go%20env%20GOOS)-x86_64-1.8.0.tar.gz" |
4242
sudo tar -C $TARGET_DIRECTORY -xz
4343

4444
The `tar` command extracts the TensorFlow C library into the `lib`

install/install_java.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ following to the project's `pom.xml` to use the TensorFlow Java APIs:
3636
<dependency>
3737
<groupId>org.tensorflow</groupId>
3838
<artifactId>tensorflow</artifactId>
39-
<version>1.8.0-rc1</version>
39+
<version>1.8.0</version>
4040
</dependency>
4141
```
4242

@@ -65,7 +65,7 @@ As an example, these steps will create a Maven project that uses TensorFlow:
6565
<dependency>
6666
<groupId>org.tensorflow</groupId>
6767
<artifactId>tensorflow</artifactId>
68-
<version>1.8.0-rc1</version>
68+
<version>1.8.0</version>
6969
</dependency>
7070
</dependencies>
7171
</project>
@@ -123,12 +123,12 @@ instead:
123123
<dependency>
124124
<groupId>org.tensorflow</groupId>
125125
<artifactId>libtensorflow</artifactId>
126-
<version>1.8.0-rc1</version>
126+
<version>1.8.0</version>
127127
</dependency>
128128
<dependency>
129129
<groupId>org.tensorflow</groupId>
130130
<artifactId>libtensorflow_jni_gpu</artifactId>
131-
<version>1.8.0-rc1</version>
131+
<version>1.8.0</version>
132132
</dependency>
133133
```
134134

@@ -147,7 +147,7 @@ refer to the simpler instructions above instead.
147147
Take the following steps to install TensorFlow for Java on Linux or macOS:
148148

149149
1. Download
150-
[libtensorflow.jar](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-1.8.0-rc1.jar),
150+
[libtensorflow.jar](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-1.8.0.jar),
151151
which is the TensorFlow Java Archive (JAR).
152152

153153
2. Decide whether you will run TensorFlow for Java on CPU(s) only or with
@@ -166,18 +166,18 @@ Take the following steps to install TensorFlow for Java on Linux or macOS:
166166
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
167167
mkdir -p ./jni
168168
curl -L \
169-
"https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow_jni-$%7BTF_TYPE%7D-$%7BOS%7D-x86_64-1.8.0%3Cspan%20class="x x-first x-last">-rc1.tar.gz" |
169+
"https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow_jni-$%7BTF_TYPE%7D-$%7BOS%7D-x86_64-1.8.0.tar.gz" |
170170
tar -xz -C ./jni
171171

172172
### Install on Windows
173173

174174
Take the following steps to install TensorFlow for Java on Windows:
175175

176176
1. Download
177-
[libtensorflow.jar](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-1.8.0-rc1.jar),
177+
[libtensorflow.jar](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-1.8.0.jar),
178178
which is the TensorFlow Java Archive (JAR).
179179
2. Download the following Java Native Interface (JNI) file appropriate for
180-
[TensorFlow for Java on Windows](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow_jni-cpu-windows-x86_64-1.8.0-rc1.zip).
180+
[TensorFlow for Java on Windows](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow_jni-cpu-windows-x86_64-1.8.0.zip).
181181
3. Extract this .zip file.
182182

183183

@@ -225,7 +225,7 @@ must be part of your `classpath`. For example, you can include the
225225
downloaded `.jar` in your `classpath` by using the `-cp` compilation flag
226226
as follows:
227227

228-
<pre><b>javac -cp libtensorflow-1.8.0-rc1.jar HelloTF.java</b></pre>
228+
<pre><b>javac -cp libtensorflow-1.8.0.jar HelloTF.java</b></pre>
229229

230230

231231
### Running
@@ -239,11 +239,11 @@ two files are available to the JVM:
239239
For example, the following command line executes the `HelloTF` program on Linux
240240
and macOS X:
241241

242-
<pre><b>java -cp libtensorflow-1.8.0-rc1.jar:. -Djava.library.path=./jni HelloTF</b></pre>
242+
<pre><b>java -cp libtensorflow-1.8.0.jar:. -Djava.library.path=./jni HelloTF</b></pre>
243243

244244
And the following command line executes the `HelloTF` program on Windows:
245245

246-
<pre><b>java -cp libtensorflow-1.8.0-rc1.jar;. -Djava.library.path=jni HelloTF</b></pre>
246+
<pre><b>java -cp libtensorflow-1.8.0.jar;. -Djava.library.path=jni HelloTF</b></pre>
247247

248248
If the program prints <tt>Hello from <i>version</i></tt>, you've successfully
249249
installed TensorFlow for Java and are ready to use the API. If the program

install/install_linux.md

Lines changed: 41 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ must be installed on your system:
4848
Toolkit.
4949
* The libcupti-dev library, which is the NVIDIA CUDA Profile Tools Interface.
5050
This library provides advanced profiling support. To install this library,
51-
issue the following command for CUDA Toolkit >= 8.0:
51+
issue the following command for CUDA Toolkit >= 9.0:
5252

5353
<pre>
5454
$ <b>sudo apt-get install cuda-command-line-tools</b>
@@ -65,16 +65,38 @@ must be installed on your system:
6565
<pre>
6666
$ <b>sudo apt-get install libcupti-dev</b>
6767
</pre>
68+
6869
* **[OPTIONAL]** For optimized inferencing performance, you can also install
69-
NVIDIA TensorRT 3.0. For details, see
70-
[NVIDIA's TensorRT documentation](http://docs.nvidia.com/deeplearning/sdk/tensorrt-install-guide/index.html#installing-tar).
71-
Only steps 1-4 in the TensorRT Tar File installation instructions are
72-
required for compatibility with TensorFlow; the Python package installation
73-
in steps 5 and 6 can be omitted. Detailed installation instructions can be found at [package documentataion](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/tensorrt#installing-tensorrt-304)
70+
**NVIDIA TensorRT 3.0**. The minimal set of TensorRT runtime components needed
71+
for use with the pre-built `tensorflow-gpu` package can be installed as follows:
72+
73+
<pre>
74+
$ <b>wget https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1404/x86_64/nvinfer-runtime-trt-repo-ubuntu1404-3.0.4-ga-cuda9.0_1.0-1_amd64.deb</b>
75+
$ <b>sudo dpkg -i nvinfer-runtime-trt-repo-ubuntu1404-3.0.4-ga-cuda9.0_1.0-1_amd64.deb</b>
76+
$ <b>sudo apt-get update</b>
77+
$ <b>sudo apt-get install -y --allow-downgrades libnvinfer-dev libcudnn7-dev=7.0.5.15-1+cuda9.0 libcudnn7=7.0.5.15-1+cuda9.0</b>
78+
</pre>
7479

7580
**IMPORTANT:** For compatibility with the pre-built `tensorflow-gpu`
76-
package, please use the Ubuntu **14.04** tar file package of TensorRT
77-
even when installing onto an Ubuntu 16.04 system.
81+
package, please use the Ubuntu **14.04** package of TensorRT as shown above,
82+
even when installing onto an Ubuntu 16.04 system.<br/>
83+
<br/>
84+
To build the TensorFlow-TensorRT integration module from source rather than
85+
using pre-built binaries, see the [module documentation](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/tensorrt#using-tensorrt-in-tensorflow).
86+
For detailed TensorRT installation instructions, see [NVIDIA's TensorRT documentation](http://docs.nvidia.com/deeplearning/sdk/tensorrt-install-guide/index.html).<br/>
87+
<br/>
88+
To avoid cuDNN version conflicts during later system upgrades, you can hold
89+
the cuDNN version at 7.0.5:
90+
91+
<pre>
92+
$ <b> sudo apt-mark hold libcudnn7 libcudnn7-dev</b>
93+
</pre>
94+
95+
To later allow upgrades, you can remove the hold:
96+
97+
<pre>
98+
$ <b> sudo apt-mark unhold libcudnn7 libcudnn7-dev</b>
99+
</pre>
78100

79101
If you have an earlier version of the preceding packages, please upgrade to
80102
the specified versions. If upgrading is not possible, then you may still run
@@ -194,7 +216,7 @@ Take the following steps to install TensorFlow with Virtualenv:
194216
Virtualenv environment:
195217

196218
<pre>(tensorflow)$ <b>pip3 install --upgrade \
197-
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0rc1-cp34-cp34m-linux_x86_64.whl</b></pre>
219+
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp34-cp34m-linux_x86_64.whl</b></pre>
198220

199221
If you encounter installation problems, see
200222
[Common Installation Problems](#common_installation_problems).
@@ -299,7 +321,7 @@ take the following steps:
299321

300322
<pre>
301323
$ <b>sudo pip3 install --upgrade \
302-
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0rc1-cp34-cp34m-linux_x86_64.whl</b>
324+
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp34-cp34m-linux_x86_64.whl</b>
303325
</pre>
304326

305327
If this step fails, see
@@ -485,7 +507,7 @@ Take the following steps to install TensorFlow in an Anaconda environment:
485507

486508
<pre>
487509
(tensorflow)$ <b>pip install --ignore-installed --upgrade \
488-
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0rc1-cp34-cp34m-linux_x86_64.whl</b></pre>
510+
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp34-cp34m-linux_x86_64.whl</b></pre>
489511

490512
<a name="ValidateYourInstallation"></a>
491513
## Validate your installation
@@ -659,14 +681,14 @@ This section documents the relevant values for Linux installations.
659681
CPU only:
660682

661683
<pre>
662-
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0rc1-cp27-none-linux_x86_64.whl
684+
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp27-none-linux_x86_64.whl
663685
</pre>
664686

665687

666688
GPU support:
667689

668690
<pre>
669-
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0rc1-cp27-none-linux_x86_64.whl
691+
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0-cp27-none-linux_x86_64.whl
670692
</pre>
671693

672694
Note that GPU support requires the NVIDIA hardware and software described in
@@ -678,14 +700,14 @@ Note that GPU support requires the NVIDIA hardware and software described in
678700
CPU only:
679701

680702
<pre>
681-
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0rc1-cp34-cp34m-linux_x86_64.whl
703+
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp34-cp34m-linux_x86_64.whl
682704
</pre>
683705

684706

685707
GPU support:
686708

687709
<pre>
688-
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0rc1-cp34-cp34m-linux_x86_64.whl
710+
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0-cp34-cp34m-linux_x86_64.whl
689711
</pre>
690712

691713
Note that GPU support requires the NVIDIA hardware and software described in
@@ -697,14 +719,14 @@ Note that GPU support requires the NVIDIA hardware and software described in
697719
CPU only:
698720

699721
<pre>
700-
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0rc1-cp35-cp35m-linux_x86_64.whl
722+
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp35-cp35m-linux_x86_64.whl
701723
</pre>
702724

703725

704726
GPU support:
705727

706728
<pre>
707-
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0rc1-cp35-cp35m-linux_x86_64.whl
729+
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0-cp35-cp35m-linux_x86_64.whl
708730
</pre>
709731

710732

@@ -716,14 +738,14 @@ Note that GPU support requires the NVIDIA hardware and software described in
716738
CPU only:
717739

718740
<pre>
719-
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0rc1-cp36-cp36m-linux_x86_64.whl
741+
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.8.0-cp36-cp36m-linux_x86_64.whl
720742
</pre>
721743

722744

723745
GPU support:
724746

725747
<pre>
726-
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0rc1-cp36-cp36m-linux_x86_64.whl
748+
https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow_gpu-1.8.0-cp36-cp36m-linux_x86_64.whl
727749
</pre>
728750

729751

install/install_mac.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Take the following steps to install TensorFlow with Virtualenv:
119119
TensorFlow in the active Virtualenv is as follows:
120120

121121
<pre> $ <b>pip3 install --upgrade \
122-
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0rc1-py3-none-any.whl</b></pre>
122+
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py3-none-any.whl</b></pre>
123123

124124
If you encounter installation problems, see
125125
[Common Installation Problems](#common-installation-problems).
@@ -242,7 +242,7 @@ take the following steps:
242242
issue the following command:
243243

244244
<pre> $ <b>sudo pip3 install --upgrade \
245-
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0rc1-py3-none-any.whl</b> </pre>
245+
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py3-none-any.whl</b> </pre>
246246

247247
If the preceding command fails, see
248248
[installation problems](#common-installation-problems).
@@ -350,7 +350,7 @@ Take the following steps to install TensorFlow in an Anaconda environment:
350350
TensorFlow for Python 2.7:
351351

352352
<pre> (<i>targetDirectory</i>)$ <b>pip install --ignore-installed --upgrade \
353-
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0rc1-py2-none-any.whl</b></pre>
353+
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py2-none-any.whl</b></pre>
354354

355355

356356
<a name="ValidateYourInstallation"></a>
@@ -524,13 +524,13 @@ The value you specify depends on your Python version.
524524

525525

526526
<pre>
527-
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0rc1-py2-none-any.whl
527+
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py2-none-any.whl
528528
</pre>
529529

530530

531531
### Python 3.4, 3.5, or 3.6
532532

533533

534534
<pre>
535-
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0rc1-py3-none-any.whl
535+
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-1.8.0-py3-none-any.whl
536536
</pre>

install/install_sources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ Invoke `pip install` to install that pip package.
350350
The filename of the `.whl` file depends on your platform.
351351
For example, the following command will install the pip package
352352

353-
for TensorFlow 1.8.0rc1 on Linux:
353+
for TensorFlow 1.8.0 on Linux:
354354

355355
<pre>
356-
$ <b>sudo pip install /tmp/tensorflow_pkg/tensorflow-1.8.0rc1-py2-none-any.whl</b>
356+
$ <b>sudo pip install /tmp/tensorflow_pkg/tensorflow-1.8.0-py2-none-any.whl</b>
357357
</pre>
358358

359359
## Validate your installation

0 commit comments

Comments
 (0)