Add open-source circuit-tracer CLT loading for CLT-Forge visualization#12
Open
HowardHsuuu wants to merge 5 commits into
Open
Add open-source circuit-tracer CLT loading for CLT-Forge visualization#12HowardHsuuu wants to merge 5 commits into
HowardHsuuu wants to merge 5 commits into
Conversation
added 5 commits
June 17, 2026 23:14
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.
Summary
This PR adds support for loading open-source circuit-tracer CLTs into CLT-Forge attribution workflows and visualizing the resulting graphs with the existing CLT-Forge visual interface.
It supports:
.ptgraph schemamntss/clt-gemma-2-2b-426kwithgoogle/gemma-2-2bThe visual interface itself is unchanged; the bridge is implemented in the library layer.
Notes
The existing CLT-Forge visual interface currently seems to hardcode the header label as
GPT-2 Small; this PR does not change that UI behavior. The converted graph metadata records the actual model source, e.g.google/gemma-2-2b.Tests
Added focused tests in
tests/attribution/test_circuit_tracer_bridge.py.These cover:
active_features[selected_features](layer, pos, feature_idx)to(pos, layer, feature_idx)conversionfeatures/index.json.gz+layer_*.binGPU smoke test on H100:
mntss/clt-gemma-2-2b-426kgoogle/gemma-2-2bThe capital of France isDataLoader