Skip to content

Commit 78fe1b8

Browse files
update code
1 parent 7ce9af1 commit 78fe1b8

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

examples/water/dpa3/run.sh

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# unset PADDLE_ELASTIC_JOB_ID
2+
# unset PADDLE_TRAINER_ENDPOINTS
3+
# unset DISTRIBUTED_TRAINER_ENDPOINTS
4+
# unset FLAGS_START_PORT
5+
# unset PADDLE_ELASTIC_TIMEOUT
6+
# export NNODES=1
7+
# export PADDLE_TRAINERS_NUM=1
8+
unset CUDA_DEVICE_MAX_CONNECTIONS
9+
10+
HDFS_USE_FILE_LOCKING=0 python -m paddle.distributed.launch --gpus="0,1,2,3,4,5,6,7" --log_dir "logs" dp --pd train input_torch.json -l dp_train.log
11+
12+
# NUM_WORKERS=0 HDFS_USE_FILE_LOCKING=0 python -m paddle.distributed.launch
13+
14+
# python -m paddle.distributed.launch \
15+
# --gpus=0,1,2,3 \
16+
# --ips=10.67.200.17,10.67.200.11,10.67.200.13,10.67.200.15 \
17+
# dp --pd train input_torch.json -l dp_train.log

0 commit comments

Comments
 (0)