Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Commit

Permalink
Fix T2T open-source distributed training
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 161612824
  • Loading branch information
Ryan Sepassi committed Jul 12, 2017
1 parent 9efa4e2 commit 64defb7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@

setup(
name='tensor2tensor',
version='1.0.12',
version='1.0.13',
description='Tensor2Tensor',
author='Google Inc.',
author_email='[email protected]',
url='http://github.com/tensorflow/tensor2tensor',
license='Apache 2.0',
packages=find_packages(),
scripts=['tensor2tensor/bin/t2t-trainer', 'tensor2tensor/bin/t2t-datagen'],
scripts=[
'tensor2tensor/bin/t2t-trainer',
'tensor2tensor/bin/t2t-datagen',
'tensor2tensor/bin/t2t-make-tf-configs',
],
install_requires=[
'numpy',
'sympy',
Expand Down
2 changes: 1 addition & 1 deletion tensor2tensor/bin/t2t-make-tf-configs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
Usage:
`make_tf_configs.py --workers="server1:1234" --ps="server3:2134,server4:2334"`
`t2t-make-tf-configs --workers="server1:1234" --ps="server3:2134,server4:2334"`
Outputs 1 line per job to stdout, first the workers, then the parameter servers.
Each line has the TF_CONFIG, then a tab, then the command line flags for that
Expand Down
2 changes: 1 addition & 1 deletion tensor2tensor/docs/distributed_training.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Parameter servers only need `--schedule=run_std_server`.

## Utility to produce `TF_CONFIG` and flags

[`bin/make_tf_configs.py`](https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/bin/t2t-make-tf-configs))
[`t2t-make-tf-configs`](https://github.com/tensorflow/tensor2tensor/tree/master/tensor2tensor/bin/t2t-make-tf-configs))
generates the `TF_CONFIG` json strings and the above-mentioned command-line
flags for the workers and parameter servers.

Expand Down

0 comments on commit 64defb7

Please sign in to comment.