diff --git a/paddle/fluid/framework/ir/graph_to_program_pass_test.cc b/paddle/fluid/framework/ir/graph_to_program_pass_test.cc index 9aa2ea7664254e9bfc455bb962c41f425aeff8ba..88ad17a0c65137d62484ec340f48e1a76ff893fe 100644 --- a/paddle/fluid/framework/ir/graph_to_program_pass_test.cc +++ b/paddle/fluid/framework/ir/graph_to_program_pass_test.cc @@ -86,8 +86,6 @@ TEST(GraphToProgramPass, Basic) { pass->SetNotOwned("program", &compiled_prog); pass->Apply(std::move(g)); std::vector ops = compiled_prog.Block(0).AllOps(); - compiled_prog.Flush(); - LOG(ERROR) << compiled_prog.Proto()->DebugString(); EXPECT_EQ(ops[0]->Type(), "op1"); EXPECT_EQ(ops[1]->Type(), "op2"); if (ops[2]->Type() == "op3") {