Hooked Class Deprecation - #1759
Merged
Merged
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.
Description
This is the preparation for the removal of Hooked* classes
HookedTransformer,HookedEncoder,HookedEncoderDecoder,HookedAudioEncoder,BertNextSentencePrediction.loading_from_pretrained.py,config/hooked_transformer_config.py, the wholecomponents/tree (26 files) andpretrained/weight_conversions/(33 files),factories/mlp_factory.py, thetrain.py/utils.pyshims, and the two HT-dependent capture scripts.__init__.pyreshaped (lazy-legacy map + de-shadowing removed,__all__trimmed); config / multi_gpu / key_value_cache retyped off the deleted config;remote_bridgeswitched toutilities;get_official_model_namerehomed tosupported_models.py; goldens pure-helpers rehomed togoldens_capture_spec.py;make_docs.pyHT-table generator removed.test_bert_weight_surface.py; made the doctest guard permanent.Hooked*filterwarnings, apidoc excludes, and QUARANTINES rows removed; the HookedTransformer model-properties table preserved as a committed static page with a 4.0 deprecation banner.loading→supported_models), LIT (call site → bridge), hf-tl-logit-comparator (ported to bridge); stale HT-deprecation stderr stripped from Grokking / No_Position outputs._REMOVED_IN_4_0directed-message map in__init__.py's__getattr__.get_official_model_namerestored (+ regression test);hook_pointsimport-shim removed as promised (directed error); alias-warning over-promise softened..github/copilot-instructions.md,config/AGENTS.mdde-HT'd.lit/README.md(+ dead__all__entry),benchmarks/README.md(use_ht_reference→use_hf_reference, dead link); README PyPI blurb; contributing.md banner.doc_sanitize.cfgdead sanitizer + duplicate section; goldens provenance + 3 dead capture-script comments; QUARANTINES T5 note.test_head_detector_bridge.pyandtest_model_protocol_bridge.py.better-abc+muutilsdropped frompyproject.toml;uv.lockrefreshed.Type of change
Checklist: