Repository navigation
COE-07: pretrained TRM phase-gauge experiment and dihedral telemetry audit - #72
Merged
Merged
Conversation
…nd hosted CPU workflow
patrickdugan
marked this pull request as ready for review
November 15, 2026 10:08
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.
Purpose
Runs the COE-01..06 phase-sensitive/cyclic-invariant observer test against the native SHA-pinned 7M Attention-TRM already used in LoopScope-02, instead of the newly trained synthetic tied-attention models.
Preregistered boundaries
d0b1b699).LoopedTransformers@f504111e, loader bloba7396bc; original benchmark59459ae0..., pretrained model SHA-256932b5e0d...checked before loading.visible,dark,full,scratch). Four head-selection objectives derive solely from the fit states. Readout modes ordered, cyclic-invariant, count, final-step.cyclic_gainhead, with each held-out stratum contributing at least one distinction.Reproduce
python -m unittest discover -s mechinterp/phase_gauge07 -p 'test_*.py' -vpython -m mechinterp.phase_gauge07.run_native --out /tmp/coe07_native --threads 4The hosted CPU workflow publishes both raw compressed activations and replayable selected-head receipts as a workflow artifact. No checkpoint mutation, training, merge or deployment. If pretrained inference is unavailable, label the outcome blocked/invalid instead of substituting synthetic evidence.
COE-07R exact replay (2026-11-15)
dihedral_replay.pyand replay tests for rotations, time reversal, repeated target digits, and best in-sample class-majority decoding.exact-unitbefore test steps appeared; rerun had the same issue. Subsequent run 43701640038 likewise stopped before native inference. New pretrained latent-probe outcome remains blocked/unmeasured.Optional local CUDA replica
Commit 71b815c adds
--device cudato the native runner while retaining CPU float32 as the preregistered primary. CUDA is explicitly tagged as exploratory and its results must be reported separately. Runpython -m mechinterp.phase_gauge07.run_native --device cuda --threads 4 --out ./coe07_native_gpufollowed by the existingreplay.pycommand. The optional path passed syntax checks but has not executed against the external model checkpoint in this environment.