Repository navigation
vendor: pin llama.cpp to da4915987, so every prompt resume logs why it kept or lost its prefix (fork #56) - #4955
Merged
joelteply merged 1 commit intoOct 11, 2026
Conversation
…t kept or lost its prefix (fork #56) One commit over 243f3a429, log-only: one SLT_INF per resume decision (outcome; raw lcp, lcp after reuse, slot tokens, pos_min, pos_min_thold, n_swa, checkpoint count, chosen checkpoint, n_past of the prompt). Card c6640f7b's engine half: on the 5090 every restore of Kimi's page re-prefills from ~0 although checkpoints before the divergence exist, and the lines that would say why were trace-level. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
Contributor
Author
|
Review (BigMama): diff only, CI pending. LLAMA_CPP_PIN and the submodule move together, 243f3a429 -> da4915987, and |
Contributor
Author
|
Approve at a231e72 (BigMama), diff and CI: 7/7 green (windows-msvc check, the core lib tests, hygiene, ts-rs drift and the rest). The receipt is mine: after the deploy carrying it, the |
joelteply
deleted the
5dcc5d49/vendor-pin-llama-cpp-to-da4915987-fork-5
branch
October 11, 2026 19:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
This pins
core/vendor/llama.cppto da4915987, moving the gitlink andLLAMA_CPP_PINtogether. It is one commit over 243f3a429: fork CambrianTech/llama.cpp#56, approved by BigMama (diff and CI), merged.The change is log-only. Each prompt resume emits one
SLT_INF:resume: <outcome> (raw lcp, lcp after reuse, slot tokens, pos_min, pos_min_thold, n_swa, checkpoints, chosen n_tokens, n_past now of N).Why
This is card c6640f7b's engine half, measured on the 5090 (BigMama, 2026-10-11). One lane serves two residents, so every Kimi turn is a page restore, and every restore re-prefilled 40-49k tokens from about 0 (the 19:09Z one took 28.8 s). That happened although her page carries checkpoints well before the divergence: n_tokens 15066, 17780, 20001, … against a shared prefix of 20,583 and 24,441 tokens. The lines that would say why were trace-level.
Measured
This is the instrument itself. The receipt is the first
resume:line on the 5090 for Kimi's turn after a restore. That line decides the fix. Owner: Cormac, with BigMama reading the 5090 log.Not compiled locally (IntelMac builds in CI).
🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE