Skip to content

Commit 2b06b4b

Browse files
committed
updates follow up para exe
1 parent 8ee8372 commit 2b06b4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

paddle/fluid/framework/details/send_op_handle.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ void SendOpHandle::RunImpl() {
3535
in->generated_op_->Wait(dev_ctxes_[p]);
3636
}
3737
auto &tmp_scope = local_scope_->FindVar(kLocalExecScopeName)->Get<Scope *>();
38-
// auto &lod_tensor = tmp_scope->FindVar(var_name)->Get<LoDTensor>();
39-
this->RunAndRecordEvent([&] { op_->Run(*tmp_scope, place_); });
38+
// FIXME(wuyi): can not use RunAndRecordEvent here, for it will cause dead
39+
// lock.
40+
op_->Run(*tmp_scope, place_);
4041
}
4142

4243
std::string SendOpHandle::Name() const { return "send"; }

0 commit comments

Comments
 (0)