Skip to content

Engine pin to f39cf25fb: view end kept, placed checkpoints, draft KV once, async page IO - #6086

Merged
joelteply merged 1 commit into
canaryfrom
fable/engine-pin-s4-f39cf25
Nov 16, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fable/engine-pin-s4-f39cf25

Conversation

@joelteply

@joelteply joelteply commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

This serves the residents' acts directly (plan path step 1, "Fast"; order-of-work lines 2–3b). The engine stops re-prefilling a mind's context and stops copying state it already holds.

What the bump brings

b5534b531..f39cf25fb on CambrianTech/llama.cpp codex/s4-per-mind-integration. Each PR was independently reviewed and merged at a green head.

PR Change
#123 A request that names no view end keeps the mind's view end inside the reused prefix. This targets the ~100k-token re-prefills seen on the M5, and pairs with canary's #6085.
#127 Placed checkpoints keep her head through a full store.
#130 A page carries the draft's KV once; checkpoints stop copying it.
#118 Page file IO runs on a worker, admitted against one runtime budget. Until the core sets that budget, pages move one at a time, still off the task loop.
#117 An adapter (LoRA) group never starves another: batching alternates between groups that are waiting.

Measured

Only the fork's own CI and small-model runs so far. Per Joel, those prove mechanics only; the claim is the full persona on the real model.

Measured after deploy

Owner: Fable, in one serving-down M5 window:

  1. Save residents.
  2. Rebuild the engine with serving down.
  3. Restart through the supported lifecycle.
  4. Verify the running revision.
  5. Read for 15 minutes against the hour before: acts/h, median act, prefix reuse and re-prefill tokens from [health], plus whether every resident runs (Build(deps-dev): Bump @types/node from 22.14.0 to 24.3.1 #117 fairness).

If it is worse than canary, it goes back at once. The card stays open until the receipt is posted.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

…ept on a warm pass, placed checkpoints, draft KV once per page, async page IO

Serves the residents' acts directly (plan path step 1, "Fast"; order-of-work lines 2-3b): the engine stops
re-prefilling a mind's context and stops copying state it already holds.

b5534b531..f39cf25fb (CambrianTech/llama.cpp, codex/s4-per-mind-integration), each independently reviewed:
- #123 a request that names no view end keeps the mind's view end inside the reused prefix (the ~100k-token
  re-prefills seen on the M5); pairs with canary's #6085 (the warm pass names the view end).
- #127 placed checkpoints keep her head through a full store; the rules are pure and proven natively.
- #130 a page carries the draft's KV once; checkpoints stop copying it.
- #118 a KV page's file IO runs on a worker; in-flight page bytes are admitted against one runtime budget
  (0 until the core sets one: one switch's bytes at a time, still off the task loop).

## Measured after deploy
Owner: Fable, in one serving-down M5 window (residents saved first, engine rebuilt with serving down, restart
through the supported lifecycle). Read for 15 minutes against the hour before: acts/h, median act, prefix
reuse and re-prefill tokens from the [health] line; worse than canary goes back at once.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVE source at d0385dc, conditional on exact-head CI before merge and the separate live gate. Diff changes only LLAMA_CPP_PIN and submodule, both to f39cf25fbd3d95c69302fdf38d43dae2002b5f3e. Fork history is an ahead relationship from b5534b531, with reviewed123/127/130 and118. Please include117 adapter-group fairness in the rollout description too: it is also in this ten-commit range.

Fable owns M5 window after local owner/job checks; preserve saved residents and require completion receipt before lifecycle stop. Verify running core+engine artifacts and15-minute real-persona comparison. Existing13GB swap and concurrent resident cargo build confound baseline; report them, do not infer isolated speedup.133 counters remain missing in this pin. Small-model evidence proves mechanics, not real-persona performance.

@joelteply
joelteply merged commit 2695c5f into canary Nov 16, 2026
45 checks passed
@joelteply
joelteply deleted the fable/engine-pin-s4-f39cf25 branch November 16, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant