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

lighthouse, manager: remove room support #70

Merged
merged 1 commit into from
Jan 13, 2025
Merged

lighthouse, manager: remove room support #70

merged 1 commit into from
Jan 13, 2025

Conversation

d4l3k
Copy link
Member

@d4l3k d4l3k commented Jan 13, 2025

This removes previously added room support in #48

This didn't work out in practice as expected and will be instead replaced with "shrink only" quorum support which is a bit easier to reason about and doesn't require absurdly long timeouts.

Test plan:

pytest
cargo test

@d4l3k d4l3k requested review from H-Huang and Jackmin801 January 13, 2025 21:51
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 13, 2025
@d4l3k d4l3k requested a review from c-p-i-o January 13, 2025 21:53
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.

This didn't work out in practice as expected

Just curious, how come the quorom room did not work? Was it too slow?

@d4l3k
Copy link
Member Author

d4l3k commented Jan 13, 2025

@H-Huang in practice this ended up being too fragile and could end up with two rooms flip-flopping and thus split brain training. Since for LocalSGD the step times can be 40 minutes, in order to prevent that behavior you either need the join timeout extremely long or you need to set min_replicas to always be >=50% of the replicas which isn't feasible in all cases

@d4l3k d4l3k merged commit 97ad397 into main Jan 13, 2025
6 checks passed
@d4l3k d4l3k deleted the d4l3k/remove_room branch January 13, 2025 22:17
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