We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d69ae0 commit 82d741cCopy full SHA for 82d741c
paddle/fluid/framework/details/multi_devices_graph_builder.cc
@@ -230,10 +230,10 @@ std::unique_ptr<SSAGraph> MultiDevSSAGraphBuilder::Build(
230
}
231
CreateDistTrainOp(&result, *op, rpc_op_device_id);
232
233
- if (op->Type() == "oncat") {
+ if (op->Type() == "concat") {
234
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.");
+ PADDLE_ENFORCE(got != remote_vars_devices_.end(),
+ "can not find right place to concat received var.");
237
CreateDistTrainOp(&result, *op, got->second);
238
} else {
239
CreateDistTrainOp(&result, *op, 0);
0 commit comments