diff --git a/paddle/fluid/pybind/pybind.cc b/paddle/fluid/pybind/pybind.cc index e02d5cee3dc512c76c0d57dcf2e70e4a75836aa1..c294c8eb4a7c9f09a2be04fbcae23c4d3483f819 100644 --- a/paddle/fluid/pybind/pybind.cc +++ b/paddle/fluid/pybind/pybind.cc @@ -2217,12 +2217,12 @@ All parameter, weight, gradient are variables in Paddle. #ifdef PADDLE_WITH_CUSTOM_DEVICE device_types = phi::DeviceManager::GetAllDeviceTypes(); #else - LOG(WARNING) << string::Sprintf( + VLOG(1) << string::Sprintf( "Cannot use get_all_device_type because you have installed" "CPU/GPU version PaddlePaddle.\n" "If you want to use get_all_device_type, please try to install" "CustomDevice version " - "PaddlePaddle by: pip install paddlepaddle-core\n"); + "PaddlePaddle by: pip install paddlepaddle\n"); #endif return device_types; }); @@ -2231,12 +2231,12 @@ All parameter, weight, gradient are variables in Paddle. #ifdef PADDLE_WITH_CUSTOM_DEVICE device_types = phi::DeviceManager::GetAllCustomDeviceTypes(); #else - LOG(WARNING) << string::Sprintf( + VLOG(1) << string::Sprintf( "Cannot use get_all_custom_device_type because you have installed" "CPU/GPU version PaddlePaddle.\n" "If you want to use get_all_custom_device_type, please try to " "install CustomDevice version " - "PaddlePaddle by: pip install paddlepaddle-core\n"); + "PaddlePaddle by: pip install paddlepaddle\n"); #endif return device_types; }); @@ -2245,12 +2245,12 @@ All parameter, weight, gradient are variables in Paddle. #ifdef PADDLE_WITH_CUSTOM_DEVICE devices = phi::DeviceManager::GetAllDeviceList(); #else - LOG(WARNING) << string::Sprintf( + VLOG(1) << string::Sprintf( "Cannot use get_available_device because you have installed" "CPU/GPU version PaddlePaddle.\n" "If you want to use get_available_device, please try to install" "CustomDevice version " - "PaddlePaddle by: pip install paddlepaddle-core\n"); + "PaddlePaddle by: pip install paddlepaddle\n"); #endif return devices; }); @@ -2259,14 +2259,14 @@ All parameter, weight, gradient are variables in Paddle. #ifdef PADDLE_WITH_CUSTOM_DEVICE devices = phi::DeviceManager::GetAllCustomDeviceList(); #else - LOG(WARNING) << string::Sprintf( + VLOG(1) << string::Sprintf( "Cannot use get_available_custom_device because you have " "installed" "CPU/GPU version PaddlePaddle.\n" "If you want to use get_available_custom_device, please try to " "install" "CustomDevice version " - "PaddlePaddle by: pip install paddlepaddle-core\n"); + "PaddlePaddle by: pip install paddlepaddle\n"); #endif return devices; }); @@ -2340,7 +2340,7 @@ All parameter, weight, gradient are variables in Paddle. "version PaddlePaddle.\n" "If you want to use CustomDevice, please try to install" "CustomDevice version " - "PaddlePaddle by: pip install paddlepaddle-core\n" + "PaddlePaddle by: pip install paddlepaddle\n" "If you only have CPU, please change " "CustomPlace(%s, %d) to be CPUPlace().\n", device_type, dev_id);