Skip to content

UPSTREAM PR #17982: kv-cache: Fix state restore fragmented cache#543

Open
loci-dev wants to merge 2 commits intomainfrom
upstream-PR17982-branch_ssweens-fix-state-restore-fragmented-cache
Open

UPSTREAM PR #17982: kv-cache: Fix state restore fragmented cache#543
loci-dev wants to merge 2 commits intomainfrom
upstream-PR17982-branch_ssweens-fix-state-restore-fragmented-cache

Conversation

@loci-dev
Copy link

Mirrored from ggml-org/llama.cpp#17982

Fix #17527

Change find_slot to allow non-contiguous allocation during state restore. Fixes 'failed to find available cells in kv cache' error when restoring state to fragmented cache.

Change find_slot to allow non-contiguous allocation during state restore. Fixes 'failed to find available cells in kv cache' error when restoring state to fragmented cache.
@loci-dev loci-dev force-pushed the main branch 27 times, most recently from 752a7d5 to 827aa4b Compare December 16, 2025 11:09
@loci-dev loci-dev force-pushed the main branch 30 times, most recently from cc6b7b1 to 7ceec3c Compare December 21, 2025 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants