Skip to content

Commit 82d741c

Browse files
committed
fix op name typo
1 parent 6d69ae0 commit 82d741c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/fluid/framework/details/multi_devices_graph_builder.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,10 +230,10 @@ std::unique_ptr<SSAGraph> MultiDevSSAGraphBuilder::Build(
230230
}
231231
CreateDistTrainOp(&result, *op, rpc_op_device_id);
232232
}
233-
if (op->Type() == "oncat") {
233+
if (op->Type() == "concat") {
234234
auto got = remote_vars_devices_.find(op->InputArgumentNames()[0]);
235-
PADDLE_ENFORCE_NE(got != remote_vars_devices_.end(),
236-
"can not find right place to concat received var.");
235+
PADDLE_ENFORCE(got != remote_vars_devices_.end(),
236+
"can not find right place to concat received var.");
237237
CreateDistTrainOp(&result, *op, got->second);
238238
} else {
239239
CreateDistTrainOp(&result, *op, 0);

0 commit comments

Comments
 (0)