-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
[Model] Support Mamba2 (Codestral Mamba) #9292
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
Changes from 19 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
c956a30
Mamba2 changes from #10909
tlrmchlsmth 17923ad
Get Mamba2 working!
tlrmchlsmth 4183d45
Add integration test -- something is wrong!!
tlrmchlsmth 5377644
format
tlrmchlsmth 39f55d1
fixes
tlrmchlsmth e2e5aac
Fix for conv state shape and update placeholder_attn
tlrmchlsmth bc1b8af
back out placeholder_attn changes
tlrmchlsmth cd89283
WIP debugging, restore local mamba and placeholder_attn changes
tlrmchlsmth 9a838a3
Integration tests are now green
tlrmchlsmth be8318e
remove bamba-specific files
tlrmchlsmth f34d434
Merge branch 'main' into tms/mamba2
tlrmchlsmth a65e2cb
Handle grouping in Mixer2RMSNormGated
tlrmchlsmth 0d4bb0f
debug cruft
tlrmchlsmth 74f6088
Remove codestral integration test
tlrmchlsmth b28cdfc
Merge branch 'main' into tms/mamba2
tlrmchlsmth bcc93e6
spdx
tlrmchlsmth 2e5f7be
Fix invalid memory accesses in chunk_scan_fwd
tlrmchlsmth 8ab4a90
Merge branch 'main' into tms/mamba2
tlrmchlsmth 0f2cc22
Clean up max batch size logic
tlrmchlsmth a062d0d
Merge branch 'main' into tms/mamba2
tlrmchlsmth 9cfd012
Add mamba to test-pipeline to see if it passes
tlrmchlsmth 201696b
fix registery, determine max_batch_size in MambaCache
tlrmchlsmth fa27469
update registry
tlrmchlsmth d6ef554
Merge branch 'main' into tms/mamba2
tlrmchlsmth c5d2658
rm debug cruft
tlrmchlsmth 3457501
Merge branch 'main' into tms/mamba2
tlrmchlsmth 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
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
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.