Skip to content

Commit

Permalink
Merge pull request #98 from stanfordnlp/aryaman-runtime-fix
Browse files Browse the repository at this point in the history
[P0] remove autograd debugging
  • Loading branch information
frankaging authored Jan 30, 2024
2 parents 8c0e544 + 9d747e8 commit 2531a5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyvene/models/intervenable_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ def _wait_for_forward_with_parallel_intervention(
activations_sources: Optional[Dict] = None,
subspaces: Optional[List] = None,
):
torch.autograd.set_detect_anomaly(True)
# torch.autograd.set_detect_anomaly(True)
all_set_handlers = HandlerList([])
unit_locations_sources = unit_locations["sources->base"][0]
unit_locations_base = unit_locations["sources->base"][1]
Expand Down

0 comments on commit 2531a5f

Please sign in to comment.