Skip to content

Added 1D tensor handling to TransformerBridge#1266

Merged
jlarson4 merged 1 commit intodevfrom
feature/transformer_bridge_1d_handling
Apr 23, 2026
Merged

Added 1D tensor handling to TransformerBridge#1266
jlarson4 merged 1 commit intodevfrom
feature/transformer_bridge_1d_handling

Conversation

@jlarson4
Copy link
Copy Markdown
Collaborator

Description

Added handing for 1D tensors on `TransformerBridge that matches the implementation on HookedTransformer

Type of change

  • 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 bbc3ec7 into dev Apr 23, 2026
43 of 44 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.

1 participant