-
-
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
Support column split in GPU predictor #9343
Conversation
src/predictor/gpu_predictor.cu
Outdated
if (old_decision_size < size) { | ||
decision_storage->resize(size); | ||
} | ||
if (old_decision_size != 0) { |
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.
Why do you use old_decision_size
instead of size
?
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.
Could you please share some insight on this?
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.
@trivialfis Can this be merged? Thanks! |
The approach is similar to the CPU predictor: first collect all the decisions at each node and whether the feature is missing locally, then do an allreduce on the bit vectors, and finally use the bit vectors to find the leaf.
Still need to do more testing in a followup.