[PR #11658] kvcache: Log contents of cache when unable to find a slot #13602

Closed
opened 2026-04-13 00:31:02 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11658

State: closed
Merged: Yes


There is a bug when using sliding window attention where we run out of KV cache slots. This is likely due to not correctly removing all of the entries as they slide out of range. This adds additional logging when this occurs to track down the source.

Bug #10127

**Original Pull Request:** https://github.com/ollama/ollama/pull/11658 **State:** closed **Merged:** Yes --- There is a bug when using sliding window attention where we run out of KV cache slots. This is likely due to not correctly removing all of the entries as they slide out of range. This adds additional logging when this occurs to track down the source. Bug #10127
GiteaMirror added the pull-request label 2026-04-13 00:31:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13602