Added "NOTE: You may only install TensorFlow on 64-bit machines" to all the

TensorFlow Install guides.

PiperOrigin-RevId: 173899394
This commit is contained in:
A. Unique TensorFlower 2017-10-30 08:52:31 -07:00 committed by TensorFlower Gardener
parent b73743e3a0
commit 494672475b
7 changed files with 87 additions and 57 deletions

View File

@ -9,10 +9,13 @@ The API leans towards simplicity and uniformity rather than convenience.
## Supported Platforms ## Supported Platforms
You may install TensorFlow for C on the following operating systems: This guide explains how to install TensorFlow for C. Although these
instructions might also work on other variants, we have only tested
(and we only support) these instructions on machines meeting the
following requirements:
* Linux * Linux, 64-bit, x86
* Mac OS X * macOS X, Version 10.11 (El Capitan) or higher
## Installation ## Installation
@ -26,13 +29,13 @@ enable TensorFlow for C:
following guides: following guides:
* @{$install_linux#determine_which_tensorflow_to_install$Installing TensorFlow on Linux} * @{$install_linux#determine_which_tensorflow_to_install$Installing TensorFlow on Linux}
* @{$install_mac#determine_which_tensorflow_to_install$Installing TensorFlow on Mac OS} * @{$install_mac#determine_which_tensorflow_to_install$Installing TensorFlow on macOS}
2. Download and extract the TensorFlow C library into `/usr/local/lib` by 2. Download and extract the TensorFlow C library into `/usr/local/lib` by
invoking the following shell commands: invoking the following shell commands:
TF_TYPE="cpu" # Change to "gpu" for GPU support TF_TYPE="cpu" # Change to "gpu" for GPU support
OS="linux" # Change to "darwin" for Mac OS OS="linux" # Change to "darwin" for macOS
TARGET_DIRECTORY="/usr/local" TARGET_DIRECTORY="/usr/local"
curl -L \ curl -L \
"https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-${TF_TYPE}-${OS}-x86_64-1.4.0-rc0.tar.gz" | "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-${TF_TYPE}-${OS}-x86_64-1.4.0-rc0.tar.gz" |
@ -57,9 +60,9 @@ enable TensorFlow for C:
directory (for example, `~/mydir/lib`) to two environment variables. directory (for example, `~/mydir/lib`) to two environment variables.
For example: For example:
<pre> <b>export LIBRARY_PATH=$LIBRARY_PATH:~/mydir/lib</b> # For both Linux and Mac OS X <pre> <b>export LIBRARY_PATH=$LIBRARY_PATH:~/mydir/lib</b> # For both Linux and macOS X
<b>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/mydir/lib</b> # For Linux only <b>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/mydir/lib</b> # For Linux only
<b>export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:~/mydir/lib</b> # For Mac OS X only</pre> <b>export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:~/mydir/lib</b> # For macOS X only</pre>

View File

@ -5,16 +5,19 @@ well-suited to loading models created in Python and executing them within
a Go application. This guide explains how to install and set up the a Go application. This guide explains how to install and set up the
[TensorFlow Go package](https://godoc.org/github.com/tensorflow/tensorflow/tensorflow/go). [TensorFlow Go package](https://godoc.org/github.com/tensorflow/tensorflow/tensorflow/go).
**WARNING:** The TensorFlow Go API is *not* covered by the TensorFlow Warning: The TensorFlow Go API is *not* covered by the TensorFlow
[API stability guarantees](https://www.tensorflow.org/programmers_guide/version_semantics). [API stability guarantees](https://www.tensorflow.org/programmers_guide/version_semantics).
## Supported Platforms ## Supported Platforms
You may install TensorFlow for Go on the following operating systems: This guide explains how to install TensorFlow for Go. Although these
instructions might also work on other variants, we have only tested
(and we only support) these instructions on machines meeting the
following requirements:
* Linux * Linux, 64-bit, x86
* Mac OS X * macOS X, 10.11 (El Capitan) or higher
## Installation ## Installation
@ -27,7 +30,7 @@ steps to install this library and enable TensorFlow for Go:
"Determine which TensorFlow to install" in one of the following guides: "Determine which TensorFlow to install" in one of the following guides:
* @{$install_linux#determine_which_tensorflow_to_install$Installing TensorFlow on Linux} * @{$install_linux#determine_which_tensorflow_to_install$Installing TensorFlow on Linux}
* @{$install_mac#determine_which_tensorflow_to_install$Installing TensorFlow on Mac OS} * @{$install_mac#determine_which_tensorflow_to_install$Installing TensorFlow on macOS}
2. Download and extract the TensorFlow C library into `/usr/local/lib` by 2. Download and extract the TensorFlow C library into `/usr/local/lib` by
invoking the following shell commands: invoking the following shell commands:
@ -57,9 +60,9 @@ steps to install this library and enable TensorFlow for Go:
directory (for example, `~/mydir/lib`) to two environment variables directory (for example, `~/mydir/lib`) to two environment variables
as follows: as follows:
<pre> <b>export LIBRARY_PATH=$LIBRARY_PATH:~/mydir/lib</b> # For both Linux and Mac OS X <pre> <b>export LIBRARY_PATH=$LIBRARY_PATH:~/mydir/lib</b> # For both Linux and macOS X
<b>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/mydir/lib</b> # For Linux only <b>export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/mydir/lib</b> # For Linux only
<b>export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:~/mydir/lib</b> # For Mac OS X only</pre> <b>export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:~/mydir/lib</b> # For macOS X only</pre>
4. Now that the TensorFlow C library is installed, invoke `go get` as follows 4. Now that the TensorFlow C library is installed, invoke `go get` as follows
to download the appropriate packages and their dependencies: to download the appropriate packages and their dependencies:

View File

@ -6,18 +6,20 @@ Java application. This guide explains how to install
[TensorFlow for Java](https://www.tensorflow.org/api_docs/java/reference/org/tensorflow/package-summary) [TensorFlow for Java](https://www.tensorflow.org/api_docs/java/reference/org/tensorflow/package-summary)
and use it in a Java application. and use it in a Java application.
**WARNING:** The TensorFlow Java API is *not* covered by the TensorFlow Warning: The TensorFlow Java API is *not* covered by the TensorFlow
[API stability guarantees](https://www.tensorflow.org/programmers_guide/version_semantics). [API stability guarantees](https://www.tensorflow.org/programmers_guide/version_semantics).
## Supported Platforms ## Supported Platforms
TensorFlow for Java is supported on the following operating systems: This guide explains how to install TensorFlow for Java. Although these
instructions might also work on other variants, we have only tested
(and we only support) these instructions on machines meeting the
following requirements:
* Linux * Ubuntu 14.04 or higher; 64-bit, x86
* Mac OS X * macOS X 10.11 (El Capitan) or higher
* Windows * Windows 7 or higher; 64-bit, x86
* Android
The installation instructions for Android are in a separate The installation instructions for Android are in a separate
[Android TensorFlow Support page](https://www.tensorflow.org/code/tensorflow/contrib/android). [Android TensorFlow Support page](https://www.tensorflow.org/code/tensorflow/contrib/android).
@ -117,9 +119,9 @@ This section describes how to use TensorFlow using the `java` and `javac`
commands from a JDK installation. If your project uses Apache Maven, then commands from a JDK installation. If your project uses Apache Maven, then
refer to the simpler instructions above instead. refer to the simpler instructions above instead.
### Install on Linux or Mac OS ### Install on Linux or macOS
Take the following steps to install TensorFlow for Java on Linux or Mac OS: Take the following steps to install TensorFlow for Java on Linux or macOS:
1. Download 1. Download
[libtensorflow.jar](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-1.4.0-rc0.jar), [libtensorflow.jar](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-1.4.0-rc0.jar),
@ -130,7 +132,7 @@ Take the following steps to install TensorFlow for Java on Linux or Mac OS:
"Determine which TensorFlow to install" in one of the following guides: "Determine which TensorFlow to install" in one of the following guides:
* @{$install_linux#determine_which_tensorflow_to_install$Installing TensorFlow on Linux} * @{$install_linux#determine_which_tensorflow_to_install$Installing TensorFlow on Linux}
* @{$install_mac#determine_which_tensorflow_to_install$Installing TensorFlow on Mac OS} * @{$install_mac#determine_which_tensorflow_to_install$Installing TensorFlow on macOS}
3. Download and extract the appropriate Java Native Interface (JNI) 3. Download and extract the appropriate Java Native Interface (JNI)
file for your operating system and processor support by running the file for your operating system and processor support by running the
@ -212,7 +214,7 @@ two files are available to the JVM:
* the extracted JNI library * the extracted JNI library
For example, the following command line executes the `HelloTF` program on Linux For example, the following command line executes the `HelloTF` program on Linux
and Mac OS X: and macOS X:
<pre><b>java -cp libtensorflow-1.4.0-rc0.jar:. -Djava.library.path=./jni HelloTF</b></pre> <pre><b>java -cp libtensorflow-1.4.0-rc0.jar:. -Djava.library.path=./jni HelloTF</b></pre>

View File

@ -1,8 +1,12 @@
# Installing TensorFlow on Ubuntu # Installing TensorFlow on Ubuntu
This guide explains how to install TensorFlow on Ubuntu. These instructions This guide explains how to install TensorFlow on Ubuntu. Although these
might also work on other Linux variants, but we have only tested (and we instructions might also work on other Linux variants, we have only
only support) these instructions on Ubuntu 14.04 or higher. tested (and we only support) these instructions on machines meeting the
following requirements:
* 64-bit desktops or laptops
* Ubuntu 14.04 or higher
## Determine which TensorFlow to install ## Determine which TensorFlow to install

View File

@ -1,6 +1,11 @@
# Installing TensorFlow on macOS # Installing TensorFlow on macOS
This guide explains how to install TensorFlow on macOS. This guide explains how to install TensorFlow on macOS. Although these
instructions might also work on other macOS variants, we have only
tested (and we only support) these instructions on machines meeting the
following requirements:
* macOS X 10.11 (El Capitan) or higher
Note: As of version 1.2, TensorFlow no longer provides GPU support on macOS. Note: As of version 1.2, TensorFlow no longer provides GPU support on macOS.

View File

@ -2,7 +2,7 @@
This guide explains how to build TensorFlow sources into a TensorFlow This guide explains how to build TensorFlow sources into a TensorFlow
binary and how to install that TensorFlow binary. Note that we provide binary and how to install that TensorFlow binary. Note that we provide
well-tested, pre-built TensorFlow binaries for Linux, Mac, and Windows well-tested, pre-built TensorFlow binaries for Ubuntu, macOS, and Windows
systems. In addition, there are pre-built TensorFlow systems. In addition, there are pre-built TensorFlow
[docker images](https://hub.docker.com/r/tensorflow/tensorflow/). [docker images](https://hub.docker.com/r/tensorflow/tensorflow/).
So, don't build a TensorFlow binary yourself unless you are very So, don't build a TensorFlow binary yourself unless you are very
@ -10,16 +10,22 @@ comfortable building complex packages from source and dealing with
the inevitable aftermath should things not go exactly as documented. the inevitable aftermath should things not go exactly as documented.
If the last paragraph didn't scare you off, welcome. This guide explains If the last paragraph didn't scare you off, welcome. This guide explains
how to build TensorFlow on the following operating systems: how to build TensorFlow on 64-bit desktops and laptops running either of
the following operating systems:
* Ubuntu * Ubuntu
* Mac OS X * macOS X
We don't officially support building TensorFlow on Windows; however, you may try Note: Some users have successfully built and installed TensorFlow from
to build TensorFlow on Windows if you don't mind using the highly experimental sources on non-supported systems. Please remember that we do not fix
[Bazel on Windows](https://bazel.build/versions/master/docs/windows.html) issues stemming from these attempts.
or
[TensorFlow CMake build](https://github.com/tensorflow/tensorflow/tree/r0.12/tensorflow/contrib/cmake). We **do not support** building TensorFlow on Windows. That said, if you'd
like to try to build TensorFlow on Windows anyway, use either of the
following:
* [Bazel on Windows](https://bazel.build/versions/master/docs/windows.html)
* [TensorFlow CMake build](https://github.com/tensorflow/tensorflow/tree/r0.12/tensorflow/contrib/cmake)
## Determine which TensorFlow to install ## Determine which TensorFlow to install
@ -40,7 +46,7 @@ install:
software requirements described in one of the following documents: software requirements described in one of the following documents:
* @{$install_linux#NVIDIARequirements$Installing TensorFlow on Ubuntu} * @{$install_linux#NVIDIARequirements$Installing TensorFlow on Ubuntu}
* @{$install_mac#NVIDIARequirements$Installing TensorFlow on Mac OS} * @{$install_mac#NVIDIARequirements$Installing TensorFlow on macOS}
## Clone the TensorFlow repository ## Clone the TensorFlow repository
@ -70,7 +76,7 @@ issue the following command:
Next, you must prepare your environment for Next, you must prepare your environment for
[Linux](#PrepareLinux) [Linux](#PrepareLinux)
or or
[Mac OS](#PrepareMac) [macOS](#PrepareMac)
<a name="#PrepareLinux"></a> <a name="#PrepareLinux"></a>
@ -157,7 +163,7 @@ After preparing the environment, you must now
<a name="PrepareMac"></a> <a name="PrepareMac"></a>
## Prepare environment for Mac OS ## Prepare environment for macOS
Before building TensorFlow, you must install the following on your system: Before building TensorFlow, you must install the following on your system:

View File

@ -1,6 +1,13 @@
# Installing TensorFlow on Windows # Installing TensorFlow on Windows
This guide explains how to install TensorFlow on Windows. This guide explains how to install TensorFlow on Windows. Although these
instructions might also work on other Windows variants, we have only
tested (and we only support) these instructions on machines meeting the
following requirements:
* 64-bit, x86 desktops or laptops
* Windows 7 or later
## Determine which TensorFlow to install ## Determine which TensorFlow to install