Description
Just throwing this up here for now, need to investigate more.
I'm working on a distributed cudf join using UCX. Things progress fine until, in the Client process, we attempt to deserialize some data (I think the final result?). We end up calling calling loads
with deserialize=True
:
distributed/distributed/protocol/core.py
Line 101 in fb30c33
which calls merge_frames
:
distributed/distributed/protocol/utils.py
Line 80 in fb30c33
which attempt to convert the data to a byte string.
At this point in the client process, frames
is a list of objects representing device memory. If possible (and I think it's possible), I'd like to avoid copying to the host here.
Actually, this may only be possible if the Client happens to have a GPU as well. In this case that's true, but not in general.
TODO:
- figure out exactly where the client is calling this
- ...