Fix warning message for device. (#9402)

This commit is contained in:
Jiaming Yuan 2023-07-20 23:30:04 +08:00 committed by GitHub
parent f7f673b00c
commit dbd5309b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}