diff --git a/python/paddle/fluid/executor.py b/python/paddle/fluid/executor.py index 58baf0928d900824c2266222eb3734a6c82fdedd..677ce18162093c2bca325447970f4c9273eadeef 100755 --- a/python/paddle/fluid/executor.py +++ b/python/paddle/fluid/executor.py @@ -1555,8 +1555,7 @@ class Executor(object): program = pruned_program def _can_use_interpreter_core(program, place): - if core.is_compiled_with_mlu() or isinstance( - place, core.CustomPlace): + if core.is_compiled_with_mlu(): return False use_standalone_executor_for_distribution = os.environ.get(