Repository navigation
kv-cache : drop the "unified" prefix - #15467
Merged
Merged
Conversation
danbev
approved these changes
Aug 21, 2025
qnixsynapse
pushed a commit
to janhq/llama.cpp
that referenced
this pull request
Aug 22, 2025
* kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
Nexesenex
added a commit
to Nexesenex/croco.cpp
that referenced
this pull request
Oct 6, 2025
blime4
referenced
this pull request
in blime4/llama.cpp
Feb 5, 2026
* kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
Seunghhon
pushed a commit
to Seunghhon/llama.cpp
that referenced
this pull request
Apr 26, 2026
* kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
Ooooze
pushed a commit
to AtomicBot-ai/atomic-engine
that referenced
this pull request
May 12, 2026
…g cache reuse The kv_base->get_size() == kv_swa->get_size() condition in get_can_shift() was introduced in PR ggml-org#15467 before Gemma 4 existed. Gemma 4 has 10 global layers vs 50 SWA layers by design, so this check always returns false, permanently blocking cache reuse for all Gemma 4 users. The individual get_can_shift() calls on each sub-cache already guard shift safety independently. Removing the size equality check is safe for all existing models. Fix also submitted to llama.cpp mainline: ggml-org#21831 (comment)
my-other-github-account
pushed a commit
to my-other-github-account/llama.cpp
that referenced
this pull request
May 15, 2026
* kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
jimbothigpen
pushed a commit
to jimbothigpen/af-engn
that referenced
this pull request
May 21, 2026
…g cache reuse The kv_base->get_size() == kv_swa->get_size() condition in get_can_shift() was introduced in PR ggml-org#15467 before Gemma 4 existed. Gemma 4 has 10 global layers vs 50 SWA layers by design, so this check always returns false, permanently blocking cache reuse for all Gemma 4 users. The individual get_can_shift() calls on each sub-cache already guard shift safety independently. Removing the size equality check is safe for all existing models. Fix also submitted to llama.cpp mainline: ggml-org#21831 (comment)
jimbothigpen
pushed a commit
to jimbothigpen/af-engn
that referenced
this pull request
May 25, 2026
…g cache reuse The kv_base->get_size() == kv_swa->get_size() condition in get_can_shift() was introduced in PR ggml-org#15467 before Gemma 4 existed. Gemma 4 has 10 global layers vs 50 SWA layers by design, so this check always returns false, permanently blocking cache reuse for all Gemma 4 users. The individual get_can_shift() calls on each sub-cache already guard shift safety independently. Removing the size equality check is safe for all existing models. Fix also submitted to llama.cpp mainline: ggml-org#21831 (comment)
fukuro-kun
pushed a commit
to fukuro-kun/fukuro-llama-cpp-turboquant
that referenced
this pull request
Jul 5, 2026
* kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
fukuro-kun
pushed a commit
to fukuro-kun/fukuro-llama-cpp-turboquant
that referenced
this pull request
Jul 5, 2026
…g cache reuse The kv_base->get_size() == kv_swa->get_size() condition in get_can_shift() was introduced in PR ggml-org#15467 before Gemma 4 existed. Gemma 4 has 10 global layers vs 50 SWA layers by design, so this check always returns false, permanently blocking cache reuse for all Gemma 4 users. The individual get_can_shift() calls on each sub-cache already guard shift safety independently. Removing the size equality check is safe for all existing models. Fix also submitted to llama.cpp mainline: ggml-org#21831 (comment)
MrLordCat
referenced
this pull request
in MrLordCat/llama.cpp-rdna-lab
Jul 16, 2026
* kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
zommiommy
pushed a commit
to zommiommy/llama.cpp
that referenced
this pull request
Aug 18, 2026
* kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
frostyautumnleaf
pushed a commit
to frostyautumnleaf/llama.cpp
that referenced
this pull request
Oct 5, 2026
* kv-cache : drop the "unified" prefix ggml-ci * cont : fix comment [no ci]
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
With the introduction of split KV cache buffers (#14363), it no longer makes sense to use the "unified" prefix.