diff --git a/paddle/fluid/memory/allocation/cuda_allocator.cc b/paddle/fluid/memory/allocation/cuda_allocator.cc index 48cc1c5bda7dacbd30527d5d2e95f84ed57280e7..4ea182cb722cebdc6acb068494267dd029b45a5e 100644 --- a/paddle/fluid/memory/allocation/cuda_allocator.cc +++ b/paddle/fluid/memory/allocation/cuda_allocator.cc @@ -75,7 +75,7 @@ phi::Allocation* CUDAAllocator::AllocateImpl(size_t size) { managed_memory_msg = string::Sprintf( "If the above ways do not solve the out of memory problem, you can try " "to use CUDA managed memory. The command is `export " - "FLAGS_use_cuda_managed_memory=false`."); + "FLAGS_use_cuda_managed_memory=true`."); } PADDLE_THROW_BAD_ALLOC(platform::errors::ResourceExhausted(