-
-
Notifications
You must be signed in to change notification settings - Fork 719
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
[DNM] Queue by default #7191
[DNM] Queue by default #7191
Conversation
@fjetter @crusaderky @hendrikmakait I realize that the implementation of the adaptive target is very simplistic for queued tasks: distributed/distributed/scheduler.py Lines 7730 to 7731 in 0983731
distributed/distributed/deploy/tests/test_adaptive.py Lines 300 to 325 in 0983731
People using adaptive clusters might see rather different behavior when the default changes, particularly if they're setting default task durations manually, or relying significantly on learned task durations. |
hopefully will be able to remove this in the future.
d7a028b
to
23135da
Compare
Note that there are a number of tests failing here that weren't failing before in the Most of these have to do with the fact that small TaskGroups aren't considered 'root-ish', so they don't follow the queuing code path. As it happens, I think most of those tests have already been fixed in #7221. |
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 16 files + 1 16 suites +1 6h 49m 37s ⏱️ + 20m 48s For more details on these failures and errors, see this check. Results for commit 23135da. ± Comparison against base commit 02b9430. |
|
I would like us to fix #7197 w/out changing the root-ish definition for now |
Sure. We could also do that with a small fix to bring the round-robin code path in line with how we select workers elsewhere: #7197 (comment). That way, regardless of the root-ish decision, we use equivalent criteria for picking workers. Edit: see #7280. |
#7279 instead |
Enables queuing by default (with
worker-saturation: 1.1
). See #7128 for some background.Closes #7213.
pre-commit run --all-files