[PR #10527] [MERGED] kvcache: Log batch size if we can't find a slot #18538

Closed
opened 2026-04-16 06:38:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10527
Author: @jessegross
Created: 5/1/2025
Status: Merged
Merged: 5/1/2025
Merged by: @jessegross

Base: mainHead: jessegross/batch


📝 Commits (1)

  • c16f1df kvcache: Log batch size if we can't find a slot

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 kvcache/causal.go (+1 -1)

📄 Description

In some cases, we can't find a cache slot when using sliding window attention. It would be helpful in this (and other cases) to know what the batch size is.

Bug #10127


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/10527 **Author:** [@jessegross](https://github.com/jessegross) **Created:** 5/1/2025 **Status:** ✅ Merged **Merged:** 5/1/2025 **Merged by:** [@jessegross](https://github.com/jessegross) **Base:** `main` ← **Head:** `jessegross/batch` --- ### 📝 Commits (1) - [`c16f1df`](https://github.com/ollama/ollama/commit/c16f1dfd6cc1d24f4b445616ca93941e07fbf9b3) kvcache: Log batch size if we can't find a slot ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `kvcache/causal.go` (+1 -1) </details> ### 📄 Description In some cases, we can't find a cache slot when using sliding window attention. It would be helpful in this (and other cases) to know what the batch size is. Bug #10127 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 06:38:32 -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#18538