Skip to content

Commit e1fe992

Browse files
notest;benchmark-cpu
1 parent e2de89c commit e1fe992

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tools/test_ci_model_benchmark.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,19 +20,17 @@ function check_whl {
2020
[ $? -ne 0 ] && echo "build paddle failed." && exit 1
2121
pip uninstall -y paddlepaddle_gpu
2222
pip install build/python/dist/*.whl
23-
mkdir build/pr_whl && cp build/python/dist/*.whl build/pr_whl
2423
[ $? -ne 0 ] && echo "install paddle failed." && exit 1
25-
24+
mkdir build/pr_whl && cp build/python/dist/*.whl build/pr_whl
2625
mkdir -p /tmp/pr && mkdir -p /tmp/develop
2726
unzip -q build/python/dist/*.whl -d /tmp/pr
2827
rm -f build/python/dist/*.whl && rm -f build/python/build/.timestamp
2928

3029
git checkout .
3130
git checkout -b develop_base_pr upstream/$BRANCH
32-
bash -x paddle/scripts/paddle_build.sh build
33-
#make -j `nproc`
3431
[ $? -ne 0 ] && echo "install paddle failed." && exit 1
3532
cd build
33+
make -j `nproc`
3634
unzip -q python/dist/*.whl -d /tmp/develop
3735

3836
sed -i '/version.py/d' /tmp/pr/*/RECORD

0 commit comments

Comments
 (0)