-
Notifications
You must be signed in to change notification settings - Fork 96
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
Replace cuDF (de)serializer with cuDF spill-aware (de)serializer #1369
Replace cuDF (de)serializer with cuDF spill-aware (de)serializer #1369
Conversation
@ayushdg @trivialfis @dantegd @quasiben people who are using cuDF spill for whatever reason should test this, the change has potential to avoid double Dask+cuDF spilling of cuDF objects and therefore may improve performance. There's also a chance that this might introduce issues that are hard to predict, so please feel free to give it a try and report any issues and/or performance results, we plan to merge it in |
cc @rjzamora as well |
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.
Looks good @pentschev, I only have one suggestion
if not cudf.get_option("spill"): | ||
from cudf.comm import serialize | ||
|
||
|
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.
It would be good with a comment here saying why this it needed and include a link to #1363
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.
Done via 29751de
Thanks for review and approval @madsbk ! |
/merge |
Replace cuDF (de)serializer with cuDF spill-aware (de)serializer, using both together should be avoided as that will cause excessive spilling.
Additionally add:
LocalCUDACluster
;dask cuda worker
warning to alert the user that cuDF spilling mechanism requires client/scheduler to enable it as well.Closes #1363 .