Skip to content

Commit 5a7f1e4

Browse files
H-Huangsvekars
authored andcommitted
Fix DCP tutorial command (#3124)
[ghstack-poisoned]
1 parent 6cbdb63 commit 5a7f1e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipes_source/distributed_checkpoint_recipe.rst

+2-2
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)