Skip to content

Commit f0e0a30

Browse files
authored
【master】update models commit (#1725)
* fix model_ci * update models commit * update models commit
1 parent c648cd7 commit f0e0a30

File tree

11 files changed

+13
-12
lines changed

11 files changed

+13
-12
lines changed

PaddleClas

Submodule PaddleClas updated 904 files

PaddleDetection

Submodule PaddleDetection updated 816 files

PaddleNLP

Submodule PaddleNLP updated 2169 files

PaddleSeg

Submodule PaddleSeg updated 1363 files

dynamic_graph/bert/paddle/run_benchmark.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function _train(){
8282
log_parse_file="mylog_${model_name}/workerlog.0" ;;
8383
*) echo "choose run_mode(sp or mp)"; exit 1;
8484
esac
85-
85+
echo ${train_cmd}
8686
timeout 15m ${train_cmd} > ${log_file} 2>&1
8787
if [ $? -ne 0 ];then
8888
echo -e "${model_name}, FAIL"

dynamic_graph/ppyolov2/paddle/run_benchmark_ppyolov2.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function _train(){
6363
log_parse_file="ppyolov2_log/workerlog.0" ;;
6464
*) echo "choose run_mode(sp or mp)"; exit 1;
6565
esac
66-
66+
echo ${train_cmd}
6767
timeout 15m ${train_cmd} > ${log_file} 2>&1
6868
if [ $? -ne 0 ];then
6969
echo -e "${model_name}, FAIL"

dynamic_graph/resnet/paddle/run_benchmark_resnet.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function _train(){
8282
train_cmd="python -m paddle.distributed.launch --gpus=$CUDA_VISIBLE_DEVICES --log_dir ./mylog_${model_name} tools/train.py "${train_cmd}
8383
log_parse_file="mylog_${model_name}/workerlog.0"
8484
fi
85-
85+
echo ${train_cmd}
8686
timeout 15m ${train_cmd} > ${log_file} 2>&1
8787
if [ $? -ne 0 ];then
8888
echo -e "${model_name}, FAIL"

dynamic_graph/seg_models/paddle/run_benchmark.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,15 @@ function _train(){
6060
--log_iters 5"
6161

6262
if [ ${run_mode} = "sp" ]; then
63-
train_cmd="python -u train.py "${train_cmd}
63+
train_cmd="python -u tools/train.py "${train_cmd}
6464
else
6565
rm -rf ./mylog
66-
train_cmd="python -m paddle.distributed.launch --gpus=$CUDA_VISIBLE_DEVICES --log_dir ./mylog train.py "${train_cmd}
66+
train_cmd="python -m paddle.distributed.launch --gpus=$CUDA_VISIBLE_DEVICES --log_dir ./mylog tools/train.py "${train_cmd}
6767
log_parse_file="mylog/workerlog.0"
6868
fi
6969

7070
echo "#################################${model_name}"
71+
echo ${train_cmd}
7172
timeout 15m ${train_cmd} > ${log_file} 2>&1
7273
if [ $? -ne 0 ];then
7374
echo -e "${model_name}, FAIL"

dynamic_graph/yolov3/paddle/run_benchmark.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ function _train(){
6363
log_parse_file="mylog/workerlog.0" ;;
6464
*) echo "choose run_mode(sp or mp)"; exit 1;
6565
esac
66-
66+
echo ${train_cmd}
6767
timeout 15m ${train_cmd} > ${log_file} 2>&1
6868
if [ $? -ne 0 ];then
6969
echo -e "${model_name}, FAIL"

scripts/benchmark_ci/model_ci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ cd logs
88
mkdir static
99
mkdir dynamic
1010
pip install --upgrade pip
11-
pip install opencv-python==4.2.0.32
11+
pip install -U opencv-python
1212
pip install tqdm
1313
pip install paddlenlp
1414
export FLAGS_call_stack_level=2

scripts/run_model.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function _run(){
4242
kill ${gpu_memory_pid}
4343
awk 'BEGIN {max = 0} {if(NR>1){if ($1 > max) max=$1}} END {print "MAX_GPU_MEMORY_USE=", max}' gpu_use.log
4444
job_et=`date '+%Y%m%d%H%M%S'`
45-
_collect_occupancy
45+
#_collect_occupancy
4646
elif [[ ${index} -eq 3 ]]; then
4747
job_bt=`date '+%Y%m%d%H%M%S'`
4848
_train

0 commit comments

Comments
 (0)