Skip to content

Commit

Permalink
set free_when_no_cache_hit default value to true (PaddlePaddle#48815)
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghuancoder authored Dec 8, 2022
1 parent 4ee9e1f commit 09ec758
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PADDLE_DEFINE_EXPORTED_READONLY_bool(

PADDLE_DEFINE_EXPORTED_READONLY_bool(
free_when_no_cache_hit,
false,
true,
"Whether to free idle chunks when no cache hit. If true, idle "
"chunk would be freed when no cache hit; if false, idle "
"chunk would be freed when out of memory occurs. This flag "
Expand Down

0 comments on commit 09ec758

Please sign in to comment.