From 7ae03ec08b1d2699fa6520bedd7b20dd4fc02f54 Mon Sep 17 00:00:00 2001 From: Yancey Date: Mon, 21 May 2018 10:33:03 +0800 Subject: [PATCH] fix lack split_byref op in parallel executor (#10770) --- paddle/fluid/framework/details/multi_devices_graph_builder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/framework/details/multi_devices_graph_builder.cc b/paddle/fluid/framework/details/multi_devices_graph_builder.cc index 45bad5814..6b0c0a6b9 100644 --- a/paddle/fluid/framework/details/multi_devices_graph_builder.cc +++ b/paddle/fluid/framework/details/multi_devices_graph_builder.cc @@ -98,7 +98,7 @@ bool MultiDevSSAGraphBuilder::IsDistTrainOp(const OpDesc &op, return false; }; - if (op.Type() == "split") { + if (op.Type() == "split" || op.Type() == "split_byref") { return checker(op.OutputArgumentNames(), send_op->InputArgumentNames()); } else if (op.Type() == "concat") { return checker(op.InputArgumentNames(), send_op->OutputArgumentNames()); -- GitLab