未验证 提交 5a72cf43 编写于 作者: X xiegegege 提交者: GitHub

add more models for model_benchmark_ci,test=document_fix (#35178)

上级 ceee71a0
...@@ -56,14 +56,14 @@ function check_whl { ...@@ -56,14 +56,14 @@ function check_whl {
function compile_install_paddle { function compile_install_paddle {
export CUDA_ARCH_NAME=${CUDA_ARCH_NAME:-Auto} export CUDA_ARCH_NAME=${CUDA_ARCH_NAME:-Auto}
export PY_VERSION=3.7 export PY_VERSION=3.7
export WITH_DISTRIBUTE=OFF export WITH_DISTRIBUTE=ON
export WITH_GPU=ON export WITH_GPU=ON
export WITH_TENSORRT=OFF export WITH_TENSORRT=OFF
export WITH_TESTING=OFF export WITH_TESTING=OFF
export WITH_UNITY_BUILD=ON export WITH_UNITY_BUILD=ON
check_whl check_whl
cd /workspace/Paddle cd /workspace/Paddle
git clone --recurse-submodules=PaddleClas --recurse-submodules=PaddleNLP https://github.com/paddlepaddle/benchmark.git 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
} }
function prepare_data { function prepare_data {
...@@ -84,7 +84,8 @@ function run_model_benchmark { ...@@ -84,7 +84,8 @@ function run_model_benchmark {
cd /workspace/Paddle cd /workspace/Paddle
pip install build/pr_whl/*.whl pip install build/pr_whl/*.whl
cd ${cache_dir}/benchmark_data cd ${cache_dir}/benchmark_data
export data_path=${cache_dir}/benchmark_data/dataset export data_path=${cfs_dir}/model_dataset/model_benchmark_data
export prepare_path=${cfs_dir}/model_dataset/model_benchmark_prepare
export BENCHMARK_ROOT=/workspace/Paddle/benchmark export BENCHMARK_ROOT=/workspace/Paddle/benchmark
cd ${BENCHMARK_ROOT}/scripts/benchmark_ci cd ${BENCHMARK_ROOT}/scripts/benchmark_ci
bash model_ci.sh bash model_ci.sh
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册