Skip to content
Permalink
Browse files

Only check PS channels when not under allreduce strategy (#1868)

* Only check PS channels when not under allreduce strategy

Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>

* trigger

* Address comments

Signed-off-by: terrytangyuan <terrytangyuan@gmail.com>
  • Loading branch information
terrytangyuan committed Mar 25, 2020
1 parent c4bb37e commit 4a016311b149ff05d555a2d18e63609998549548
Showing with 2 additions and 0 deletions.
  1. +2 −0 elasticdl/python/common/args.py
@@ -694,6 +694,8 @@ def parse_worker_args(worker_args=None):
print_args(args, groups=ALL_ARGS_GROUPS)
if unknown_args:
logger.warning("Unknown arguments: %s", unknown_args)
if args.distribution_strategy == DistributionStrategy.ALLREDUCE:
args.ps_addrs = ""
return args


0 comments on commit 4a01631

Please sign in to comment.
You can’t perform that action at this time.