-
Couldn't load subscription status.
- Fork 13.4k
model : add grok-2 support #15539
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
model : add grok-2 support #15539
Changes from 29 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
551a64f
add grok-2 support
CISC 301ba77
type fix
CISC cf87c76
type fix
CISC f582b84
type fix
CISC 711ab17
"fix" vocab for invalid sequences
CISC 8edece8
fix expert tensor mapping and spaces in vocab
CISC 3ef6cf5
add chat template
CISC 25e4e5f
fix norm tensor mapping
CISC 4a53f13
rename layer_out_norm to ffn_post_norm
CISC e0a0024
ensure ffn_post_norm is mapped
CISC d7efed8
fix experts merging
CISC 92266e9
remove erroneous FFN_GATE entry
CISC 6b3f775
concatenate split tensors and add more metadata
CISC c556663
process all expert layers and try cat instead of hstack
CISC 9f86876
add support for community BPE vocab
CISC 5d4e407
fix expert feed forward length and ffn_down concat
CISC 3e83c64
commit this too
CISC b1627ce
add ffn_up/gate/down, unsure if sequence is right
CISC 00481af
add ffn_gate/down/up to tensor names
CISC 2e8b67b
correct residual moe (still not working)
CISC 94bcbbf
mess--
CISC b7675ea
fix embedding scale being applied twice
CISC 6cf16aa
add built in chat template
CISC 4abde12
change beta fast for grok if default value
CISC 705f84a
remove spm vocab in favor of community bpe vocab
CISC a8fa83f
change attention temp length metadata type to integer
CISC 05b52fa
update attention temp length metadata
CISC b7bfc9a
remove comment
CISC c0d755c
Merge branch 'master' into cisc/grok-2
CISC 0408a4f
replace M_SQRT2 with std::sqrt(2)
CISC ed4d8f2
Merge branch 'master' into cisc/grok-2
CISC d032a1b
add yarn metadata, move defaults to hparams
CISC 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
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.
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.