Skip to content

Commit

Permalink
fix rebase functional-autograd-checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
kiya00 committed Oct 18, 2024
1 parent 1a454f1 commit 63e426d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thunder/torch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5262,8 +5262,8 @@ def _backward_checkpoint(
) -> tuple[None | TensorLike, ...]:
from thunder.core.transforms import vjp

result = vjp(function)(args, grad_outputs, **kwargs)
return result
result, grads = vjp(function)(args, grad_outputs, **kwargs)
return grads


#
Expand Down

0 comments on commit 63e426d

Please sign in to comment.