From 31ad711625ea2afdc984e2dfc841f9bfd408da01 Mon Sep 17 00:00:00 2001 From: qijun Date: Tue, 5 Dec 2017 11:46:38 +0800 Subject: [PATCH] fix bug in gpu default memory allocating policy --- paddle/platform/gpu_info.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/platform/gpu_info.cc b/paddle/platform/gpu_info.cc index 63a33517086ec..4fa2eaed31c6e 100644 --- a/paddle/platform/gpu_info.cc +++ b/paddle/platform/gpu_info.cc @@ -18,8 +18,8 @@ limitations under the License. */ #include "paddle/platform/enforce.h" -DEFINE_double(fraction_of_gpu_memory_to_use, 0.95, - "Default use 95% of GPU memory for PaddlePaddle," +DEFINE_double(fraction_of_gpu_memory_to_use, 0.92, + "Default use 92% of GPU memory for PaddlePaddle," "reserve the rest for page tables, etc"); namespace paddle {