[CI] update paddle version to nightly (#3698)

This commit is contained in:
YuBaoku
2025-08-29 18:16:13 +08:00
committed by GitHub
parent c71ee0831c
commit 65425bf858
10 changed files with 11 additions and 23 deletions
+2 -6
View File
@@ -14,15 +14,11 @@ python -m pip install -r requirements.txt
echo "uninstall org"
python -m pip uninstall paddlepaddle-xpu -y
python -m pip uninstall fastdeploy-xpu -y
python -m pip install https://paddle-whl.bj.bcebos.com/nightly/xpu-p800/paddlepaddle-xpu/paddlepaddle_xpu-3.0.0.dev20250817-cp310-cp310-linux_x86_64.whl
# python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/
python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/
echo "build whl"
bash custom_ops/xpu_ops/src/download_dependencies.sh develop
# 由于xvllm更新导致起服务报错 暂时锁死版本
wget https://klx-sdk-release-public.su.bcebos.com/xinfer/daily/eb/20250827/output.tar.gz --no-proxy && tar xf output.tar.gz && mv output xvllm
export XVLLM_PATH=${PWD}/xvllm
export CLANG_PATH=$(pwd)/custom_ops/xpu_ops/src/third_party/xtdk
#export XVLLM_PATH=$(pwd)/custom_ops/xpu_ops/src/third_party/xvllm
export XVLLM_PATH=$(pwd)/custom_ops/xpu_ops/src/third_party/xvllm
bash build.sh || exit 1
echo "pip others"
python -m pip install openai -U
+1 -2
View File
@@ -17,8 +17,7 @@ pwd
git config --global --add safe.directory /workspace1/FastDeploy
#python -m pip install --force-reinstall --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
python -m pip install --force-reinstall paddlepaddle-gpu==3.0.0.dev20250818 -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
python -m pip install --force-reinstall --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
python -m pip install --upgrade --force-reinstall -r requirements/unittest/requirements.txt
python -m pip install xgrammar==0.1.19 torch==2.6.0
bash tools/build_wheel.sh