Files
OBLITERATUS/docs
Joseph Magly 52c4d0eee5 fix(analysis): size SAE and exact LEACE work before choosing the device
Codex review r1 for #605:
- High: SAE expansion was estimated from _harmful_means, empty before
  collection, so it was sized as zero. SAE training counts now come from
  the configured positive and control prompts.
- High: exact affine LEACE was sized as float32 but fits in float64 on
  CPU/CUDA. Device selection and distill admission now budget its
  covariance, decomposition and live operands at the fitter's actual
  dtype, shared from leace_exact.
- Medium: terminal cleanup after a failed run now drops all transient
  analysis references (means, shield atoms, directions, subspaces,
  workspace, resolved device) so accelerator memory is released.
Regression tests cover SAE and exact-LEACE fallback at a mocked memory
boundary, LEACE in distill admission, and cleanup after PROBE and
DISTILL failures.
2026-11-23 16:12:16 -05:00
..