Fix warning message for device. (#9402)
This commit is contained in:
parent
f7f673b00c
commit
dbd5309b55
@ -20,7 +20,7 @@ void WarnDeprecatedGPUHist() {
|
|||||||
"The tree method `gpu_hist` is deprecated since 2.0.0. To use GPU training, set the `device` "
|
"The tree method `gpu_hist` is deprecated since 2.0.0. To use GPU training, set the `device` "
|
||||||
R"(parameter to CUDA instead.
|
R"(parameter to CUDA instead.
|
||||||
|
|
||||||
E.g. tree_method = "hist", device = "CUDA"
|
E.g. tree_method = "hist", device = "cuda"
|
||||||
)";
|
)";
|
||||||
LOG(WARNING) << msg;
|
LOG(WARNING) << msg;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user