-
Notifications
You must be signed in to change notification settings - Fork 12.4k
feat: support StarCoder model architectures #3187
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 1 commit
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
0c5d4d8
add placeholder of starcoder in gguf / llama.cpp
wsxiaoys eb7f0eb
support convert starcoder weights to gguf
wsxiaoys 76d32cc
convert MQA to MHA
wsxiaoys 7e0a843
fix ffn_down name
wsxiaoys 7298c37
add LLM_ARCH_STARCODER to llama.cpp
wsxiaoys 166a259
set head_count_kv = 1
wsxiaoys 57f064d
load starcoder weight
wsxiaoys a17ef39
add max_position_embeddings
wsxiaoys 2683611
set n_positions to max_positioin_embeddings
wsxiaoys 77c7ec1
properly load all starcoder params
wsxiaoys 0be15e1
fix head count kv
wsxiaoys dac31da
fix comments
wsxiaoys 4420cff
fix vram calculation for starcoder
wsxiaoys ab13d07
store mqa directly
wsxiaoys 8bc76a2
add input embeddings handling
wsxiaoys 101c578
add TBD
wsxiaoys a1cf66e
working in cpu, metal buggy
wsxiaoys 6c353dc
cleanup useless code
wsxiaoys f82328a
metal : fix out-of-bounds access in soft_max kernels
ggerganov 92a4f86
llama : make starcoder graph build more consistent with others
ggerganov caa7220
Merge pull request #2 from ggerganov/support-starcoder-fix
wsxiaoys 57eaa39
refactor: cleanup comments a bit
wsxiaoys 5ca037b
add other starcoder models: 3B, 7B, 15B
wsxiaoys 08f35c4
support-mqa-directly
wsxiaoys e1fa9dd
Merge pull request #3 from TabbyML/support-starcoder-mqa
wsxiaoys f989ba1
fix: remove max_position_embeddings, use n_train_ctx
wsxiaoys bb9931c
Update llama.cpp
wsxiaoys eafcc34
Update llama.cpp
wsxiaoys e30ad71
Apply suggestions from code review
wsxiaoys 72a7285
fix: switch to space from tab
wsxiaoys 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
fix: remove max_position_embeddings, use n_train_ctx
- Loading branch information
commit f989ba151d6e437a7ae45d383ffafa6653d8e7ad
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@monatis Do we need to bump
gguf.py
version after this change?