Skip to content

Add bounded MechInterp weight patches and resumable site capture - #281

Draft
ProfSynapse wants to merge 8 commits into
mainfrom
feature/mechinterp-weight-patches
Draft

ProfSynapse wants to merge 8 commits into
mainfrom
feature/mechinterp-weight-patches

Conversation

@ProfSynapse

Copy link
Copy Markdown
Owner

MechInterp can now inspect, validate, apply and export bounded weight edits from declarative, hash-pinned safetensors specs. Runtime patches bind targeted tensor bytes and revision, enforce realized-delta budgets, preserve exact no-op bytes, refuse aliased storage, and record patch lineage. Export verifies untouched bytes and publishes create-only.

Extraction now supports explicit module input/output sites and anchor-only forward passes. Long captures can use a per-row fsynced journal with source/settings/patch identity and file-hash verification on resume. Probe fitting reads completed manifests instead of stray files; unsafe row keys receive portable filenames.

Pipeline stages use python -m tuner without injecting an installed environment into another interpreter. Dose calibration forwards the pinned model revision.

Validation: 815 CPU tests passed across MechInterp, CLI, capabilities and runtime assets; Ruff and skill sync pass. Independent review found the extraction and environment issues addressed here. GPU checks on the desktop stack and large-checkpoint export on T7 are pending. These experimental CLI capabilities are outside public API v1.

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