-
Notifications
You must be signed in to change notification settings - Fork 12.5k
kv-cache : separate recurrent vs non-recurrent impl #12799
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
29 commits
Select commit
Hold shift + click to select a range
22bda48
kv-cache : serparate recurrent vs non-recurrent impl (wip)
ggerganov 8145799
kv-cache : init -> contructor + add llama_memory_params
ggerganov 49aa8b8
kv-cache : fix callback reference
ggerganov 838b3cc
context : llama_kv_cache -> llama_memory_i
ggerganov 8e4d3ba
context : move memory creation logic to model
ggerganov 7fec081
llama : remove reference of memory during encode
ggerganov 59af92b
kv-cache : hide padding details in the implementation
ggerganov 6413b93
kv-cache : add ubatch_next()
ggerganov e869515
context : simplify sbatch logic
ggerganov ae2cd00
kv-cache : hide defrag logic in the implementation
ggerganov fdb7206
context : hide kv cache details in implementation
ggerganov 13d69a5
build : fix
ggerganov 5ef7559
cont : another fix
ggerganov 6b50ba7
kv-cache : simplify interface (wip)
ggerganov cb02ac8
kv-cache : use separate KV cell structs for unified/recurrent
ggerganov f584750
kv-cache : clean-up
ggerganov 458f2a5
model : better llama_model::create_model() signature
ggerganov 92e626b
kv-cache : fix recurrent seq_rm()
ggerganov 43cbf38
kv-cache : replace `struct callbacks` with `llama_model &`
ggerganov 6619832
kv-cache : replace `struct graph_params` with `llama_context &`
ggerganov 95a9f8b
kv-cache : fix offload check
ggerganov 8737e65
context : avoid passing unique_ptr
ggerganov c9bddfc
kv-cache : avoid using the backends from the llama_context
ggerganov 09195eb
kv-cache : more consistent debug logs [no ci]
ggerganov 58e1d40
kv-cache : do not pass the full llama_context for kv graphs
ggerganov 903e46f
kv-cache : remove comment
ggerganov 00cde5f
kv-cache : ggml_rope_ext_inplace -> ggml_rope_ext
ggerganov 7e79a42
kv-cache : fix recurrent multi-user case
ggerganov 5883c90
memory : remove comments [no ci]
ggerganov 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
kv-cache : avoid using the backends from the llama_context
ref #13113 ggml-ci
- Loading branch information
commit c9bddfc0c89b7922f225ccb0a8ad1ec20bd05aa8
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
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.