Skip to content

fix(eval): load engram students with the memory attached - #222

Merged
ronaldtse merged 2 commits into
mainfrom
fix/engram-eval-load
Sep 29, 2026
Merged

ronaldtse merged 2 commits into
mainfrom
fix/engram-eval-load

Conversation

@ronaldtse

Copy link
Copy Markdown
Contributor

The trained run-013 checkpoint's first eval dropped the memory module (vanilla loader: _engram.* UNEXPECTED — the PKM lesson applies). load_student_with_engram attaches before loading; the eval path uses it for engram specs. The dropped-table number is retained as the no-memory control; the gate needs the table live in the forward pass.

The vanilla loader drops _engram.* (the PKM lesson: injected
parameters need the injected loader) — the first eval of run-013 was
scoring a backbone missing a component it trained with. That number
stands as the no-memory CONTROL; the gate needs the table in the
forward pass. load_student_with_engram attaches first, loads the full
state strictly except fresh-zero engram params (loud on anything
else); evaluate_der uses it for engram specs.
@ronaldtse
ronaldtse merged commit 4f036f8 into main Sep 29, 2026
11 checks passed
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