未验证 提交 f2e92c5d 编写于 作者: Q qiao hai-jun 提交者: GitHub

Update start_mpi_train.sh

上级 022e5dee
...@@ -15,10 +15,14 @@ PADDLE_CLUSTER_TRAIN=True ...@@ -15,10 +15,14 @@ PADDLE_CLUSTER_TRAIN=True
env env
# start pserver # start pserver
stdbuf -oL nohup paddle pserver --port=$PADDLE_INIT_PORT --ports_num=$PADDLE_INIT_PORTS_NUM \ stdbuf -oL nohup paddle pserver \
--ports_num_for_sparse=$PADDLE_INIT_PORTS_NUM_FOR_SPARSE --nics=$NICS \ --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 \ --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 # start trainer
# NOTE: train.py will use the above environment variables as configuration # NOTE: train.py will use the above environment variables as configuration
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册