Skip to content

Removed unused PythiaArchitectureAdapter from TransformerLens#1332

Merged
jlarson4 merged 1 commit into
TransformerLensOrg:devfrom
Rishik00:pythia-adapter-removal-dev
May 26, 2026
Merged

Removed unused PythiaArchitectureAdapter from TransformerLens#1332
jlarson4 merged 1 commit into
TransformerLensOrg:devfrom
Rishik00:pythia-adapter-removal-dev

Conversation

@Rishik00
Copy link
Copy Markdown
Contributor

Description

Removed the unused PythiaArchitectureAdapter.

As discussed in #1302, the adapter was not wired into ArchitectureAdapterFactory, so Pythia models were already being handled through NeoxArchitectureAdapter via the GPTNeoXForCausalLM path.

Changes made:

  • Removed transformer_lens/model_bridge/supported_architectures/pythia.py
  • Removed PythiaArchitectureAdapter from transformer_lens/model_bridge/supported_architectures/__init__.py

Relevant to issue #1302

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have not rewritten tests relating to key interfaces which would affect backward compatibility

@jlarson4 jlarson4 merged commit 961f971 into TransformerLensOrg:dev May 26, 2026
24 checks passed
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.

2 participants