提交 5f0358ad 编写于 作者: H heqiaozhi

async_executor stop add barrier_all & finalize

上级 5a4e2e59
...@@ -237,6 +237,8 @@ class AsyncExecutor(object): ...@@ -237,6 +237,8 @@ class AsyncExecutor(object):
if self.instance.is_first_worker(): if self.instance.is_first_worker():
self.executor.stop_server() self.executor.stop_server()
self.instance.barrier_worker() #sync self.instance.barrier_worker() #sync
self.instance.barrier_all()
self.instance.finalize()
def init_server(self, dist_desc): def init_server(self, dist_desc):
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册