Skip to content

Commit

Permalink
remove print (#1408)
Browse files Browse the repository at this point in the history
  • Loading branch information
crcrpar authored Nov 7, 2024
1 parent 3390c92 commit a0a6151
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion thunder/core/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2530,7 +2530,6 @@ def vjp_impl_const(symbol, *args, **kwargs):
# It could be a torch.dropout with 0.0 probability, so we skip it
if symbol.sym.id == "torch.nn.functional.dropout":
return None
print(f"VJP for {symbol} is not implemented")
raise NotImplementedError(f"VJP for {symbol.sym.id} is not implemented")

def _vjp_impl(*args, **kwargs):
Expand Down

0 comments on commit a0a6151

Please sign in to comment.