Name and Version
version: 7218 (ec18edf)
built with cc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 for x86_64-linux-gnu
Operating systems
Other? (Please let us know in description)
Which llama.cpp modules do you know to be affected?
llama-server
Command line
Problem description & steps to reproduce
When doing consecutive requests to the server, sometimes it selects existing slot by similarity. But sometimes, it does not, it switches to new slot by LRU (least recent) and recomputes the prompt. It doesn't make sense, I couldn't find any clue about how it "chooses" the desired behaviour and undesired one. I used --keep -1, otherwise it doesn't do any similarity check at all?
First Bad Commit
I'll try to debug it myself later, it seems easier than do bisecting.
Relevant log output
Name and Version
version: 7218 (ec18edf)
built with cc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0 for x86_64-linux-gnu
Operating systems
Other? (Please let us know in description)
Which llama.cpp modules do you know to be affected?
llama-server
Command line
Problem description & steps to reproduce
When doing consecutive requests to the server, sometimes it selects existing slot by similarity. But sometimes, it does not, it switches to new slot by LRU (least recent) and recomputes the prompt. It doesn't make sense, I couldn't find any clue about how it "chooses" the desired behaviour and undesired one. I used
--keep -1, otherwise it doesn't do any similarity check at all?First Bad Commit
I'll try to debug it myself later, it seems easier than do bisecting.
Relevant log output