Skip to content

Fixed reloading of sharded master weights #9224

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 21, 2025
Merged

Conversation

avizon-aws
Copy link
Collaborator

When reloading from checkpoint, the order of the params might change and hence the indexing as well. We should not be hardcoding the indexing, it should be taken as per the loaded state dict.

@avizon-aws
Copy link
Collaborator Author

Failing test is not due to this CR, seems to be flaky test

@avizon-aws avizon-aws merged commit c0f1e62 into master May 21, 2025
54 of 56 checks passed
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