From d0771cf912143e486edc94f6779c09bfba1537e6 Mon Sep 17 00:00:00 2001 From: Yancey1989 Date: Wed, 18 Jul 2018 16:54:41 +0800 Subject: [PATCH] update --- paddle/fluid/operators/distributed/rpc_server.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/paddle/fluid/operators/distributed/rpc_server.cc b/paddle/fluid/operators/distributed/rpc_server.cc index 42dc7bd10..83b14fa64 100644 --- a/paddle/fluid/operators/distributed/rpc_server.cc +++ b/paddle/fluid/operators/distributed/rpc_server.cc @@ -72,10 +72,6 @@ void RPCServer::Complete() { if (cur_cond_.load() == rpc_cond_map_[kRequestGet]) { barrier_counter_[kRequestGet]--; } - if (client_num_ == 0) { - exit_flag_ = true; - VLOG(1) << "No activate Trainer instance, PServer will exit..."; - } } barrier_cond_.notify_all(); } -- GitLab