-
-
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 categorical data for dask functional interface and DQM. #7043
Conversation
I think there is stalled cache in mgpu worker. |
@trivialfis I just cleared the cache. |
* Implement categorical data support for GPU GK-merge. * Add support for dask functional interface. * Add support for DQM.
}; | ||
struct SketchUnique { | ||
XGBOOST_DEVICE bool operator()(SketchEntry const& a, SketchEntry const& b) const { | ||
return a.value - b.value == 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.
What is this comparator doing?
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.
See if they are equal.
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 not a.value == b.value
?
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.
If memory is correct, I think that is not guaranteed to work: https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html
Depends on #7042 .