Skip to content

Commit ed0f1ae

Browse files
authored
cherry-pick (#16760), test=release/1.4 (#16775)
1 parent 4914da1 commit ed0f1ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

paddle/fluid/framework/details/build_strategy.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ struct BuildStrategy {
8383

8484
bool sync_batch_norm_{false};
8585

86-
bool memory_optimize_{true};
87-
// TODO(dzhwinter):
88-
// make enable_inplace, memory_optimize_
89-
// memory_early_delete_ true by default
90-
bool enable_inplace_{true};
86+
// FIXME(liuwei1031) disable memory_optimzie and enable_inplace in 1.4
87+
// to open them by default, we need to solve the fetch variable issue
88+
bool memory_optimize_{false};
89+
90+
bool enable_inplace_{false};
9191

9292
bool enable_sequential_execution_{false};
9393

0 commit comments

Comments
 (0)