提交 1555c443 编写于 作者: T tangwei

rename upper to lowe

上级 5d4361d9
...@@ -84,12 +84,11 @@ def start_procs(args, yaml): ...@@ -84,12 +84,11 @@ def start_procs(args, yaml):
if len(log_fns) > 0: if len(log_fns) > 0:
log_fns[i].close() log_fns[i].close()
print("all workers exit, going to finish parameter server", file=sys.stderr)
for i in range(server_num): for i in range(server_num):
if len(log_fns) > 0: if len(log_fns) > 0:
log_fns[i].close() log_fns[i].close()
procs[i].terminate() procs[i].terminate()
print("all parameter server are killed", file=sys.stderr) print("all workers and parameter servers already completed", file=sys.stderr)
class Launch: class Launch:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册