kv_cache : fix

ggml-ci
This commit is contained in:
Georgi Gerganov 2025-01-13 15:58:20 +02:00
parent 4d7bd03e65
commit fef90cb3d7
No known key found for this signature in database
GPG key ID: 449E073F9DC10735

View file

@ -35,8 +35,8 @@ bool llama_kv_cache::init(
size = kv_size;
used = 0;
type_k = type_k;
type_v = type_v;
this->type_k = type_k;
this->type_v = type_v;
cells.clear();
cells.resize(kv_size);