diff --git a/paddle/fluid/framework/fleet/ps_gpu_wrapper.h b/paddle/fluid/framework/fleet/ps_gpu_wrapper.h index c904e3557af2700de8f14f72f1d23ca792164453..aa01c5f769ae252ff04ef7e2526c473d6604403a 100644 --- a/paddle/fluid/framework/fleet/ps_gpu_wrapper.h +++ b/paddle/fluid/framework/fleet/ps_gpu_wrapper.h @@ -108,8 +108,6 @@ class PSGPUWrapper { running_ = false; VLOG(3) << "begin stop pre_build_threads_"; pre_build_threads_.join(); - VLOG(3) << "begin stop build_threads_"; - build_threads_.join(); s_instance_ = nullptr; VLOG(3) << "PSGPUWrapper Finalize Finished."; } @@ -362,7 +360,6 @@ class PSGPUWrapper { paddle::framework::MakeChannel>(); std::shared_ptr current_task_ = nullptr; std::thread pre_build_threads_; - std::thread build_threads_; bool running_ = false; protected: