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

Block fusion for barrier tasks #8944

Merged
merged 2 commits into from
Nov 20, 2024
Merged

Block fusion for barrier tasks #8944

merged 2 commits into from
Nov 20, 2024

Conversation

phofl
Copy link
Collaborator

@phofl phofl commented Nov 20, 2024

Closes #xxxx

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

@@ -584,6 +584,7 @@ def p2p_barrier(id: ShuffleId, *run_ids: int) -> int:

class P2PBarrierTask(Task):
spec: ShuffleSpec
block_fusion: bool
Copy link
Member

Choose a reason for hiding this comment

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

This would require hasattr in the fusion code, wouldn't it? I like the idea with the property on the baseclass better

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, I defined it over in dask/dask on every class (but that's ugly in a different way)...

Copy link
Contributor

github-actions bot commented Nov 20, 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 18m 5s ⏱️ + 5m 28s
 4 130 tests ±0   3 973 ✅  - 1    110 💤 ±0   47 ❌ +1 
47 692 runs  ±0  45 129 ✅  - 1  2 122 💤 +1  441 ❌ ±0 

For more details on these failures, see this check.

Results for commit 0f2f156. ± Comparison against base commit 750cb91.

♻️ This comment has been updated with latest results.

@phofl
Copy link
Collaborator Author

phofl commented Nov 20, 2024

Yeah agree with the property, migrated both PRs

@jrbourbeau jrbourbeau mentioned this pull request Nov 20, 2024
@fjetter fjetter merged commit 0d905d5 into dask:main Nov 20, 2024
6 of 31 checks passed
@phofl phofl deleted the barrier-task branch November 20, 2024 17:50
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