未验证 提交 1375b3f7 编写于 作者: T tianshuo78520a 提交者: GitHub

fix python (#54724)

上级 8947488c
...@@ -45,7 +45,7 @@ do ...@@ -45,7 +45,7 @@ do
cur_port=${PADDLE_PSERVER_PORT_ARRAY[$i]} cur_port=${PADDLE_PSERVER_PORT_ARRAY[$i]}
echo "PADDLE WILL START PSERVER "$cur_port echo "PADDLE WILL START PSERVER "$cur_port
export PADDLE_PORT=${cur_port} export PADDLE_PORT=${cur_port}
python3.7 -u $SC &> ./log/pserver.$i.log & python -u $SC &> ./log/pserver.$i.log &
done done
# run trainer # run trainer
...@@ -54,7 +54,7 @@ for((i=0;i<$PADDLE_TRAINERS;i++)) ...@@ -54,7 +54,7 @@ for((i=0;i<$PADDLE_TRAINERS;i++))
do do
echo "PADDLE WILL START Trainer "$i echo "PADDLE WILL START Trainer "$i
export PADDLE_TRAINER_ID=$i export PADDLE_TRAINER_ID=$i
python3.7 -u $SC &> ./log/worker.$i.log python -u $SC &> ./log/worker.$i.log
done done
if [ $? -eq 0 ];then if [ $? -eq 0 ];then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册