run.sh 248 字节
Newer Older
H
huangjun12 已提交
1
export CUDA_VISIBLE_DEVICES=0,1,2,3
2 3 4 5 6 7 8 9

start_time=$(date +%s)

python -m paddle.distributed.launch train.py -d

end_time=$(date +%s)
cost_time=$[ $end_time-$start_time ]
echo "4 card static training time is $(($cost_time/60))min $(($cost_time%60))s"