Skip to content

Commit 38b14d7

Browse files
authored
Merge branch 'main' into chirag/fix-ddp-tutorial
2 parents e865c2d + b465aa7 commit 38b14d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes_source/distributed_checkpoint_recipe.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,9 +330,9 @@ A command line utility is provided for the users convenience, which follows the
330330

331331
.. code-block:: bash
332332
333-
python -m torch.distributed.checkpoint.format_utils -m <checkpoint location> <location to write formats to> <mode>
333+
python -m torch.distributed.checkpoint.format_utils <mode> <checkpoint location> <location to write formats to>
334334
335-
In the command above, ``mode`` is one of ``torch_to_dcp``` or ``dcp_to_torch``.
335+
In the command above, ``mode`` is one of ``torch_to_dcp`` or ``dcp_to_torch``.
336336

337337

338338
Alternatively, methods are also provided for users who may wish to convert checkpoints directly.

0 commit comments

Comments
 (0)