Skip to content

Commit

Permalink
Fix warning message for device. (#9402)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis authored Jul 20, 2023
1 parent f7f673b commit dbd5309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/error_msg.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit dbd5309

Please sign in to comment.