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

Reduce P2P transfer task overhead #8912

Merged
merged 9 commits into from
Oct 30, 2024

Conversation

hendrikmakait
Copy link
Member

Closes #xxxx

  • Tests added / passed
  • Passes pre-commit run --all-files

Copy link
Contributor

github-actions bot commented Oct 25, 2024

Unit Test Results

See test report for an extended history of previous test failures. This is useful for diagnosing flaky tests.

    25 files  ±0      25 suites  ±0   10h 16m 34s ⏱️ + 2m 50s
 4 128 tests ±0   4 013 ✅  -  1    110 💤 ± 0  5 ❌ +1 
47 668 runs  ±0  45 549 ✅  - 24  2 113 💤 +25  6 ❌  - 1 

For more details on these failures, see this check.

Results for commit 9dba740. ± Comparison against base commit 2953090.

♻️ This comment has been updated with latest results.

Comment on lines 620 to 627
def __getstate__(self):
state = super().__getstate__()
state["spec"] = self.spec
return state

def __setstate__(self, state):
super().__setstate__(state)
self.spec = state["spec"]
Copy link
Member

Choose a reason for hiding this comment

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

I'm OK with this solution. Just to be clear, though, when we talked the other day I was hoping to be able to implement a more robust version of this in the base class that doens't require the child classes to overwrite. If that's not easily possible, that's fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

Noted, but I'd like to isolate changes in the base class from this PR. I'm already juggling two repos here and would like to avoid adding a third into the mix.

@hendrikmakait hendrikmakait marked this pull request as ready for review October 30, 2024 15:12
Copy link
Member

@fjetter fjetter left a comment

Choose a reason for hiding this comment

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

We should follow up with a refactoring of the base class. this is a bit messy right now

This reverts commit c0d6c63.
@hendrikmakait hendrikmakait merged commit f340f18 into dask:main Oct 30, 2024
7 of 29 checks passed
@hendrikmakait hendrikmakait deleted the reduce-p2p-transfer-overhead branch October 30, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants