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

Allow hybrid sharding to have multiple replicas in a node #582

Merged
merged 2 commits into from
May 17, 2024

Conversation

2015aroras
Copy link
Collaborator

This PR changes our hybrid sharding to allow multiple replicas in a node. One benefit of this is that we can use hybrid sharding to do no sharding by having the number of replicas equal with the world size. Then we don't need to use DDP or NO_SHARD (which is getting deprecated).

@2015aroras 2015aroras requested a review from epwalsh May 17, 2024 21:00
Copy link
Member

@epwalsh epwalsh left a comment

Choose a reason for hiding this comment

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

LGTM

@2015aroras 2015aroras merged commit e6430a0 into main May 17, 2024
10 of 11 checks passed
@2015aroras 2015aroras deleted the shanea/hybrid-shard-as-no-shard branch May 17, 2024 22:48
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.

2 participants