File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
paddle/scripts/cluster_train_v2/openmpi Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,14 @@ PADDLE_CLUSTER_TRAIN=True
15
15
env
16
16
17
17
# start pserver
18
- stdbuf -oL nohup paddle pserver --port=$PADDLE_INIT_PORT --ports_num=$PADDLE_INIT_PORTS_NUM \
19
- --ports_num_for_sparse=$PADDLE_INIT_PORTS_NUM_FOR_SPARSE --nics=$NICS \
18
+ stdbuf -oL nohup paddle pserver \
19
+ --port=$PADDLE_INIT_PORT \
20
+ --ports_num=$PADDLE_INIT_PORTS_NUM \
21
+ --ports_num_for_sparse=$PADDLE_INIT_PORTS_NUM_FOR_SPARSE \
22
+ --nics=$NICS \
20
23
--comment=paddle_cluster_pserver \
21
- --num_gradient_servers=$PADDLE_INIT_NUM_GRADIENT_SERVERS & > logs/pserver.log &
24
+ --num_gradient_servers=$PADDLE_INIT_NUM_GRADIENT_SERVERS \
25
+ & > logs/pserver.log &
22
26
23
27
# start trainer
24
28
# NOTE: train.py will use the above environment variables as configuration
You can’t perform that action at this time.
0 commit comments