Skip to content

Commit 5b53639

Browse files
committed
warning DDP mode is temporarily unavailable
1 parent 62f34aa commit 5b53639

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/tools/training.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ In this example, reference code for learning is provided in the torchpipe's exam
7373
sh train_dp.sh
7474
```
7575
- train_ddp.py # if you use ddp in your code,you can refer to this code.
76+
77+
:::warning DDP mode is temporarily unavailable
78+
DDP mode may cause the main card's memory load to be higher than other cards.
79+
:::
80+
7681
```
7782
sh train_ddp.sh
7883
```

i18n/zh/docusaurus-plugin-content-docs/current/tools/training.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ type: explainer
7272
sh train_dp.sh
7373
```
7474
- train_ddp.py 如果多卡并行使用了ddp,可以参考这份代码。
75+
76+
:::warning ddp 模式暂时不可用
77+
ddp模式可能造成主卡显存负载过高于其他卡
78+
:::
79+
7580
```
7681
sh train_ddp.sh
7782
```

0 commit comments

Comments
 (0)