nGPT on the Hypersphere: Making Normalized Transformers Work at 16MB (Research)#1108
Open
DbBested wants to merge 2 commits intoopenai:mainfrom
Open
nGPT on the Hypersphere: Making Normalized Transformers Work at 16MB (Research)#1108DbBested wants to merge 2 commits intoopenai:mainfrom
DbBested wants to merge 2 commits intoopenai:mainfrom
Conversation
…t 16MB Research contribution (not a record submission): full nGPT investigation under Parameter Golf constraints with novel findings including a torch.compile precision fix, post-dequant renormalization, and systematic ablation across 15+ configurations. Best result: 1.1502 BPB (sliding window, 8xH200 SXM, 560s training)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Research contribution (not a record submission). I wanted to see if nGPT could be made competitive under Parameter Golf constraints after PR #831 dismissed it. Turns out it can — and the investigation turned up some findings that might be useful to others.
val_bpb: 1.1502 (sliding window, 8xH200, 560s)
Findings
autograd.Functionviaallow_in_graph. Generalizes beyond nGPT. (Large numeric divergence for torch compile vs eager in bf16 pytorch/pytorch#168126)Hardware
MIT ORCD cluster, 8xH200 SXM, CUDA 12.4, PyTorch 2.6. 560s wallclock.
Full writeup with code, tables, and ablations in the README.