Skip to content

Commit

Permalink
fix model_benchmark ci (#33035)
Browse files Browse the repository at this point in the history
* fix model_bhecnmark ci

* fix model_bhecnmark ci
  • Loading branch information
tianshuo78520a authored May 21, 2021
1 parent a85eddd commit 0e5d832
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/test_model_benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ function check_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
cd build
make -j `nproc`
[ $? -ne 0 ] && echo "install paddle failed." && exit 1
unzip -q python/dist/*.whl -d /tmp/develop

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

0 comments on commit 0e5d832

Please sign in to comment.