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

Use sync_module_states: True when using HSDP #830

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

abhi-mosaic
Copy link
Member

If a user is training from scratch with one of the HSDP hybrid sharding strategies, they must use sync_module_states: True otherwise the different data replicas will start with different randomly initialized weights.

@abhi-mosaic abhi-mosaic self-assigned this Jan 2, 2024
Copy link
Collaborator

@mvpatel2000 mvpatel2000 left a comment

Choose a reason for hiding this comment

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

Great catch :)

@abhi-mosaic abhi-mosaic merged commit 29b41ba into main Jan 2, 2024
10 checks passed
@dakinggg dakinggg deleted the hsdp_sync_module_states branch March 14, 2024 18:58
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.

None yet

3 participants