Skip to content

Commit

Permalink
notest;benchmark-cpu
Browse files Browse the repository at this point in the history
  • Loading branch information
tianshuo78520a committed Aug 4, 2021
1 parent e2de89c commit e1fe992
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tools/test_ci_model_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,17 @@ function check_whl {
[ $? -ne 0 ] && echo "build paddle failed." && exit 1
pip uninstall -y paddlepaddle_gpu
pip install build/python/dist/*.whl
mkdir build/pr_whl && cp build/python/dist/*.whl build/pr_whl
[ $? -ne 0 ] && echo "install paddle failed." && exit 1

mkdir build/pr_whl && cp build/python/dist/*.whl build/pr_whl
mkdir -p /tmp/pr && mkdir -p /tmp/develop
unzip -q build/python/dist/*.whl -d /tmp/pr
rm -f build/python/dist/*.whl && rm -f build/python/build/.timestamp

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

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

2 comments on commit e1fe992

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.