$ the-wire · showcase
TransformerLens caps transformers below 5.24
By RepoJournal · Filed · About Interpretability · Composed from the cited sources · methodology
TransformerLens pinned its transformers dependency to 5.23.0 or lower because v5.24.0 broke features it depends on, so any environment that floats the dependency forward will pull an unsupported combination.
Add a ceiling to `transformers` of 5.23.0 TransformerLensOrg/TransformerLens
The cap landed with a docs update alongside it. The maintainer's stated reason: "transformers v5.24.0 introduced some breaking changes that affect some of our features," so the ceiling holds until those are resolved. If you install TransformerLens without pinning transformers yourself, check the resolver picked something at or below 5.23.0 before you trust a run.
Merge pull request #2051 from TransformerLensOrg/fix/transformers-ceiling TransformerLensOrg/TransformerLens
The merge commit carries the same ceiling, meaning the constraint is now on the main branch rather than sitting in an open PR. A repo floating the default branch gets the cap; anything installed from an older ref does not.
patch for transformers v5.24 issues TransformerLensOrg/TransformerLens
A follow-up work patch for v5.24 issues is in progress, but nothing in it lifts the ceiling yet, so treat the pin as the current supported state.
Action items
- → Pin transformers to 5.23.0 or lower in any environment running TransformerLens until the 5.24 issues are patched TransformerLensOrg/TransformerLens [immediate]