mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-12-24 13:28:13 +08:00
[Sync] Update to latest code (#2679)
* [Sync] Update to latest code * Add new code files * Add new code files * update code * Try to fix build.sh * Try to fix build.sh * Update code * Update requirements.txt * Update code --------- Co-authored-by: Jiang-Jia-Jun <jiangjiajun@baidu.com>
This commit is contained in:
5
build.sh
5
build.sh
@@ -166,7 +166,7 @@ function build_and_install() {
|
||||
|
||||
echo -e "${BLUE}[install]${NONE} installing fastdeploy..."
|
||||
cd $DIST_DIR
|
||||
${python} -m pip install ./dist/fastdeploy*.whl --force-reinstall --no-cache-dir
|
||||
find . -name "fastdeploy*.whl" | xargs ${python} -m pip install --force-reinstall --no-cache-dir
|
||||
if [ $? -ne 0 ]; then
|
||||
cd ..
|
||||
echo -e "${RED}[FAIL]${NONE} install fastdeploy wheel failed"
|
||||
@@ -228,6 +228,9 @@ if [ "$BUILD_WHEEL" -eq 1 ]; then
|
||||
${BLUE}fastdeploy branch:${NONE} $EFFLLM_BRANCH ($EFFLLM_COMMIT)\n"
|
||||
|
||||
echo -e "${GREEN}wheel saved under${NONE} ${RED}${BOLD}./dist${NONE}"
|
||||
|
||||
# install wheel
|
||||
${python} -m pip install ./dist/fastdeploy*.whl
|
||||
echo -e "${GREEN}wheel install success${NONE}\n"
|
||||
|
||||
trap : 0
|
||||
|
||||
Reference in New Issue
Block a user