未验证 提交 221e1376 编写于 作者: R Ruibiao Chen 提交者: GitHub

Skip not return_merged cases for standalone executor (#44810)

上级 3491d183
......@@ -1431,7 +1431,7 @@ class Executor(object):
# NOTE: This is an experimental feature. If `export FLAGS_USE_STANDALONE_EXECUTOR=1 `,
# use StandaloneExecutor to run the program.
if self._enable_interpreter_core and _can_use_interpreter_core(
if return_merged and self._enable_interpreter_core and _can_use_interpreter_core(
program, self.place):
inner_program = program._program if isinstance(
program, compiler.CompiledProgram) else program
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册