Skip to content

Commit eb5518f

Browse files
committed
cont : better name [no ci]
1 parent 5c84488 commit eb5518f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llama-context.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,7 +1201,7 @@ int llama_context::decode(llama_batch & inp_batch) {
12011201
const int64_t n_tokens_all = batch.n_tokens;
12021202
const int64_t n_embd = hparams.n_embd;
12031203

1204-
llama_kv_cache_guard kvg(kv_self.get());
1204+
llama_kv_cache_guard kv_guard(kv_self.get());
12051205

12061206
GGML_ASSERT((!batch.token && batch.embd) || (batch.token && !batch.embd)); // NOLINT
12071207

@@ -1423,7 +1423,7 @@ int llama_context::decode(llama_batch & inp_batch) {
14231423
}
14241424

14251425
// finalize the batch processing
1426-
kvg.commit();
1426+
kv_guard.commit();
14271427

14281428
// set output mappings
14291429
{

0 commit comments

Comments
 (0)