Skip to content

Living Weights: drift and recall measured per lesson, with an opt-in gate (#1389) - #2028

Merged
ashhart merged 6 commits into
mainfrom
lead/1389-lw
Nov 7, 2026
Merged

ashhart merged 6 commits into
mainfrom
lead/1389-lw

Conversation

@ashhart

@ashhart ashhart commented Nov 3, 2026 •

Copy link
Copy Markdown
Owner

Stacked on #2027; lands after it.

Gate fixed untaught drift and supplied recall measurements

Comparing only against the reply before the latest lesson cannot expose cumulative drift. Under --slide-drift-gate, retain a fixed untaught baseline and supplied held-out recall wordings, record each lesson's measurements in the graph and refuse candidates outside the configured targets after the existing checks.

With the flag off, recall is not parsed or validated, the fixed panel is not asked and no new receipt field or persistence call is added. Routed kept, refused and early-refused cases match the pre-metrics graph/events and model/write counts after normalizing only wall-clock values. Existing receipt fields are retained, not migrated away.

Independent review cleared the gate-only follow-up, including the routed off-path oracle and planted write/measurement controls, subject to the rebased host suite. Existing graphs need complete supplied recall receipts before the gate can admit another lesson; re-teach or delete older unmeasured facts as documented.

Base: #1587 (pr-1587.mbox), exact 3397cc37ae6a61600cb9228ca64bb1f78efeaf0a. Apply this incremental mailbox after that base. Head: ad1baa2db7f253c51bb2310c0ca2ded33b03d523. Original commit messages and contributor credit are preserved.

Validation: the final focused host graph passes 279 tests in 45 steps, including host contract, golden and fuzz. Formatting passes and lean adds zero findings to the pinned 424. A clean git am reproduces the entire exported tree.

Attach three Nemotron Metal/CUDA gate-off lessons against the pre-metrics base with graph/event/token/time receipts, then ten gate-on lessons with supplied wordings and every named refusal. Device and full-model cost remain separate from the host suite.

The requested full-suite run exposed a native link regression in the original typed receipt decoder. A separate follow-up decodes the same bounded receipt types over the existing JSON values, retaining defaults and exact integer checks while avoiding wide numeric compiler-runtime helpers. The exact base links libSystem memcpy correctly, and the corrected branch passes that native guard. The requested zig build test ran on the rebased head: 4,912 pass, 26 skip, and only the same HTTPS proxy assertion failing in two server builds, freshly reproduced on the exact base; other suites are cached.

@ashhart

ashhart commented Nov 3, 2026

Copy link
Copy Markdown
Owner Author

Mac check, off against main: an M5 Ultra with Nemotron 3.5 Lightning 30B-A3B 4-bit, without the opt-in gate, fresh servers, warm then base-new-new-base. GREEN.

  • Exact: 0 of 20 prompt rows differ.
  • Prompt and decode: level. 9081 → 9040 tok/s prompt at 2K (−0.5%, inside run spread) and 9010 → 9008 at 32K. Decode after a prompt is 233.9 → 234.3 at 2K and 219.0 → 219.4 at 32K.
  • 8 streams: +0.3% for both chat and code.

So with the gate off, serving is main's path on Metal. A lesson run with the gate on is what's left.

@ashhart

ashhart commented Nov 4, 2026

Copy link
Copy Markdown
Owner Author

GB10 check, off against main (Nemotron 3.5 Lightning 30B-A3B 4-bit, without the opt-in gate): GREEN in substance. 0 of 20 prompt rows differ. The one flagged cell is chat at 2 streams (base 240.0 / 226.8, new 193.7 / 225.0), the same cell whose spread we measured on #2026: new runs ranged 190-242 against base 223-227 with balanced order. This PR touches one CUDA file. With the Mac check GREEN, it's ready. Queued to land.

@ashhart

ashhart commented Nov 6, 2026

Copy link
Copy Markdown
Owner Author

/atc exchange 4536add5a703a3db4ae1ccac9d5a28ef488c3e5130193bf5b997f0a91880cf37

Keep fixed untaught token baselines and per-lesson graph receipts. Add an opt-in drift and supplied-wording recall gate after the existing acceptance checks.

Refs #1389.
Skip recall parsing, receipt writes and fixed-panel calls when the gate is disabled. Compare routed kept and refused lessons against pre-measurement graph, event and call-count captures, including writes that leave identical bytes.

Refs #1389.
@ashhart
ashhart merged commit ccc8dee into main Nov 7, 2026
3 of 7 checks passed
@ashhart
ashhart deleted the lead/1389-lw branch November 10, 2026 16:34
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.

1 participant