stanfordnlp / pyvene

Stanford NLP Python Library for Understanding and Improving PyTorch Models via Interventions
http://pyvene.ai
Apache License 2.0
652 stars 63 forks source link

[P0] Fix subspace broadcast issue #183

Open PinetreePantry opened 3 months ago

PinetreePantry commented 3 months ago

Description

Subspace broadcasting did not handle many cases that require broadcasting. This has been causing subtle bugs in pyvene calls with subspaces

Testing Done

Checklist: