diff --git a/paddle/fluid/operators/distributed/parameter_send.cc b/paddle/fluid/operators/distributed/parameter_send.cc index 38b64c3fcd1aaf6d6baecb0e2e08f379351d0c20..efe094fd1fdf673f2c90844a5e7526489165cd7c 100644 --- a/paddle/fluid/operators/distributed/parameter_send.cc +++ b/paddle/fluid/operators/distributed/parameter_send.cc @@ -48,7 +48,6 @@ void ParameterSend::operator()(const std::string &var_name, platform::DeviceContextPool &pool = platform::DeviceContextPool::Instance(); auto &cpu_ctx = *pool.Get(platform::CPUPlace()); - auto &actual_ctx = *pool.Get(ctx.GetPlace()); distributed::RPCClient *rpc_client = distributed::RPCClient::GetInstance(