Conversation
Member
|
Thanks Mads! 😀 So I thought frames would be flattened by this point. Do you know why that is no longer the case? Where does this come up? |
Contributor
Author
The explicit-comms tests in Dask-CUDA triggers the bug. I think it is because of empty NumPy arrays: len(a = np.empty((2,0)) == 2 |
Member
|
I believe the failure here |
rapids-bot bot
pushed a commit
to rapidsai/dask-cuda
that referenced
this pull request
Mar 24, 2021
Fixes #549 by converting received tuples to lists. Depend on dask/distributed#4621, which fixes an unrelated bug also triggered by our explicit-comms tests. Authors: - Mads R. B. Kristensen (@madsbk) Approvers: - Peter Andreas Entschev (@pentschev) URL: #555
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.
Use
nbytes()to check for empty buffer objects sincenbytes() != len().This fixes the first part of rapidsai/dask-cuda#549 where the send and recv got out of sync because they didn't agree on which empty frames to skip.
black distributed/flake8 distributedcc. @jakirkham