Skip to content

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

Merged
trivialfis merged 3 commits into
dmlc:masterfrom
trivialfis:dask-prevent-hang
Nov 7, 2024
Merged

trivialfis merged 3 commits into
dmlc:masterfrom
trivialfis:dask-prevent-hang

Conversation

@trivialfis

Copy link
Copy Markdown
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
Copy Markdown
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?

@trivialfis trivialfis Nov 7, 2024 •

Copy link
Copy Markdown
Member Author

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.

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