Skip to content

Commit

Permalink
[PyTorch] Update doc for checkpoint API (#695)
Browse files Browse the repository at this point in the history
Update checkpoint API doc

Signed-off-by: Kirthi Shankar Sivamani <[email protected]>
  • Loading branch information
ksivaman authored Mar 4, 2024
1 parent 509ab0b commit 24f78ac
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions transformer_engine/pytorch/distributed.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,6 @@ def checkpoint(
produced (e.g. due to global state), then the checkpointed version won't
be numerically equivalent.
.. warning::
The tuple :attr:`args` must contain only tensors (or :attr:`None`) in order to comply with
PyTorch's :attr:`save_for_backward` method. :attr:`function` must be callable to produce
valid outputs with the inputs :attr:`args` and :attr:`kwargs`.
.. warning::
`use_reentrant=False` does not support early stopping, and will execute the entire forward
pass for the checkpointed module when recomputing activations in the backward pass.
Expand Down

0 comments on commit 24f78ac

Please sign in to comment.