From b3470e1b1cbd19b28276cd940b424ed81e2249df Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Thu, 20 Jul 2023 09:04:26 +0800 Subject: [PATCH] Fix warning message for device. Use lower case instead. --- 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 593c7d6ded1e..06254979469b 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; }