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

Speculator wt init fix #38

Merged
merged 5 commits into from
Sep 9, 2024

Conversation

sahilsuneja1
Copy link
Contributor

Fixes weird weight initialization issue which was causing high loss values during speculator training. Probably arises from a strange interaction between FSDP and nn.init.trunc_normal_()

Signed-off-by: sahil suneja <sahilsuneja@gmail.com>
@sahilsuneja1 sahilsuneja1 changed the title wt init fix Speculator wt init fix Aug 23, 2024
Signed-off-by: sahil suneja <sahilsuneja@gmail.com>
@sahilsuneja1
Copy link
Contributor Author

@JRosenkranz

Copy link
Collaborator

@JRosenkranz JRosenkranz left a comment

Choose a reason for hiding this comment

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

lgtm

@JRosenkranz
Copy link
Collaborator

#40 (unrelated mypy issue affecting this PR)

Signed-off-by: sahil suneja <sahilsuneja@gmail.com>
Signed-off-by: sahil suneja <sahilsuneja@gmail.com>
Signed-off-by: sahil suneja <sahilsuneja@gmail.com>
@sahilsuneja1 sahilsuneja1 mentioned this pull request Sep 9, 2024
@JRosenkranz JRosenkranz merged commit 16339f7 into foundation-model-stack:main Sep 9, 2024
4 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