From c79befa0ec56e0cd1f7ec5d3ee68b7009db4e828 Mon Sep 17 00:00:00 2001 From: kangguangli Date: Wed, 11 Jan 2023 14:54:19 +0800 Subject: [PATCH] fix: standaloneExecutor return empty array while setting FLAGS_use_cinn=true (#49698) --- paddle/fluid/operators/cinn/cinn_launch_op.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/cinn/cinn_launch_op.h b/paddle/fluid/operators/cinn/cinn_launch_op.h index dc740e215d6..71cfcada404 100644 --- a/paddle/fluid/operators/cinn/cinn_launch_op.h +++ b/paddle/fluid/operators/cinn/cinn_launch_op.h @@ -142,7 +142,7 @@ class CinnLaunchOpKernel : public framework::OpKernel { VLOG(4) << "Execute the runtime program by InterpreterCore"; auto* interpreter_core = launch_context->InitializeInterpreterCore( place, const_cast(&scope)); - interpreter_core->Run({}); + interpreter_core->Run({}, false); } else { platform::RecordEvent record_event_4( "Step 4. Execute the runtime graph by PE."); -- GitLab