Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
75272ef3
Commit
75272ef3
authored
May 23, 2023
by
jiangmingyan
Browse files
[doc] add removed warning
parent
a520610b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
docs/source/en/basics/define_your_config.md
docs/source/en/basics/define_your_config.md
+2
-0
docs/source/en/features/mixed_precision_training.md
docs/source/en/features/mixed_precision_training.md
+1
-1
docs/source/zh-Hans/basics/define_your_config.md
docs/source/zh-Hans/basics/define_your_config.md
+2
-0
docs/source/zh-Hans/features/mixed_precision_training.md
docs/source/zh-Hans/features/mixed_precision_training.md
+1
-1
No files found.
docs/source/en/basics/define_your_config.md
View file @
75272ef3
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
Author: Guangyang Lu, Shenggui Li, Siqi Mai
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:**
**Prerequisite:**
-
[
Distributed Training
](
../concepts/distributed_training.md
)
-
[
Distributed Training
](
../concepts/distributed_training.md
)
-
[
Colossal-AI Overview
](
../concepts/colossalai_overview.md
)
-
[
Colossal-AI Overview
](
../concepts/colossalai_overview.md
)
...
...
docs/source/en/features/mixed_precision_training.md
View file @
75272ef3
...
@@ -362,7 +362,7 @@ for epoch in range(gpc.config.NUM_EPOCHS):
...
@@ -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.
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
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 -->
<!-- doc-test-command: torchrun --standalone --nproc_per_node=1 mixed_precision_training.py -->
docs/source/zh-Hans/basics/define_your_config.md
View file @
75272ef3
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
作者: Guangyang Lu, Shenggui Li, Siqi Mai
作者: Guangyang Lu, Shenggui Li, Siqi Mai
-
> ⚠️ 此页面上的信息已经过时并将被废弃。请在
[
Booster API
](
../basics/booster_api.md
)
页面查阅更新。
**预备知识:**
**预备知识:**
-
[
分布式训练
](
../concepts/distributed_training.md
)
-
[
分布式训练
](
../concepts/distributed_training.md
)
-
[
Colossal-AI 总览
](
../concepts/colossalai_overview.md
)
-
[
Colossal-AI 总览
](
../concepts/colossalai_overview.md
)
...
...
docs/source/zh-Hans/features/mixed_precision_training.md
View file @
75272ef3
...
@@ -339,7 +339,7 @@ for epoch in range(gpc.config.NUM_EPOCHS):
...
@@ -339,7 +339,7 @@ for epoch in range(gpc.config.NUM_EPOCHS):
使用下列命令启动训练脚本,你可以改变
`--nproc_per_node`
以使用不同数量的 GPU。
使用下列命令启动训练脚本,你可以改变
`--nproc_per_node`
以使用不同数量的 GPU。
```
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
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 -->
<!-- doc-test-command: torchrun --standalone --nproc_per_node=1 mixed_precision_training.py -->
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment