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

[dask] Prevent the training from hang due to aborted worker. #10985

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

trivialfis
Copy link
Member

Set allow_other_workers=True in client.submit. See code comments for the rationale.

"This is likely caused by one of the workers died and Dask "
"re-scheduled a different one. Resilience is not yet supported."
)
return [func(*args, **kwargs)]
Copy link
Contributor

Choose a reason for hiding this comment

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

Will the functions that run on existing workers wait indefinitely for the dead worker to appear, or will they start failing at some point?

Copy link
Member Author

@trivialfis trivialfis Nov 7, 2024

Choose a reason for hiding this comment

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

They will fail as they poll their peers. Also, the poll itself has a timeout.

@trivialfis trivialfis merged commit 362f236 into dmlc:master Nov 7, 2024
32 checks passed
@trivialfis trivialfis deleted the dask-prevent-hang branch November 7, 2024 20:33
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.

3 participants