From 7fdb91f1f6c0ae0c992c039507a78e043e47e027 Mon Sep 17 00:00:00 2001 From: Howard Huang Date: Tue, 29 Oct 2024 12:22:49 -0700 Subject: [PATCH] Fix DCP tutorial command [ghstack-poisoned] --- recipes_source/distributed_checkpoint_recipe.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes_source/distributed_checkpoint_recipe.rst b/recipes_source/distributed_checkpoint_recipe.rst index 374b5af2b7b..950839966c5 100644 --- a/recipes_source/distributed_checkpoint_recipe.rst +++ b/recipes_source/distributed_checkpoint_recipe.rst @@ -330,9 +330,9 @@ A command line utility is provided for the users convenience, which follows the .. code-block:: bash - python -m torch.distributed.checkpoint.format_utils -m + python -m torch.distributed.checkpoint.format_utils -In the command above, ``mode`` is one of ``torch_to_dcp``` or ``dcp_to_torch``. +In the command above, ``mode`` is one of ``torch_to_dcp`` or ``dcp_to_torch``. Alternatively, methods are also provided for users who may wish to convert checkpoints directly.