Skip to content

Commit

Permalink
Fix pr run 1124 (#1162)
Browse files Browse the repository at this point in the history
* Revert "delete --privileged,test=document_fix (#1052)"

This reverts commit f177e92.

* add docker home path, test=document_fix

* test add seg case,test=document_fix

* test add seg case,test=document_fix

* test add seg case,test=document_fix

* test add seg case,test=document_fix

* test add seg case,test=document_fix

* test add seg case,test=document_fix

* add seg case,update seg repo,test=document_fix

* test add seg case,test=document_fix

* test_1104

* fix pr run log,test=document_fix

* fix pr run log,test=document_fix
  • Loading branch information
mmglove authored Nov 24, 2021
1 parent 9944fc4 commit a7397a7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions scripts/docker_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function run_models(){
-e "no_proxy=bcebos.com" \
--net=host \
--cap-add=ALL \
--shm-size=128G \
--shm-size=256G \
${RUN_IMAGE_NAME} \
/bin/bash -c "${run_cmd}"
else
Expand All @@ -228,7 +228,7 @@ function run_models(){
-e "no_proxy=bcebos.com" \
--net=host \
--cap-add=ALL \
--shm-size=128G \
--shm-size=256G \
${RUN_IMAGE_NAME} \
/bin/bash -c "${run_cmd}"
else
Expand All @@ -249,7 +249,7 @@ function run_models(){
-e "no_proxy=bcebos.com" \
--net=host \
--cap-add=ALL \
--shm-size=128G \
--shm-size=256G \
${RUN_IMAGE_NAME} \
/bin/bash -c "${run_cmd}"
fi
Expand Down
9 changes: 4 additions & 5 deletions scripts/pr_run_paddle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ function prepare(){
# this for update the log_path coding mat
export TRAIN_LOG_DIR=${save_log_dir}/train_log
export PROFILER_LOG_DIR=${save_log_dir}/profiler_log

mkdir -p ${TRAIN_LOG_DIR}
mkdir -p ${PROFILER_LOG_DIR}

Expand Down Expand Up @@ -94,8 +93,8 @@ function run(){
export implement_type=static_graph
pip uninstall paddlepaddle-gpu -y
pip install "${static_image_name}"
log_path=${save_log_dir}/static_graph/index
mkdir -p ${log_path}
export LOG_PATH_INDEX_DIR=${save_log_dir}/${implement_type}/index
mkdir -p ${LOG_PATH_INDEX_DIR}
source ${BENCHMARK_ROOT}/scripts/static_graph_models.sh

# static_models , 分割的字符串切分成为数组,然后遍历执行即可。
Expand All @@ -113,8 +112,8 @@ function run(){
export implement_type=dynamic_graph
pip uninstall paddlepaddle-gpu -y
pip install "${dynamic_image_name}"
log_path=${save_log_dir}/dynamic_graph/index
mkdir -p ${log_path}
export LOG_PATH_INDEX_DIR=${save_log_dir}/${implement_type}/index
mkdir -p ${LOG_PATH_INDEX_DIR}
source ${BENCHMARK_ROOT}/scripts/dynamic_graph_models.sh

# dynamic_models , 分割的字符串切分成为数组,然后遍历执行即可。
Expand Down

0 comments on commit a7397a7

Please sign in to comment.