Skip to content

Commit b48f9ae

Browse files
authored
Merge pull request tensorflow#5097 from yifeif/r0.11
Update doc and release note for 0.11.0rc1
2 parents 7aa800a + affdbaa commit b48f9ae

File tree

7 files changed

+76
-30
lines changed

7 files changed

+76
-30
lines changed

RELEASE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
## Major Features and Improvements
44

5+
* CUDA 8 support.
56
* cuDNN 5 support.
67
* HDFS Support.
78
* Adds Fused LSTM support via cuDNN 5 in `tensorflow/contrib/cudnn_rnn`.

tensorflow/g3doc/api_docs/cc/ClassEnv.md

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,24 @@ Stores in *result the names of the children of the specified directory. The name
9090

9191
Original contents of *results are dropped.
9292

93+
#### `virtual bool tensorflow::Env::MatchPath(const string &path, const string &pattern)=0` {#virtual_bool_tensorflow_Env_MatchPath}
94+
95+
Returns true if the path matches the given pattern. The wildcards allowed in pattern are described below (GetMatchingPaths).
96+
97+
98+
99+
#### `Status tensorflow::Env::GetMatchingPaths(const string &pattern, std::vector< string > *results)` {#Status_tensorflow_Env_GetMatchingPaths}
100+
101+
Given a pattern, stores in *results the set of paths that matches that pattern. *results is cleared.
102+
103+
pattern must match all of a name, not just a substring. pattern: { term } term: &apos;*&apos;: matches any sequence of non-&apos;/&apos; characters &apos;?&apos;: matches a single non-&apos;/&apos; character &apos;[&apos; [ &apos;^&apos; ] { match-list } &apos;]&apos;: matches any single character (not) on the list c: matches character c (c != &apos;*&apos;, &apos;?&apos;, &apos;\&apos;, &apos;[&apos;) &apos;\&apos; c: matches character c character-range: c: matches character c (c != &apos;\&apos;, &apos;-&apos;, &apos;]&apos;) &apos;\&apos; c: matches character c lo &apos;-&apos; hi: matches character c for lo <= c <= hi
104+
105+
Typical return codes
106+
107+
OK - no errors
108+
109+
UNIMPLEMENTED - Some underlying functions (like GetChildren) are not implemented The default implementation uses a combination of GetChildren, MatchPath and IsDirectory.
110+
93111
#### `Status tensorflow::Env::DeleteFile(const string &fname)` {#Status_tensorflow_Env_DeleteFile}
94112

95113
Deletes the named file.
@@ -110,11 +128,27 @@ PERMISSION_DENIED - dirname or some descendant is not writable
110128

111129
UNIMPLEMENTED - Some underlying functions (like Delete) are not implemented
112130

131+
#### `Status tensorflow::Env::RecursivelyCreateDir(const string &dirname)` {#Status_tensorflow_Env_RecursivelyCreateDir}
132+
133+
Creates the specified directory and all the necessary subdirectories. Typical return codes.
134+
135+
136+
137+
OK - successfully created the directory and sub directories, even if they were already created.
138+
139+
PERMISSION_DENIED - dirname or some subdirectory is not writable.
140+
113141
#### `Status tensorflow::Env::CreateDir(const string &dirname)` {#Status_tensorflow_Env_CreateDir}
114142

115-
Creates the specified directory.
143+
Creates the specified directory. Typical return codes.
144+
145+
146+
147+
OK - successfully created the directory.
116148

149+
ALREADY_EXISTS - directory already exists.
117150

151+
PERMISSION_DENIED - dirname is not writable.
118152

119153
#### `Status tensorflow::Env::DeleteDir(const string &dirname)` {#Status_tensorflow_Env_DeleteDir}
120154

tensorflow/g3doc/api_docs/cc/ClassEnvWrapper.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ Returns the file system schemes registered for this Env .
4242

4343

4444

45+
#### `bool tensorflow::EnvWrapper::MatchPath(const string &path, const string &pattern) override` {#bool_tensorflow_EnvWrapper_MatchPath}
46+
47+
Returns true if the path matches the given pattern. The wildcards allowed in pattern are described below (GetMatchingPaths).
48+
49+
50+
4551
#### `uint64 tensorflow::EnvWrapper::NowMicros() override` {#uint64_tensorflow_EnvWrapper_NowMicros}
4652

4753
Returns the number of micro-seconds since some fixed point in time. Only useful for computing deltas of time.

tensorflow/g3doc/api_docs/cc/ClassTensor.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,6 @@ Convenience accessor for the tensor shape.
100100

101101

102102

103-
#### `size_t tensorflow::Tensor::BufferHash() const` {#size_t_tensorflow_Tensor_BufferHash}
104-
105-
106-
107-
108-
109103
#### `bool tensorflow::Tensor::IsInitialized() const` {#bool_tensorflow_Tensor_IsInitialized}
110104

111105
If necessary, has this Tensor been initialized?
@@ -379,7 +373,7 @@ NOTE: The underlying tensor buffer is refcounted, so the lifetime of the content
379373

380374
REQUIRES: `DataTypeCanUseMemcpy(dtype())`.
381375

382-
#### `void tensorflow::Tensor::UnsafeCopyFromInternal(const Tensor &, const TensorShape &)` {#void_tensorflow_Tensor_UnsafeCopyFromInternal}
376+
#### `void tensorflow::Tensor::UnsafeCopyFromInternal(const Tensor &, DataType dtype, const TensorShape &)` {#void_tensorflow_Tensor_UnsafeCopyFromInternal}
383377

384378

385379

tensorflow/g3doc/api_docs/python/functions_and_classes/shard5/tf.train.Saver.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ protocol buffer file in the call to `save()`.
7272

7373
- - -
7474

75-
#### `tf.train.Saver.__init__(var_list=None, reshape=False, sharded=False, max_to_keep=5, keep_checkpoint_every_n_hours=10000.0, name=None, restore_sequentially=False, saver_def=None, builder=None, defer_build=False, allow_empty=False)` {#Saver.__init__}
75+
#### `tf.train.Saver.__init__(var_list=None, reshape=False, sharded=False, max_to_keep=5, keep_checkpoint_every_n_hours=10000.0, name=None, restore_sequentially=False, saver_def=None, builder=None, defer_build=False, allow_empty=False, write_version=1)` {#Saver.__init__}
7676

7777
Creates a `Saver`.
7878

@@ -140,6 +140,11 @@ checkpoints per device.
140140
* <b>`allow_empty`</b>: If `False` (default) raise an error if there are no
141141
variables in the graph. Otherwise, construct the saver anyway and make
142142
it a no-op.
143+
* <b>`write_version`</b>: controls what format to use when saving checkpoints. It
144+
also affects certain filepath matching logic. Defaults to V1
145+
currently, and will be switched to the more memory-efficient V2 format
146+
in the future. If set to V2, the Saver is still able to restore from
147+
old V1 checkpoints.
143148

144149
##### Raises:
145150

tensorflow/g3doc/api_docs/python/state_ops.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,7 @@ protocol buffer file in the call to `save()`.
15221522

15231523
- - -
15241524

1525-
#### `tf.train.Saver.__init__(var_list=None, reshape=False, sharded=False, max_to_keep=5, keep_checkpoint_every_n_hours=10000.0, name=None, restore_sequentially=False, saver_def=None, builder=None, defer_build=False, allow_empty=False)` {#Saver.__init__}
1525+
#### `tf.train.Saver.__init__(var_list=None, reshape=False, sharded=False, max_to_keep=5, keep_checkpoint_every_n_hours=10000.0, name=None, restore_sequentially=False, saver_def=None, builder=None, defer_build=False, allow_empty=False, write_version=1)` {#Saver.__init__}
15261526

15271527
Creates a `Saver`.
15281528

@@ -1590,6 +1590,11 @@ checkpoints per device.
15901590
* <b>`allow_empty`</b>: If `False` (default) raise an error if there are no
15911591
variables in the graph. Otherwise, construct the saver anyway and make
15921592
it a no-op.
1593+
* <b>`write_version`</b>: controls what format to use when saving checkpoints. It
1594+
also affects certain filepath matching logic. Defaults to V1
1595+
currently, and will be switched to the more memory-efficient V2 format
1596+
in the future. If set to V2, the Saver is still able to restore from
1597+
old V1 checkpoints.
15931598

15941599
##### Raises:
15951600

tensorflow/g3doc/get_started/os_setup.md

Lines changed: 21 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ github source.
77

88
The TensorFlow Python API supports Python 2.7 and Python 3.3+.
99

10-
The GPU version works best with Cuda Toolkit 7.5 and
10+
The GPU version works best with Cuda Toolkit 8.0 and
1111
cuDNN v5. Other versions are supported (Cuda toolkit >= 7.0 and
1212
cuDNN >= v3) only when installing from sources.
1313
Please see [Cuda installation](#optional-install-cuda-gpus-on-linux) for
@@ -66,7 +66,7 @@ Then, select the correct binary to install:
6666
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
6767

6868
# 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.
7070
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
7171

7272
# Mac OS X, CPU only, Python 2.7:
@@ -79,14 +79,14 @@ $ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/gpu/tensorf
7979
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
8080

8181
# 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.
8383
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
8484

8585
# Ubuntu/Linux 64-bit, CPU only, Python 3.5
8686
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
8787

8888
# 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.
9090
$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
9191

9292
# 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
162162
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
163163

164164
# 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.
166166
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
167167

168168
# 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
175175
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
176176

177177
# 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.
179179
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
180180

181181
# Ubuntu/Linux 64-bit, CPU only, Python 3.5
182182
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
183183

184184
# 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.
186186
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
187187

188188
# Mac OS X, CPU only, Python 3.4 or 3.5:
@@ -301,7 +301,7 @@ select the correct binary to install:
301301
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
302302

303303
# 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.
305305
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp27-none-linux_x86_64.whl
306306

307307
# Mac OS X, CPU only, Python 2.7:
@@ -314,14 +314,14 @@ select the correct binary to install:
314314
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
315315

316316
# 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.
318318
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp34-cp34m-linux_x86_64.whl
319319

320320
# Ubuntu/Linux 64-bit, CPU only, Python 3.5
321321
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
322322

323323
# 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.
325325
(tensorflow)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.11.0rc1-cp35-cp35m-linux_x86_64.whl
326326

327327
# Mac OS X, CPU only, Python 3.4 or 3.5:
@@ -454,7 +454,7 @@ the Docker container.
454454
### (Optional, Linux) Enable GPU Support
455455

456456
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
458458
installation](#optional-install-cuda-gpus-on-linux).
459459

460460
You also need to set the `LD_LIBRARY_PATH` and `CUDA_HOME` environment
@@ -594,7 +594,7 @@ https://developer.nvidia.com/cuda-gpus
594594

595595
https://developer.nvidia.com/cuda-downloads
596596

597-
Install version 7.5 if using our binary releases.
597+
Install version 8.0 if using our binary releases.
598598

599599
Install the toolkit into e.g. `/usr/local/cuda`
600600

@@ -609,7 +609,7 @@ toolkit is installed in `/usr/local/cuda`, run the following commands (edited
609609
to reflect the cuDNN version you downloaded):
610610

611611
``` 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
613613
sudo cp cuda/include/cudnn.h /usr/local/cuda/include
614614
sudo cp cuda/lib64/libcudnn* /usr/local/cuda/lib64
615615
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
686686
libraries to your local CUDA Toolkit folder:
687687

688688
```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/
692692
```
693693

694694
To verify the CUDA installation, you can build and run deviceQuery to make sure
@@ -702,8 +702,9 @@ $ popd
702702
$ ~/cuda-samples/bin/x86_64/darwin/release/deviceQuery
703703
```
704704

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
707708
7.2 and select it as your default:
708709

709710
```bash
@@ -734,8 +735,8 @@ No Google Cloud Platform support will be enabled for TensorFlow
734735
Do you wish to build TensorFlow with GPU support? [y/N] y
735736
GPU support will be enabled for TensorFlow
736737
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]:
739740
Please specify the cuDNN version you want to use. [Leave empty to use system default]: 5
740741
Please specify the location where cuDNN 5 library is installed. Refer to README.md for more details. [Default is /usr/local/cuda]:
741742
Please specify a list of comma-separated Cuda compute capabilities you want to build with.

0 commit comments

Comments
 (0)