question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GPU-friendly loads / merge_frames

See original GitHub issue

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: https://github.com/dask/distributed/blob/fb30c33562862f30864456766424b44a3e91aa5b/distributed/protocol/core.py#L101

which calls merge_frames: https://github.com/dask/distributed/blob/fb30c33562862f30864456766424b44a3e91aa5b/distributed/protocol/utils.py#L80

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:

  1. figure out exactly where the client is calling this

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
TomAugspurgercommented, Apr 28, 2020

I think we’ll close this and reopen if we come across it with the current implementations.

0reactions
jakirkhamcommented, Apr 28, 2020

To the spirit of the issue, we do have cuda_dumps and cuda_loads. Thus far merge_frames doesn’t behave how we would expect ( https://github.com/dask/distributed/issues/3580 ) so we mostly avoid it. Though PR ( https://github.com/dask/distributed/pull/3732 ) has merge and split frame style functions. So maybe that solves that piece of this issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Can I combine many different video cards or graphic ... - Quora
You cannot take different graphics cards and combine them to “run more games” because that's not how graphics cards nor games work.
Read more >
EVGA to Stop Making Graphics Cards After Ethereum Merge ...
EVGA to Stop Making Graphics Cards After Ethereum Merge Citing Nvidia 'Mistreatment'. The move comes as graphics card add-in board manufacturers ...
Read more >
Exclusive Multi-GPU DX12 Frame Pacing Interview ... - KitGuru
Frame pacing has long been an issue for enthusiasts wanting smooth gameplay from ... GPU pairings where two same-sized GPUs share the load....
Read more >
Applying Inference over Specific Frame Regions with NVIDIA ...
No retraining is required to apply the model to the high-resolution input. Smaller models are also considered edge-deployment-friendly. In this ...
Read more >
GPU Performance for Game Artists
If you're an artist and want to understand the GPU and why things. ... the geometry is typically loaded into the game engine...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found