From 54cc0651b77a6fb999fe999e089369ece3d1ef07 Mon Sep 17 00:00:00 2001 From: tianshuo78520a <707759223@qq.com> Date: Wed, 28 Jul 2021 17:17:24 +0800 Subject: [PATCH] test=inference-size (#34448) --- paddle/scripts/paddle_build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paddle/scripts/paddle_build.sh b/paddle/scripts/paddle_build.sh index fb6496e8d6c..2dd6cbafac6 100755 --- a/paddle/scripts/paddle_build.sh +++ b/paddle/scripts/paddle_build.sh @@ -2267,6 +2267,11 @@ function main() { test_go_inference_api check_approvals_of_unittest 3 ;; + build_inference) + PADDLE_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}")/../../" && pwd )" + python ${PADDLE_ROOT}/tools/remove_grad_op_and_kernel.py + gen_fluid_lib ${parallel_number} + ;; test_train) gen_fluid_lib ${parallel_number} test_fluid_lib_train -- GitLab