未验证 提交 4c5f5d60 编写于 作者: R ronnywang 提交者: GitHub

[CustomDevice] use interpreter_core (#46336)

上级 9cc3b28d
...@@ -1555,8 +1555,7 @@ class Executor(object): ...@@ -1555,8 +1555,7 @@ class Executor(object):
program = pruned_program program = pruned_program
def _can_use_interpreter_core(program, place): def _can_use_interpreter_core(program, place):
if core.is_compiled_with_mlu() or isinstance( if core.is_compiled_with_mlu():
place, core.CustomPlace):
return False return False
use_standalone_executor_for_distribution = os.environ.get( use_standalone_executor_for_distribution = os.environ.get(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册