aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/go/README.md
diff options
context:
space:
mode:
authorGravatar Asim Shankar <ashankar@google.com>2017-05-04 12:19:59 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-04 13:24:41 -0700
commit28c03f5d5a946e3050f7eed0cd7f3f64e5fa768d (patch)
tree299dfc1627f547294925ad6eac0ca5044dff2564 /tensorflow/go/README.md
parente847d1b41fc44d9e892c8fef446b94a709dc8cf3 (diff)
Docs: Stop advertising GPU support for Mac OS X.
Starting with the next release (1.2) GPU support for Mac will be dropped in release binaries since the configuration of NVIDIA GPUs on a Mac is somewhat esoteric (and we currently do not have the bandwidth to debug test failures on that platform). While at it, change to version 1.1.0 from 1.1.0-rc2 Change: 155117808
Diffstat (limited to 'tensorflow/go/README.md')
-rw-r--r--tensorflow/go/README.md25
1 files changed, 5 insertions, 20 deletions
diff --git a/tensorflow/go/README.md b/tensorflow/go/README.md
index e32c21ca72..a1b4255292 100644
--- a/tensorflow/go/README.md
+++ b/tensorflow/go/README.md
@@ -9,24 +9,22 @@ Construct and execute TensorFlow graphs in Go.
> (`github.com/tensorflow/tensorflow/tensorflow/go`).
## Quickstart
-
1. Download and extract the TensorFlow C library, preferably into `/usr/local`.
GPU-enabled versions require CUDA 8.0 and cuDNN 5.1. For other versions, the
TensorFlow C library will have to be built from source (see below).
- Linux:
- [CPU-only](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.0.0.tar.gz),
- [GPU-enabled](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.0.0.tar.gz)
+ [CPU-only](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-1.1.0.tar.gz),
+ [GPU-enabled](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-linux-x86_64-1.1.0.tar.gz)
- OS X
- [CPU-only](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.0.0.tar.gz),
- [GPU-enabled](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-gpu-darwin-x86_64-1.0.0.tar.gz)
+ [CPU-only](https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-darwin-x86_64-1.1.0.tar.gz),
The following shell snippet downloads and extracts into `/usr/local`:
```sh
TF_TYPE="cpu" # Set to "gpu" for GPU support
curl -L \
- "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-${TF_TYPE}-$(go env GOOS)-x86_64-1.0.0.tar.gz" |
+ "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-${TF_TYPE}-$(go env GOOS)-x86_64-1.1.0.tar.gz" |
sudo tar -C /usr/local -xz
```
@@ -41,20 +39,7 @@ Construct and execute TensorFlow graphs in Go.
### Installing into locations other than `/usr/local`
-The TensorFlow C library (`libtensorflow.so`) needs to be available at build
-time (e.g., `go build`) and run time (`go test` or executing binaries). If the
-library has not been extracted into `/usr/local`, then it needs to be made
-available through the `LIBRARY_PATH` environment variable at build time and the
-`LD_LIBRARY_PATH` environment variable (`DYLD_LIBRARY_PATH` on OS X) at run
-time.
-
-For example, if the TensorFlow C library was extracted into `/dir`, then:
-
-```sh
-export LIBRARY_PATH=/dir/lib
-export LD_LIBRARY_PATH=/dir/lib # For Linux
-export DYLD_LIBRARY_PATH=/dir/lib # For OS X
-```
+Refer to [Installing TensorFlow for Go](https://www.tensorflow.org/install/install_go)
## Building the TensorFlow C library from source