From 174535b1f3e6643afa5e861c686990aaa070a2e2 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Tue, 14 Sep 2021 10:28:39 +0800 Subject: [PATCH] Update git clone model-benchmark CI (#35643) Update git clone model-benchmark CI --- tools/test_ci_model_benchmark.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tools/test_ci_model_benchmark.sh b/tools/test_ci_model_benchmark.sh index 736bf66f01..ba4c1f6b7f 100644 --- a/tools/test_ci_model_benchmark.sh +++ b/tools/test_ci_model_benchmark.sh @@ -63,7 +63,18 @@ function compile_install_paddle { export WITH_UNITY_BUILD=ON check_whl 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 { @@ -96,6 +107,7 @@ case $1 in compile_install_paddle ;; run_benchmark) + init_benchmark prepare_data run_model_benchmark ;; -- GitLab