diff --git a/src/llama-kv-cache.cpp b/src/llama-kv-cache.cpp index 80fdfb817..96730e673 100644 --- a/src/llama-kv-cache.cpp +++ b/src/llama-kv-cache.cpp @@ -205,7 +205,7 @@ bool llama_kv_cache_unified::seq_rm(llama_seq_id seq_id, llama_pos p0, llama_pos } } - return true; + // return true; } for (uint32_t i = 0; i < size; ++i) { @@ -487,8 +487,10 @@ void llama_kv_cache_unified::commit() { } if (pending.ranges.empty()) { + if (!recurrent) { LLAMA_LOG_WARN("%s: no pending KV cache updates to commit - might indicate a bug (ref: %s)\n", __func__, "https://github.com/ggml-org/llama.cpp/pull/12695"); + } return; }