Skip to content

Commit

Permalink
Fix cluster definition of chief worker
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Nov 16, 2017
1 parent 4e7d6dd commit 5a4d715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def main():
if args.chief_host:
os.environ["TF_CONFIG"] = json.dumps({
"cluster": {
"chief": args.chief_host,
"chief": [args.chief_host],
"worker": args.worker_hosts.split(","),
"ps": args.ps_hosts.split(",")
},
Expand Down

0 comments on commit 5a4d715

Please sign in to comment.