-
-
Notifications
You must be signed in to change notification settings - Fork 717
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
Make decide_worker
and rootish
logic private
#8457
base: main
Are you sure you want to change the base?
Conversation
.. autosummary:: Scheduler.decide_worker_non_rootish | ||
.. autosummary:: Scheduler._decide_worker_non_rootish | ||
|
||
.. autosummary:: Scheduler.decide_worker_rootish_queuing_disabled | ||
.. autosummary:: Scheduler._decide_worker_rootish_queuing_disabled | ||
|
||
.. autosummary:: Scheduler.decide_worker_rootish_queuing_enabled | ||
.. autosummary:: Scheduler._decide_worker_rootish_queuing_enabled | ||
|
||
.. autosummary:: Scheduler.worker_objective |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should nuke this entire document. definitely the reference to the methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't care either way. If the interested user wants to read through those implementation details, sure, have at it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...though I do see the challenge of keeping this up-to-date (which I'm not sure it currently is, and frankly, I'm also not going to read it in full and compare it to the status quo today)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make this a follow-up issue in case someone else has strong opinions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unit Test ResultsSee test report for an extended history of previous test failures. This is useful for diagnosing flaky tests. 29 files ±0 29 suites ±0 11h 37m 55s ⏱️ + 5m 27s For more details on these failures, see this check. Results for commit cc90683. ± Comparison against base commit 97dbdaa. ♻️ This comment has been updated with latest results. |
I'm a bit late to the party but have only just noticed this change. I'm working on a project where we override the Given rootish has been made private, is there a public API that we can use to achieve the same behaviour as before? I see that TaskState has an attribute |
This is still the case, tasks with worker restrictions are currently never considered
The fact that you encounter deadlocks is alarming to me. If you can create a reproducer, I'd be interested in taking a look at that. While idle times may be expected depending on the workload and setup, deadlocks should not.
@barney54321: There is currently no API that I would consider public that allows you to override the scheduling behavior or That being said, you could continue to override these APIs at your own risk. Historically, Dask has done a poor job at signaling which APIs are public vs. private. With this PR, we do not actively make a previously public API private. Instead, we make it explicit that these APIs have been considered private all along. |
Baby-steps toward #8190
pre-commit run --all-files