Skip to content

server : fix "can batch with" bug - #17263

Merged
ggerganov merged 1 commit into
masterfrom
gg/server-fix-can-batch-with
Nov 14, 2025
Merged

server : fix "can batch with" bug#17263
ggerganov merged 1 commit into
masterfrom
gg/server-fix-can-batch-with

Conversation

@ggerganov

Copy link
Copy Markdown
Member

While looking into #17260, found this error in the logic:

The slot_batched could end up being released (for example if the prompt does not fit into the context). The fix is to set slot_batched ptr only after we have actually queued any tokens for that slot.

@ggerganov
ggerganov merged commit d396b43 into master Nov 14, 2025
66 checks passed
@ggerganov
ggerganov deleted the gg/server-fix-can-batch-with branch November 14, 2025 12:03
Anico2 added a commit to Anico2/llama.cpp that referenced this pull request Jan 15, 2026
blime4 referenced this pull request in blime4/llama.cpp Feb 5, 2026
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
my-other-github-account pushed a commit to my-other-github-account/llama.cpp that referenced this pull request May 15, 2026
phibya pushed a commit to ziee-ai/llama.cpp that referenced this pull request May 29, 2026
fewtarius pushed a commit to fewtarius/CachyLLama that referenced this pull request May 30, 2026
fukuro-kun pushed a commit to fukuro-kun/fukuro-llama-cpp-turboquant that referenced this pull request Jul 5, 2026
MrLordCat referenced this pull request in MrLordCat/llama.cpp-with-GUI Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants