From 4aa91fd6c32e682a71398af468922235e03e4784 Mon Sep 17 00:00:00 2001 From: zmxdream Date: Tue, 18 Jan 2022 10:31:19 +0800 Subject: [PATCH] [GPUPS]Fix ps_gpu_wrapper (#38993) * update * fix ps_gpu_wrapper. test=develop * fix ps_gpu_wrapper. test=develop --- paddle/fluid/framework/fleet/ps_gpu_wrapper.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddle/fluid/framework/fleet/ps_gpu_wrapper.h b/paddle/fluid/framework/fleet/ps_gpu_wrapper.h index c904e3557a..aa01c5f769 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: -- GitLab