From dbd5309b553a94656448595c9e09d2005dce855d Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Thu, 20 Jul 2023 23:30:04 +0800 Subject: [PATCH] Fix warning message for device. (#9402) --- src/common/error_msg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/error_msg.cc b/src/common/error_msg.cc index 593c7d6de..062549794 100644 --- a/src/common/error_msg.cc +++ b/src/common/error_msg.cc @@ -20,7 +20,7 @@ void WarnDeprecatedGPUHist() { "The tree method `gpu_hist` is deprecated since 2.0.0. To use GPU training, set the `device` " R"(parameter to CUDA instead. - E.g. tree_method = "hist", device = "CUDA" + E.g. tree_method = "hist", device = "cuda" )"; LOG(WARNING) << msg; }