Skip to content

Commit 1728383

Browse files
update distributed script in user guide ~
1 parent 2151a8a commit 1728383

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/zh/user_guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,8 @@ best_value: 0.02460772916674614
952952
953953
``` sh
954954
# 指定 0,1,2,3 张卡启动分布式数据并行训练
955-
export CUDA_VISIBLE_DEVICES=0,1,2,3
956-
python -m paddle.distributed.launch --gpus="0,1,2,3" poiseuille_flow.py
955+
CUDA_VISIBLE_DEVICES=0,1,2,3 \
956+
python -m paddle.distributed.launch poiseuille_flow.py
957957
```
958958
959959
<!-- #### 2.2.2 模型并行

0 commit comments

Comments
 (0)