From 2b105211d3a1a36c703340696aeefea2bd3f328e Mon Sep 17 00:00:00 2001 From: xiegegege <46314656+xiegegege@users.noreply.github.com> Date: Tue, 7 Sep 2021 21:08:53 +0800 Subject: [PATCH] Add depth while cloning benchmark code (#35548) * Add depth while cloning benchmark code,test=document_fix * Add depth while cloning benchmark code, test=document_fix --- tools/test_ci_model_benchmark.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test_ci_model_benchmark.sh b/tools/test_ci_model_benchmark.sh index 85931ead13..654b802e87 100644 --- a/tools/test_ci_model_benchmark.sh +++ b/tools/test_ci_model_benchmark.sh @@ -63,7 +63,7 @@ function compile_install_paddle { export WITH_UNITY_BUILD=ON check_whl cd /workspace/Paddle - git clone --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=100 --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 } function prepare_data { -- GitLab