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

Type annotations for Worker and gen_cluster #5438

Merged
merged 6 commits into from Oct 19, 2021

Conversation

crusaderky
Copy link
Collaborator

No description provided.

@@ -733,6 +849,8 @@ def __init__(
dict(startup_information) if startup_information else {}
)

if low_level_profiler is None:
low_level_profiler = dask.config.get("distributed.worker.profile.low-level")
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Read config at init time instead of module load time

@@ -794,14 +912,14 @@ def __init__(
pc = PeriodicCallback(self.find_missing, 1000)
self.periodic_callbacks["find-missing"] = pc

self._suspicious_count_limit = 10
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Unused

@crusaderky crusaderky marked this pull request as ready for review October 19, 2021 08:25
@crusaderky
Copy link
Collaborator Author

All failures are unrelated. Ready for review.

@fjetter fjetter merged commit 1585f85 into dask:main Oct 19, 2021
@crusaderky crusaderky deleted the worker_annotations branch October 19, 2021 11:41
pentschev added a commit to pentschev/dask-cuda that referenced this pull request Oct 20, 2021
Changes from dask/distributed#5438 have slightly
modified the behavior for worker spilling options, thus we need to
update memory_pause_fraction to a value that isn't `None`.
rapids-bot bot pushed a commit to rapidsai/dask-cuda that referenced this pull request Oct 20, 2021
Changes from dask/distributed#5438 have slightly
modified the behavior for worker spilling options, thus we need to
update memory_pause_fraction to a value that isn't `None`.

Authors:
  - Peter Andreas Entschev (https://github.com/pentschev)

Approvers:
  - Benjamin Zaitlen (https://github.com/quasiben)

URL: #757
@pentschev pentschev mentioned this pull request Oct 22, 2021
3 tasks
zanieb pushed a commit to zanieb/distributed that referenced this pull request Oct 28, 2021
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.

None yet

2 participants