Skip to content

Conversation

@jlarson4
Copy link
Collaborator

@jlarson4 jlarson4 commented Jan 15, 2026

Description

Several tests were failing due to the unique situations posed by the Gemma3 model integration.

  • rigidity of test_cross_attention confidence testing reduced slightly
  • updated ActivationCache to ensure the tokens variable maintains Int typing for tokens_to_residual_directions
  • Fixed type checking error in transformer_lens/utilities/devices.py thrown by beartype
  • Reversion of edits to checks.yml file that cause issues with incompatible hugging face versions

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

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 f13421d into dev Jan 16, 2026
13 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