[POC][DNM] Experimental to/from_worker_storage API#1299
Draft
rjzamora wants to merge 66 commits intorapidsai:branch-24.02from
Draft
[POC][DNM] Experimental to/from_worker_storage API#1299rjzamora wants to merge 66 commits intorapidsai:branch-24.02from
to/from_worker_storage API#1299rjzamora wants to merge 66 commits intorapidsai:branch-24.02from
Conversation
[RELEASE] dask-cuda v0.10
* Add ucx-py dependency to CI
[RELEASE] dask-cuda v0.11
[RELEASE] dask-cuda v0.12
[RELEASE] dask-cuda v0.13
[RELEASE] dask-cuda v0.14
[REVIEW] Backport TLS files missing fix
[RELEASE] dask-cuda v0.16
[RELEASE] dask-cuda v0.17
[RELEASE] dask-cuda v0.18
[RELEASE] v0.19 dask-cuda
[RELEASE] dask-cuda v21.06
REL Fix `21.06` Release Changelog
[RELEASE] dask-cuda v21.08
[RELEASE] dask-cuda v22.08
[RELEASE] dask-cuda v23.02
[RELEASE] dask-cuda v23.02.01
[RELEASE] dask-cuda v23.04
REL Update changelog v23.04
[RELEASE] dask-cuda v23.06
[RELEASE] dask-cuda v23.08
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I ran into a few road blocks while exploring "p2p" shuffling with RAPIDS, and ultimately decided it was worthwhile to explore a dedicated API for persisting/loading a DataFrame collection to/from distributed local storage.
Note on Shuffling
In addition to adding a new
to_worker_storage/from_worker_storageAPI, this PR also adds an explicit-comms mechanism to shuffle a DataFrame collection directly to distributed/local disk. Thisshuffle_to_parquetfunction shuffles and writes the data to storage in rounds, so that you can process significantly larger-than-memory data. The performance of this new function is not good compared to in-memory shuffling, but it is certainly much faster than "p2p".This API can not be embedded within a lazy
dask.dataframequery like the "tasks" or "p2p" shuffle can. However, this API can be used to explicitly compose workflows that are known to require large shuffle operations (e.g. NeMo Data Curator). E.g.TODO: