disable memory_optimize and inpalce strategy by default, test=develop (#16760)

revert-16650-refine_parallel_executor_3
liuwei1031 6 years ago committed by GitHub
parent 674aed6a6c
commit 2e07c19a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -83,11 +83,11 @@ struct BuildStrategy {
bool sync_batch_norm_{false};
bool memory_optimize_{true};
// TODO(dzhwinter):
// make enable_inplace, memory_optimize_
// memory_early_delete_ true by default
bool enable_inplace_{true};
// FIXME(liuwei1031) disable memory_optimzie and enable_inplace in 1.4
// to open them by default, we need to solve the fetch variable issue
bool memory_optimize_{false};
bool enable_inplace_{false};
bool enable_sequential_execution_{false};

Loading…
Cancel
Save