From 260cfe3b865d48a09ff903bb1f7816d1d055da73 Mon Sep 17 00:00:00 2001 From: Yu Yang Date: Tue, 20 Mar 2018 13:08:46 +0800 Subject: [PATCH] Stop Wait NCCL Stream --- paddle/fluid/framework/parallel_executor.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/paddle/fluid/framework/parallel_executor.cc b/paddle/fluid/framework/parallel_executor.cc index 07dfddfa305..d0c4d8dd8b3 100644 --- a/paddle/fluid/framework/parallel_executor.cc +++ b/paddle/fluid/framework/parallel_executor.cc @@ -211,9 +211,6 @@ struct FetchOpHandle : public OpHandle { for (auto *input_var : inputs_) { input_var->pending_ops_.erase(this); } - for (auto &pair : dev_ctx_) { - pair.second->Wait(); - } // Lazily merge tensors. Will faster code. MergeTensors(); -- GitLab