From 96a5f96cc192e0bca3a8ce6fa0c3a3511e56ea7a Mon Sep 17 00:00:00 2001 From: QI JUN Date: Tue, 5 Dec 2017 12:37:39 +0800 Subject: [PATCH] fix bug in gpu default memory allocating policy (#6268) --- 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 63a33517086..4fa2eaed31c 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 { -- GitLab