turn on executon frame clenaup by default (#160110)

Summary: Turning execution frame cleanup back on since D78621408 is done

Test Plan:
See D78621408

Rollback Plan:

Differential Revision: D79730674

Pull Request resolved: https://github.com/pytorch/pytorch/pull/160110
Approved by: https://github.com/jingsh
This commit is contained in:
Georgia Phillips
2025-08-08 02:13:48 +00:00
committed by PyTorch MergeBot
parent d68c323692
commit ba4ccf5d67

View File

@ -11,7 +11,7 @@ struct ExecutorConfig {
bool debugNan = false;
bool enableStaticCPUKernels = true;
bool runConstFolding = false;
bool doExecutionFrameCleanup = false;
bool doExecutionFrameCleanup = true;
bool tryFreeUnmanagedValuesAfterUse = true;
// allows up to max number of concurrent threads.
int64_t maxNumConcurrentThreads = 8;