未验证 提交 174535b1 编写于 作者: T tianshuo78520a 提交者: GitHub

Update git clone model-benchmark CI (#35643)

Update git clone model-benchmark CI
上级 7c96efed
...@@ -63,7 +63,18 @@ function compile_install_paddle { ...@@ -63,7 +63,18 @@ function compile_install_paddle {
export WITH_UNITY_BUILD=ON export WITH_UNITY_BUILD=ON
check_whl check_whl
cd /workspace/Paddle cd /workspace/Paddle
git clone --depth=1 --recurse-submodules=PaddleClas --recurse-submodules=PaddleNLP --recurse-submodules=PaddleDetection --recurse-submodules=PaddleVideo --recurse-submodules=PaddleSeg --recurse-submodules=PaddleGAN --recurse-submodules=PaddleOCR --recurse-submodules=models https://github.com/paddlepaddle/benchmark.git git clone --depth=1 https://github.com/paddlepaddle/benchmark.git
cd benchmark
set +x
wget -q --no-proxy https://xly-devops.bj.bcebos.com/benchmark/new_clone/benchmark/benchmark_allgit.tar.gz
tar xf benchmark_allgit.tar.gz
set -x
}
function init_benchmark {
cd /workspace/Paddle/benchmark
git clone PaddleClas.bundle PaddleClas
} }
function prepare_data { function prepare_data {
...@@ -96,6 +107,7 @@ case $1 in ...@@ -96,6 +107,7 @@ case $1 in
compile_install_paddle compile_install_paddle
;; ;;
run_benchmark) run_benchmark)
init_benchmark
prepare_data prepare_data
run_model_benchmark run_model_benchmark
;; ;;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册