We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdf31dc commit 592ed40Copy full SHA for 592ed40
paddle/fluid/memory/allocation/auto_growth_best_fit_allocator.cc
@@ -31,7 +31,7 @@ PADDLE_DEFINE_EXPORTED_READONLY_bool(
31
32
PADDLE_DEFINE_EXPORTED_READONLY_bool(
33
free_when_no_cache_hit,
34
- false,
+ true,
35
"Whether to free idle chunks when no cache hit. If true, idle "
36
"chunk would be freed when no cache hit; if false, idle "
37
"chunk would be freed when out of memory occurs. This flag "
0 commit comments