mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 00:17:25 +08:00
[XPU][CI] Fix XPU CI Bug (#6658)
* Simplify dependency installation in workflow Removed triton installation and uninstallation steps. * Simplify dependency installation in workflow Removed triton package installation and uninstallation steps. * Allow docker pull to continue on failure * Update docker pull command to continue on error Modify docker pull command to avoid failure on error. * Allow docker pull to fail without error
This commit is contained in:
@@ -54,7 +54,7 @@ jobs:
|
||||
FULL_REPO="${{ github.repository }}"
|
||||
REPO_NAME="${FULL_REPO##*/}"
|
||||
BASE_BRANCH="${{ github.base_ref }}"
|
||||
docker pull ${docker_image}
|
||||
docker pull ${docker_image} || true
|
||||
# Clean the repository directory before starting
|
||||
docker run --rm --net=host -v $(pwd):/workspace -w /workspace \
|
||||
-e "REPO_NAME=${REPO_NAME}" \
|
||||
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
FULL_REPO="${{ github.repository }}"
|
||||
REPO_NAME="${FULL_REPO##*/}"
|
||||
BASE_BRANCH="${{ github.base_ref }}"
|
||||
docker pull ${docker_image}
|
||||
docker pull ${docker_image} || true
|
||||
# Clean the repository directory before starting
|
||||
docker run --rm --net=host -v $(pwd):/workspace -w /workspace \
|
||||
-e "REPO_NAME=${REPO_NAME}" \
|
||||
@@ -174,8 +174,6 @@ jobs:
|
||||
python -m pip install ${FASTDEPLOY_WHEEL_URL} --no-deps --target=/workspace/FastDeploy
|
||||
echo "============================安装测试依赖============================"
|
||||
python -m pip install openai -U
|
||||
python -m pip uninstall -y triton
|
||||
python -m pip install triton==3.3.0
|
||||
python -m pip install pytest
|
||||
python -m pip install pytest-timeout
|
||||
unset http_proxy
|
||||
|
||||
@@ -58,7 +58,7 @@ jobs:
|
||||
FULL_REPO="${{ github.repository }}"
|
||||
REPO_NAME="${FULL_REPO##*/}"
|
||||
BASE_BRANCH="${{ github.base_ref }}"
|
||||
docker pull ${docker_image}
|
||||
docker pull ${docker_image} || true
|
||||
# Clean the repository directory before starting
|
||||
docker run --rm --net=host -v $(pwd):/workspace -w /workspace \
|
||||
-e "REPO_NAME=${REPO_NAME}" \
|
||||
@@ -163,8 +163,6 @@ jobs:
|
||||
python -m pip install ${FASTDEPLOY_WHEEL_URL} --no-deps --target=/workspace/FastDeploy
|
||||
echo "============================安装测试依赖============================"
|
||||
python -m pip install openai -U
|
||||
python -m pip uninstall -y triton
|
||||
python -m pip install triton==3.3.0
|
||||
python -m pip install pytest
|
||||
python -m pip install pytest-timeout
|
||||
unset http_proxy
|
||||
|
||||
Reference in New Issue
Block a user