From 2a54c359f0bf6175d3f3564f0623e7a43891bc8f Mon Sep 17 00:00:00 2001 From: Zeng Jinle <32832641+sneaxiy@users.noreply.github.com> Date: Mon, 2 Dec 2019 16:38:06 +0800 Subject: [PATCH] add fraction of cpu memory to use, test=develop (#21453) --- python/paddle/fluid/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/paddle/fluid/__init__.py b/python/paddle/fluid/__init__.py index 11d9a755437..4fae1d9a2a5 100644 --- a/python/paddle/fluid/__init__.py +++ b/python/paddle/fluid/__init__.py @@ -161,8 +161,9 @@ def __bootstrap__(): sysstr = platform.system() read_env_flags = [ 'check_nan_inf', 'fast_check_nan_inf', 'benchmark', - 'eager_delete_scope', 'initial_cpu_memory_in_mb', 'init_allocated_mem', - 'paddle_num_threads', 'dist_threadpool_size', 'eager_delete_tensor_gb', + 'eager_delete_scope', 'fraction_of_cpu_memory_to_use', + 'initial_cpu_memory_in_mb', 'init_allocated_mem', 'paddle_num_threads', + 'dist_threadpool_size', 'eager_delete_tensor_gb', 'fast_eager_deletion_mode', 'memory_fraction_of_eager_deletion', 'allocator_strategy', 'reader_queue_speed_test_mode', 'print_sub_graph_dir', 'pe_profile_fname', 'inner_op_parallelism', -- GitLab