[doc] add removed warning

This commit is contained in:
jiangmingyan
2023-05-23 16:34:30 +08:00
parent a520610bd9
commit 75272ef37b
4 changed files with 6 additions and 2 deletions

View File

@@ -2,6 +2,8 @@
Author: Guangyang Lu, Shenggui Li, Siqi Mai
- > ⚠️ The information on this page is outdated and will be deprecated. Please check [Booster API](../basics/booster_api.md) for more information.
**Prerequisite:**
- [Distributed Training](../concepts/distributed_training.md)
- [Colossal-AI Overview](../concepts/colossalai_overview.md)

View File

@@ -362,7 +362,7 @@ for epoch in range(gpc.config.NUM_EPOCHS):
Use the following command to start the training scripts. You can change `--nproc_per_node` to use a different number of GPUs.
```python
```shell
python -m torch.distributed.launch --nproc_per_node 4 --master_addr localhost --master_port 29500 train_with_engine.py --config config/config_AMP_torch.py
```
<!-- doc-test-command: torchrun --standalone --nproc_per_node=1 mixed_precision_training.py -->