Skip to content

Commit 4d13434

Browse files
committed
fix a little problem test=develop
1 parent 9c3910f commit 4d13434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/fluid/operators/distributed/request_handler_impl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ bool RequestSendHandler::Handle(const std::string& varname,
5454
// Async
5555
if (!sync_mode_) {
5656
VLOG(3) << "async process var: " << varname;
57-
if (varname == BATCH_BARRIER_MESSAGE || varname == COMPLETE_MESSAGE) {
57+
if (varname == BATCH_BARRIER_MESSAGE) {
5858
PADDLE_THROW(
5959
"async mode should not recv BATCH_BARRIER_MESSAGE or "
6060
"COMPLETE_MESSAGE");

0 commit comments

Comments
 (0)