$ the-wire · showcase
SAELens fixes hooks after SAE removal, accepts weight processing kwargs
By RepoJournal · Filed · About Interpretability · Composed from the cited sources · methodology
Both SAELens changes target transformer-lens 4 breakage that operators hit in ordinary workflows, not exotic edge cases.
fix: keep hooks working after an SAE is removed from SAETransformerBridge (#786) jbloomAus/SAELens
Removing an SAE from an SAETransformerBridge used to leave the hook at that location dead for the rest of the run. After run_with_saes, add_sae plus reset_saes, or a model.saes(...) block, transformer-lens 4 now re-registers the hook by its canonical name instead of raising KeyError: "Hook name 'blocks.7.hook_in' does not exist on this model." Under transformer-lens 3 the failure was quieter: t...
fix: accept weight processing kwargs in SAETransformerBridge.boot_transformers jbloomAus/SAELens
boot_transformers rejected the weight processing options it forwarded to TransformerBridge, so loading a model via sae.cfg.metadata.model_from_pretrained_kwargs, the path SAELens's own SAE warning recommends, failed with TypeError on transformer-lens 4. It now accepts those kwargs, which makes the recommended snippet work as written.