Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 30abf3a

Browse files
committed
fix: restore kv_cache_clear
1 parent 4c08794 commit 30abf3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

context/llama_server_context.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1546,6 +1546,7 @@ struct llama_server_context {
15461546
LOG_DEBUG
15471547
<< "all slots are idle and system prompt is empty, clear the KV "
15481548
"cache";
1549+
kv_cache_clear();
15491550
}
15501551
// std::this_thread::sleep_for(std::chrono::milliseconds(5));
15511552
// TODO: Need to implement queueing using CV for better performance

0 commit comments

Comments
 (0)