mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 01:24:36 +00:00
Merge commit 'e408d4351a
' into concedo_experimental
# Conflicts: # ggml/CMakeLists.txt
This commit is contained in:
commit
e6337ff957
3 changed files with 90 additions and 124 deletions
|
@ -1318,8 +1318,8 @@ int llama_context::decode(llama_batch & inp_batch) {
|
|||
n_outputs = n_outputs_new;
|
||||
}
|
||||
|
||||
// non-causal masks do not use the KV cache
|
||||
if (hparams.causal_attn) {
|
||||
// find KV slot
|
||||
{
|
||||
kv_self_update();
|
||||
|
||||
// if we have enough unused cells before the current head ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue