Skip to content

Commit 8ab37b1

Browse files
committed
context : change log err -> warn [no ci]
1 parent 2c41dff commit 8ab37b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/llama-context.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1297,7 +1297,8 @@ int llama_context::decode(llama_batch & inp_batch) {
12971297
// find KV slot
12981298
{
12991299
if (!kv_self->find_slot(ubatch)) {
1300-
LLAMA_LOG_ERROR("%s: failed to prepare ubatch\n", __func__);
1300+
LLAMA_LOG_WARN("%s: failed to find KV cache slot for ubatch of size %d\n", __func__, ubatch.n_tokens);
1301+
13011302
return 1;
13021303
}
13031304

0 commit comments

Comments
 (0)