Commit 8aa1fb2c authored by jiangmingyan's avatar jiangmingyan
Browse files

[doc]fix

parent c425a69d
...@@ -246,6 +246,6 @@ for epoch in range(NUM_EPOCHS): ...@@ -246,6 +246,6 @@ for epoch in range(NUM_EPOCHS):
Use the following command to start the training scripts. You can change `--nproc_per_node` to use a different number of GPUs. Use the following command to start the training scripts. You can change `--nproc_per_node` to use a different number of GPUs.
```shell ```shell
colossalai run --nproc_per_node 1 train.py --config config/config.py colossalai run --nproc_per_node 1 train.py
``` ```
<!-- doc-test-command: torchrun --standalone --nproc_per_node=1 mixed_precision_training_with_booster.py --> <!-- doc-test-command: torchrun --standalone --nproc_per_node=1 mixed_precision_training_with_booster.py -->
...@@ -230,6 +230,6 @@ for epoch in range(NUM_EPOCHS): ...@@ -230,6 +230,6 @@ for epoch in range(NUM_EPOCHS):
使用下列命令启动训练脚本,你可以改变 `--nproc_per_node` 以使用不同数量的 GPU。 使用下列命令启动训练脚本,你可以改变 `--nproc_per_node` 以使用不同数量的 GPU。
```shell ```shell
colossalai run --nproc_per_node 1 train.py --config config/config.py colossalai run --nproc_per_node 1 train.py
``` ```
<!-- doc-test-command: torchrun --standalone --nproc_per_node=1 mixed_precision_training_with_booster.py --> <!-- doc-test-command: torchrun --standalone --nproc_per_node=1 mixed_precision_training_with_booster.py -->
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment