Skip to content

Commit 29d1d16

Browse files
committed
kv_cache : functions -> members
ggml-ci
1 parent 04a9ef8 commit 29d1d16

File tree

4 files changed

+466
-444
lines changed

4 files changed

+466
-444
lines changed

src/llama-context.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ struct llama_data_read {
11691169
}
11701170
batch.n_seq_id[0] = 1;
11711171
batch.seq_id[0] = &dest_seq_id;
1172-
if (!llama_kv_cache_find_slot(kv_self, batch)) {
1172+
if (!kv_self.find_slot(batch)) {
11731173
LLAMA_LOG_ERROR("%s: failed to find available cells in kv cache\n", __func__);
11741174
return false;
11751175
}

0 commit comments

Comments
 (0)