Skip to content

Commit 1607e56

Browse files
author
lilong12
authored
remove redundant command argument for training using launch.py (PaddlePaddle#1049)
remove command argument train.py from the document, which is added by mistake.
1 parent 26bdbcc commit 1607e56

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/fluid/user_guides/howto/training/cluster_howto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ NCCL2模式必要参数说明
247247

248248
.. code-block:: bash
249249
250-
> PADDLE_NUM_TRAINERS=<TRAINER_COUNT> python -m paddle.distributed.launch train.py --gpus <NUM_GPUS_ON_HOSTS> <ENTRYPOINT_SCRIPT> --arg1 --arg2 ...
250+
> PADDLE_NUM_TRAINERS=<TRAINER_COUNT> python -m paddle.distributed.launch --gpus <NUM_GPUS_ON_HOSTS> <ENTRYPOINT_SCRIPT> --arg1 --arg2 ...
251251
252252
253253
NCCL2分布式训练注意事项

doc/fluid/user_guides/howto/training/cluster_howto_en.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Attention during usage:
226226

227227
.. code-block:: bash
228228
229-
> PADDLE_NUM_TRAINERS=<TRAINER_COUNT> python -m paddle.distributed.launch train.py --gpus <NUM_GPUS_ON_HOSTS> <ENTRYPOINT_SCRIPT> --arg1 --arg2 ...
229+
> PADDLE_NUM_TRAINERS=<TRAINER_COUNT> python -m paddle.distributed.launch --gpus <NUM_GPUS_ON_HOSTS> <ENTRYPOINT_SCRIPT> --arg1 --arg2 ...
230230
231231
Important Notes on NCCL2 Distributed Training
232232
++++++++++++++++++++++++++++++++++++++++++++++

0 commit comments

Comments
 (0)