Skip to content

manager: gracefully handle errors from configure+checkpoint #182

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

Merged
merged 1 commit into from
May 1, 2025

Conversation

d4l3k
Copy link
Member

@d4l3k d4l3k commented May 1, 2025

This makes errors during configure and checkpoint transfer be bubbled up via report_error/errored so we can instead retry rather than crashing.

Test plan:

pytest torchft/manager_test.py
  • e2e tests

@d4l3k d4l3k requested a review from H-Huang May 1, 2025 00:18
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 1, 2025
@d4l3k d4l3k force-pushed the d4l3k/recover_errors branch from 5cb28a3 to 5039b56 Compare May 1, 2025 00:45
Copy link
Member

@H-Huang H-Huang left a comment

Choose a reason for hiding this comment

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

LGTM

@d4l3k d4l3k merged commit 9e4bc3c into main May 1, 2025
8 checks passed
@d4l3k d4l3k deleted the d4l3k/recover_errors branch May 1, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants