-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify the hist tree method for different devices. #9363
Conversation
auto msg = | ||
"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" | ||
|
||
)"; | ||
LOG(WARNING) << msg; | ||
logged = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the device
parameter exist already? Then why do the C++ tests use gpu_id
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not yet, it's in this PR: #9362 . It's difficult to split up the changes without referencing each other.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Let me approve this PR for now.
gpu_hist
.