-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Introduce GDN to Mamba #3535
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
Introduce GDN to Mamba #3535
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
acc49e7
Introduce GDN to Mamba
Phlip79 2fb3d8d
Fix linting
Phlip79 a2cfc0e
Fix import order
Phlip79 4057f9c
Merge branch 'main' of https://github.com/NVIDIA/Megatron-LM into phi…
Phlip79 6b9a8f7
Fix GDN layer building to use new layer_number and pp_layer_offset API
Phlip79 699d6ca
Remove pp_layer_offset
Phlip79 9676905
Moved GDN symbol
Phlip79 2735952
Cleanup a few things
Phlip79 7487e4f
Update various files for GDN
Phlip79 28fb4e9
Removed is_mtp_layer and add_layer_offset flags from GDN layer
Phlip79 bb3d3ca
Change ordering of layers for Mamba
Phlip79 ba1f00d
Another re-ordering
Phlip79 44f34b0
Merge branch 'main' of https://github.com/NVIDIA/Megatron-LM into phi…
Phlip79 3912e10
Fix linting errors
Phlip79 e037c2e
Merge branch 'main' of https://github.com/NVIDIA/Megatron-LM into phi…
Phlip79 0fba364
Merge branch 'main' of https://github.com/NVIDIA/Megatron-LM into phi…
Phlip79 7909fb1
Raise error if GDN is used during inference
Phlip79 0f6cddd
Explicitly set add_layer_offset to False
Phlip79 3486735
Remove dead code
Phlip79 848bcd2
Merge branch 'main' of https://github.com/NVIDIA/Megatron-LM into phi…
Phlip79 a48b54f
Merge branch 'main' of https://github.com/NVIDIA/Megatron-LM into phi…
Phlip79 133ce82
Merge branch 'main' of https://github.com/NVIDIA/Megatron-LM into phi…
Phlip79 bd9317e
Remove GDN from inference as it's not supported
Phlip79 5a5e206
Merge branch 'main' into philip/mamba-gdn
Phlip79 cb665a7
Merge branch 'main' into philip/mamba-gdn
Phlip79 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.