From 9718791c7674ed9fe6d012638d5c3cfe8535894f Mon Sep 17 00:00:00 2001 From: pangyoki Date: Wed, 14 Sep 2022 20:21:32 +0800 Subject: [PATCH] new executor support compiled_program._graph (#46025) --- python/paddle/fluid/executor.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/python/paddle/fluid/executor.py b/python/paddle/fluid/executor.py index 3b21262cc4b..9a839acde04 100755 --- a/python/paddle/fluid/executor.py +++ b/python/paddle/fluid/executor.py @@ -1570,12 +1570,6 @@ class Executor(object): compiled_program = program if isinstance( program, compiler.CompiledProgram) else program._graph - # delete this code after supporting compiled_program._graph - if compiled_program._program is None: - warnings.warn("Standalone executor is not used for Graph", - UserWarning) - return use_standalone_executor_for_distribution - # delete this code after supporting distribution if compiled_program._build_strategy is not None and ( compiled_program._build_strategy.is_distribution -- GitLab