Snapshot behavior-metadata key sets independently from registered callbacks because Torch combines global and local metadata during invocation. Cover global metadata affecting a local hook and preserve mismatch in exported receipts.
Keep allocation failures terminal through quantized experts, adapter selection, Bayesian evaluation and refinement helpers. Route folded-writer errors and warnings promoted to errors through public cleanup before verification or export.
Exercise exact exception causes, failed-operation counts, rollback, cleanup and no-export behavior across recipe variants. Fixes#389.
Include local and global forward/pre-forward hook callbacks, ordering and behavior flags in reset verification. Retain callback references so identity checks cannot be defeated by equality overrides or object ID reuse.
Add 22 regressions including exported mismatch receipts and unchanged-hook controls. Refs #390.
Qualify all four Qwen scan and convolution fallbacks and reject Hub replacements on every model submodule. Keep unbounded compiled kernels unknown in strict mode and document the remaining source and hardware qualification gaps.
Refs #384
Compare the composite concept arm with an explicit CausalLM arm using the same recipe, inputs and seed. Keep checkpoint ownership, receipts, interrupted resumes and raw failed metrics separate.
Refs #383, #333
Propagate memory exhaustion through the public cleanup boundary and fail partial projection passes before verification or export. Exercise attention, FFN, SAE and module lookup failures with real tiny-model projections.
Update the rollback CPU-allocation guard to follow the bounded snapshot helper; the old Tensor.to spy failed on unchanged main.
Fixes#389
run_benchmarks fell back to the first numeric field of a task result. lm-eval
0.4.13 builds each task result as name, alias, sample_len, then the metrics, so
tasks without acc/acc_norm (GSM8K in DEFAULT_TASKS) returned the evaluated
document count as the score. The fallback now only picks metrics that lm-eval's
own higher_is_better map marks higher-is-better, which also excludes standard
errors and lower-is-better metrics such as perplexity.
compare_models substituted 0.0 for a task missing on one side and reported the
difference as a regression or improvement. Missing sides and their delta are
now None.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Search float direction indices across all extracted source layers and include that domain in persisted study identity. Apply informed attention scaling to the warm-start maximum. Penalize the squared harmless activation component removed by the optimized RDO direction so preservation has a gradient. Add behavioral regressions.
Restore the additive Neuron Lab and shared UI ownership entries after integrating main, preserving upstream activation observation and execution contracts.
Preparation on a temporary branch only. Align ci/test-risk-map.json exactly with upstream 1263570ae6 before testing merge signing. The reviewed integrated risk map will be restored separately before any feature-branch promotion.
Add browser-local spatial activation replay with orbit, zoom, token travel, paused/reduced motion, and model-layer destinations. Render measured signed values faithfully with illustrative depth, and clean up retained-node listeners and detached scenes. Add runtime lifecycle, navigation, payload, and real Gradio regression coverage.
Add a responsive amber control rack, signed activity chart and token map, ordered intervention cards, and measured comparison outputs. Preserve editor selection and one-sided clamp bounds across recipe changes; cover display escaping and callback flows.
Add scoped native MLP channel controls, strict versioned recipes, and isolated Neuron Lab sessions with inspection, ordered editing, comparison, cancellation, and immutable exports. Cover arithmetic, lifecycle, real offline model forwards and Gradio callbacks; document the CPU reference boundary.
Codex r6 (P2): bound_hashes skipped paths that were not files at hashing
time, so an input that vanished while it was hashed (for example a newly
added one whose directory was briefly renamed away) was recorded but never
hashed. Every file in the identity snapshot must now be hashed. Overlay
directory links no longer add expected paths: their files are bound through
the source tree, matching the default inventory.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex r5 (P2): swapping a whole cache directory during hashing kept every
link and file identity intact, so trusted bytes could be hashed while the
recorded, altered files were what the loader later opened. In symlink mode
each file is now hashed through its open handle, and that handle's device,
inode, size and times must match the identity snapshot before and after
reading. The hashed bytes are therefore the recorded file's bytes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex r4 (P2): source and overlay entries kept only their target's identity,
so a link replaced and restored while inputs were hashed went unnoticed.
Each source link, overlay file link and snapshot-directory link now records
its own text, device, inode and times alongside the validated target.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Address review r3 of the symlinked-inputs option:
- Check --symlink-inputs component by component as given, relative or
absolute, before recording it, instead of resolving links away first.
- Bind every loader-facing overlay link in models/<label> to the identity
of the validated source file it must point at, require snapshot
subdirectories to point at their source directory, and record the
generated config.json; the source, overlay and their parent directories
must be real directories.
- Capture overlay identities before hashing at fetch and resume, and
re-check them in workers and probe children.
- Add the change time to every identity so a same-size rewrite that
restores the modification time is caught.
- Document that multistep children rely on their parent worker's check.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>