Repository navigation
Retain earlier learned checkpoints across deeper captures - #6181
Conversation
|
M5, two exact 900-second live windows. The earlier build completed 15 resident turns, reused 27.5% of prompt tokens and generated 5.72 tokens per wall second. This candidate completed 10 turns, reused 16.0%, and generated 3.56 tokens per wall second. Different inputs and completions prevent causal attribution. All ten completed turns started within 877 ms. Their maximum later service gap was 1.537 s. Four rewound successfully, five diverged before a usable checkpoint, and one was cold. One resident previously shared 10,010 tokens, then shared only 9,228. Retaining the 10,010-token checkpoint cannot serve that shorter match. Peak sampled core RSS was 25,811,504 KiB versus 26,045,296 KiB before. Nine acts, seven empty outputs, zero inference failures, one staged credit; durable learning unverified. Native replay matched both post-restart tokens byte for byte. No measured throughput or reuse improvement in this sample. Keep the PR in draft while validating the retention policy on matched inputs. |
…ison Compare token history once when binding a resident
Keep native checkpoint custody in resident history
|
Independent Codex source review approved e74505c against 4341d3c. The reviewer traced snapshot retention, invalidation, host footprint and rewind eligibility. One additional host snapshot per resident can consume memory; its isolated cost and benefit remain unquantified. Review was source-only. Exact-head CI completed without failed checks. |
Retain the earliest still-valid learned checkpoint when a deeper checkpoint replaces it. The existing token and basis comparison, native lineage validation, and footprint owner still apply. Two previous M5 turns shared 7,078 and 10,060 tokens yet had no usable earlier snapshot.
The candidate was deployed on the M5 before check-in. The five-minute check recorded five generation entries, two acts and zero inference failures. The measured benefit and additional host memory remain under evaluation.