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

Implement nGPT #108

Merged
merged 9 commits into from
Nov 20, 2024
Merged

Implement nGPT #108

merged 9 commits into from
Nov 20, 2024

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented Nov 19, 2024

  • Adds a beta implementation of nGPT.
  • Adds the ability to load checkpoints where the model param names are different.
  • Refactors the optimized transformer implementation to wrap the final norm and linear in a submodule called "lm_head". This allows us to compile and FSDP-wrap it separately, if needed.

@epwalsh epwalsh marked this pull request as ready for review November 20, 2024 18:31
@epwalsh epwalsh merged commit ca44cf4 into main Nov 20, 2024
12 of 14 checks passed
@epwalsh epwalsh deleted the epwalsh/ngpt branch November 20, 2024 19:35
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.

1 participant