Skip to content

Commit

Permalink
[CI] Update install ways (#4608)
Browse files Browse the repository at this point in the history
* update install paddlenlp ways

* updata install ways
  • Loading branch information
zjjlivein authored Feb 1, 2023
1 parent 507b1f8 commit a600b41
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/regression/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ upload (){
build_dev_path=/workspace/PaddleNLP_dev
nlp_build ${build_dev_path}
nlp_version=$(python -c "from paddlenlp import __version__; print(__version__)")
cp $build_dev_path/dist/p****.whl ${PPNLP_HOME}/upload/paddlenlp-latest-py3-none-any.whl
cp $build_dev_path/dist/p****.whl ${PPNLP_HOME}/upload/
echo -e "\033[35m ---- build ${GIT_PR_ID} paddlenlp \033[0m"
build_pr_path=${nlp_dir}
nlp_build ${build_pr_path}
Expand All @@ -110,14 +110,14 @@ upload (){
build_dev_path=/workspace/PaddleNLP_dev/$1
nlp_build ${build_dev_path}
pipe_version=$(python -c "from pipelines import __version__; print(__version__)")
cp $build_dev_path/dist/p****.whl ${PPNLP_HOME}/upload/pipelines-latest-py3-none-any.whl
cp $build_dev_path/dist/p****.whl ${PPNLP_HOME}/upload/
elif [ $1 == "ppdiffusers" ];then
echo -e "\033[35m ---- build latest ppdiffusers \033[0m"
python -m pip install --force-reinstall paddlenlp
build_dev_path=/workspace/PaddleNLP_dev/$1
nlp_build ${build_dev_path}
pipe_version=$(python -c "from ppdiffusers import __version__; print(__version__)")
cp $build_dev_path/dist/pa****.whl ${PPNLP_HOME}/upload/ppdiffusers-latest-py3-none-any.whl
cp $build_dev_path/dist/pa****.whl ${PPNLP_HOME}/upload/
fi
}
####################################
Expand Down

0 comments on commit a600b41

Please sign in to comment.