提交 45ec57e9 编写于 作者: T tangwei

add stop worker

上级 3045ed26
......@@ -104,6 +104,7 @@ class CtrPaddleTrainer(Trainer):
def server(self, context):
fleet.run_server()
fleet.stop_worker()
context['is_exit'] = True
def train(self, context):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册