Merge pull request #8105 from qiaohaijun/patch-1

for readability
emailweixu-patch-1
Tao Luo 7 years ago committed by GitHub
commit 432d2b5d5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,10 +15,14 @@ PADDLE_CLUSTER_TRAIN=True
env
# start pserver
stdbuf -oL nohup paddle pserver --port=$PADDLE_INIT_PORT --ports_num=$PADDLE_INIT_PORTS_NUM \
--ports_num_for_sparse=$PADDLE_INIT_PORTS_NUM_FOR_SPARSE --nics=$NICS \
stdbuf -oL nohup paddle pserver \
--port=$PADDLE_INIT_PORT \
--ports_num=$PADDLE_INIT_PORTS_NUM \
--ports_num_for_sparse=$PADDLE_INIT_PORTS_NUM_FOR_SPARSE \
--nics=$NICS \
--comment=paddle_cluster_pserver \
--num_gradient_servers=$PADDLE_INIT_NUM_GRADIENT_SERVERS &> logs/pserver.log &
--num_gradient_servers=$PADDLE_INIT_NUM_GRADIENT_SERVERS \
&> logs/pserver.log &
# start trainer
# NOTE: train.py will use the above environment variables as configuration

Loading…
Cancel
Save