diff --git a/paddle/fluid/framework/details/parallel_ssa_graph_executor.cc b/paddle/fluid/framework/details/parallel_ssa_graph_executor.cc index 2cafa1873ad690260528aaff0c8f6684384d31b0..c36618016be6ff7ad493a99524049c42c2ea2c40 100644 --- a/paddle/fluid/framework/details/parallel_ssa_graph_executor.cc +++ b/paddle/fluid/framework/details/parallel_ssa_graph_executor.cc @@ -86,7 +86,8 @@ ParallelSSAGraphExecutor::ParallelSSAGraphExecutor( pool_(places.size() >= 2 ? new ::ThreadPool(places.size()) : nullptr), places_(std::move(places)), main_prog_(main_prog), - // TODO(Yancey1989): copy graphs is not safely since it deleted the attrs. + // TODO(Yancey1989): Copying graphs is not safely since it deleted the + // attrs. graphs_(SeparateMultiDevicesGraph(std::move(graph))) { PADDLE_ENFORCE_EQ(places_.size(), local_scopes_.size());