diff --git a/paddle/fluid/operators/distributed/rpc_server.cc b/paddle/fluid/operators/distributed/rpc_server.cc index 42dc7bd10b613147ee62016bfb97990b3681e311..83b14fa64d735d80f43bf55c798cddb2f3ea7032 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(); }