Skip to content

Commit

Permalink
Open FLAGS_new_executor_static_build in auto_parallel (#56016)
Browse files Browse the repository at this point in the history
* open

* update
  • Loading branch information
AndSonder authored Aug 8, 2023
1 parent f9c2f4c commit d87d8b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/paddle/distributed/auto_parallel/static/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit d87d8b0

Please sign in to comment.