Repository navigation
Add bounded MechInterp weight patches and resumable site capture - #281
Draft
ProfSynapse wants to merge 8 commits into
Draft
ProfSynapse wants to merge 8 commits into
ProfSynapse wants to merge 8 commits into
Conversation
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.
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 tunerwithout 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.