Skip to content
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

Remove the assumption made on the client data's keys #3835

Conversation

jnke2016
Copy link
Contributor

@jnke2016 jnke2016 commented Aug 29, 2023

When calling client.has_what() which returns the data's key that are held in each worker’s memory, those keys used to be returned as string but a recent change in dask changed the type to tuples
 
From {worker_ip_address: ("('from-delayed-190587f1b2318dc54d5f92a79e59b71a', 0)", "('from-delayed-190587f1b2318dc54d5f92a79e59b71a', 1)")} to{worker_ip_address: (('from-delayed-c3d92b2cc9948634e82a0b2b62453a6c', 0), ('from-delayed-c3d92b2cc9948634e82a0b2b62453a6c', 1))}
 
When mapping workers to persisted data in the function get_persisted_df_worker_map, an assumption about the type of those keys was made thereby breaking our MG tests.

This PR removes that assumption.
Closes #3834

@jnke2016 jnke2016 requested a review from a team as a code owner August 29, 2023 19:01
@copy-pr-bot
Copy link

copy-pr-bot bot commented Aug 29, 2023

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@alexbarghi-nv
Copy link
Member

/ok to test

@rlratzel rlratzel added bug Something isn't working non-breaking Non-breaking change labels Aug 30, 2023
@jnke2016
Copy link
Contributor Author

/ok to test

@alexbarghi-nv
Copy link
Member

/ok to test

Copy link
Member

@alexbarghi-nv alexbarghi-nv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed my bug. Approved 👍

@alexbarghi-nv
Copy link
Member

/merge

@alexbarghi-nv
Copy link
Member

/merge

@alexbarghi-nv
Copy link
Member

/ok to test

@alexbarghi-nv
Copy link
Member

/merge

@rapids-bot rapids-bot bot merged commit 4ee227c into rapidsai:branch-23.10 Sep 7, 2023
57 checks passed
rlratzel pushed a commit to rlratzel/cugraph that referenced this pull request Sep 8, 2023
When calling `client.has_what(`) which returns the data's key that are held in each worker’s memory, those keys used to be returned as string but a recent change in `dask` changed the type to tuples
 
From `{worker_ip_address: ("('from-delayed-190587f1b2318dc54d5f92a79e59b71a', 0)", "('from-delayed-190587f1b2318dc54d5f92a79e59b71a', 1)")}` to`{worker_ip_address: (('from-delayed-c3d92b2cc9948634e82a0b2b62453a6c', 0), ('from-delayed-c3d92b2cc9948634e82a0b2b62453a6c', 1))}`
 
When mapping workers to persisted data in the function `get_persisted_df_worker_map`, an assumption about the type of those keys was made thereby breaking our MG tests.

This PR removes that assumption.
Closes rapidsai#3834

Authors:
  - Joseph Nke (https://github.com/jnke2016)
  - Alex Barghi (https://github.com/alexbarghi-nv)

Approvers:
  - Alex Barghi (https://github.com/alexbarghi-nv)

URL: rapidsai#3835
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG]: Python MG tests failing
3 participants