Repository navigation
Add MTP support for hybrid models #2363
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 38 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
16e4ed6
added mtp support
rkarimimahab 3db9741
addressed comments
rkarimimahab aeecff9
fixed the duplicate
rkarimimahab 9b4e2b5
added repeated mtp layers
rkarimimahab 225c2dc
adds mtp-num-per-layer to fix a bug
rkarimimahab 61eb031
added the assert
rkarimimahab e8304aa
added the assert for vp-stage of MTP layers
rkarimimahab 7398d87
added the LBL fixes
47063da
added some fixes
4896a80
fixed more issues
d5a8dd2
updated
6f5e06a
added mtp support
rkarimimahab 3b057ca
addressed comments
rkarimimahab 7649f6e
fixed the duplicate
rkarimimahab 07d7e6c
added repeated mtp layers
rkarimimahab bd1ac40
adds mtp-num-per-layer to fix a bug
rkarimimahab cbd19f1
added the assert
rkarimimahab d1ba228
added the assert for vp-stage of MTP layers
rkarimimahab 4d0cd4d
added the LBL fixes
305ba71
added some fixes
c60715a
fixed more issues
cb77b0e
updated
d732548
fixed some lintingand small bugs
c66109d
solved merge conflicts
9d07525
fixed linting errors
b61e281
Add layer parsing for MTP
sancha c61f5bd
Shared Layer Builder + MTP Layer Construction
sancha c491705
MambaModel Integration + Finalization
sancha 77ba45d
Consolidate MTP weight tying
sancha 31f512b
consolidate shared_embedding_or_output_weight
sancha cf681fa
rename mtp_hybrid_override_pattern to mtp_layer_pattern
sancha 82fab87
Remove mamba-model's re-preprocessing
sancha 7035cd8
MLPLayer inherits from TransformerLayer
sancha af53f49
gpt model to not support layer patterns
sancha 3611f2a
More thorough backward compatibility warnings for the args
sancha d4f6a72
Merge branch 'main' into rkarimimahab/mtp
sancha d81b58a
Remove addition of cp_group_size to mtp loss
sancha a8a8eae
Refactor arg parsing to arguments.py
sancha 590315f
Handle mtp_standalone case, TELayerNormColumnParallel bug ..
sancha 0520329
Address review comments
sancha 2bfa108
standalone broken because loss not on non-mtp stage
sancha 22de055
Merge remote-tracking branch 'gh/main' into rkarimimahab/mtp
sancha ae7b12a
Switch to using mamba-stack for MTP inner layers
sancha 76c2443
Merge remote-tracking branch 'gh/main' into rkarimimahab/mtp
sancha 6683247
Address review comments
sancha 7bfa95f
Address review comments
sancha c65cbfa
Merge branch 'gh/main' into rkarimimahab/mtp
sancha d0773c5
Merge remote-tracking branch 'gh/main' into rkarimimahab/mtp
sancha d355d67
Merge branch 'main' into rkarimimahab/mtp
deepakn94 ea3c2bd
Fix linting errors
sancha 19a56e5
isort then black
sancha e50409b
Fix pylint errors
sancha 906e513
bigfix: test failures
sancha 4bfc5ec
bugfix: fixing standalone mtp test failures
sancha 9cc1668
bugfix: expected value error strings
sancha 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.