[DCP] Cross-link DCP doc to tutorials (#139776)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/139776
Approved by: https://github.com/mhorowitz, https://github.com/LucasLLC, https://github.com/fduwjj
ghstack dependencies: #139938
This commit is contained in:
Will Constable 2024-11-06 15:26:12 -08:00 committed by PyTorch MergeBot
parent b51b7e28ee
commit 2b400236c2

View file

@ -15,6 +15,13 @@ DCP is different than `torch.save` and `torch.load` in a few significant ways:
The entrypoints to load and save a checkpoint are the following:
Additional resources:
---------------------
* `Getting Started with Distributed Checkpoint (DCP) <https://pytorch.org/tutorials/recipes/distributed_checkpoint_recipe.html>`__
* `Asynchronous Saving with Distributed Checkpoint (DCP) <https://pytorch.org/tutorials/recipes/distributed_async_checkpoint_recipe.html>`__
* `TorchTitan Checkpointing Docs <https://github.com/pytorch/torchtitan/blob/main/docs/checkpoint.md>`__
* `TorchTitan DCP Implementation <https://github.com/pytorch/torchtitan/blob/main/torchtitan/checkpoint.py>`__
.. automodule:: torch.distributed.checkpoint