From d87d8b026cc493a4c84fcac4ad11b32e23be3fed Mon Sep 17 00:00:00 2001 From: Sonder <55493212+AndSonder@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:23:38 +0800 Subject: [PATCH] Open FLAGS_new_executor_static_build in auto_parallel (#56016) * open * update --- python/paddle/distributed/auto_parallel/static/engine.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/distributed/auto_parallel/static/engine.py b/python/paddle/distributed/auto_parallel/static/engine.py index 84670977cd72a..853ff7d0aedbf 100644 --- a/python/paddle/distributed/auto_parallel/static/engine.py +++ b/python/paddle/distributed/auto_parallel/static/engine.py @@ -243,6 +243,7 @@ def __init__( self.history = None paddle.framework.set_flags({'FLAGS_new_executor_sequential_run': 1}) + paddle.framework.set_flags({'FLAGS_new_executor_static_build': 1}) def _prepare_data_spec(self, data, split, batch_size): inputs_spec = []