未验证 提交 c79befa0 编写于 作者: K kangguangli 提交者: GitHub

fix: standaloneExecutor return empty array while setting FLAGS_use_cinn=true (#49698)

上级 0f08a432
......@@ -142,7 +142,7 @@ class CinnLaunchOpKernel : public framework::OpKernel<T> {
VLOG(4) << "Execute the runtime program by InterpreterCore";
auto* interpreter_core = launch_context->InitializeInterpreterCore(
place, const_cast<framework::Scope*>(&scope));
interpreter_core->Run({});
interpreter_core->Run({}, false);
} else {
platform::RecordEvent record_event_4(
"Step 4. Execute the runtime graph by PE.");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册