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.