Repository navigation
Conversation
joelteply
added a commit
that referenced
this pull request
Nov 8, 2026
…d while a live reply holds it (Codex on #100) Between a live reply's chunks the training flags are cleared but the active optimizer and its accumulators still belong to that reply until its restoration finishes. opt_init (and the opt_select it makes) and opt_release refuse by name while opt_reply is held; the server's unload refuses the shadow a learn is training, whether or not any slot's stable set names it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
Author
|
Closing as landed: every commit on this branch is already in |
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.
Live-sequence learning currently runs every reply batch synchronously and then discards its restored cache. This change lets the existing serving loop advance one native batch at a time while retaining the learning slot, then restores the actual served tail once. A supplied correction can differ from the generated reply; cache metadata continues to describe the actual served tokens.
Validation: Windows static CPU build; Qwen2.5 0.5B and Qwen3.5 0.8B live-sequence gradient/cache/optimizer-generation checks; existing HTTP fairness test; actual two-slot long-reply test with 497 labels and neighbor tokens emitted while the learning state was observable. Revised tail-retention test and hybrid checks pass.
Draft: measured per-chunk duty and latency, cancellation/exception proof, CUDA, and adoption of existing per-mind #85 and grant #87 remain. No resident deployment or full S4 acceptance. Cormac owns the related snapshot/receipt/past-experience stack. This extends the existing inference-context owner without a separate trainer or smaller window.