This work was done during one weekend by research workshop participants and does not represent the work of Apart Research.
ApartSprints
ARENA 4.0 Interpretability Hackathon
66e1cdf44e17beca5dc0c050
ARENA 4.0 Interpretability Hackathon
September 15, 2024
Accepted at the 
66e1cdf44e17beca5dc0c050
 research sprint on 

nnsight transparent debugging

We started this project with the intent of identifying a specific issue with nnsight debugging and submitting a pull request to fix it. We found a minimal test case where an IndexError within a nnsight run wasn’t correctly propagated to the user, making debugging difficult, and wrote up a proposal for some pull requests to fix it. However, after posting the proposal in the discord, we discovered this page in their GitHub (https://github.com/ndif-team/nnsight/blob/2f41eddb14bf3557e02b4322a759c90930250f51/NNsight_Walkthrough.ipynb#L801, ctrl-f “validate”) which addresses the problem. We replicated their solution here (https://colab.research.google.com/drive/1WZNeDQ2zXbP4i2bm7xgC0nhK_1h904RB?usp=sharing) and got a helpful stack trace for the error, including the error type and (several stack layers up) the line causing it.

By 
Aaron Kaufman, David Steinberg
🏆 
4th place
3rd place
2nd place
1st place
 by peer review
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

This project is private