[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:
Jiaxin Sui
2026-03-05 11:27:11 +08:00
committed by GitHub
parent 0dc7034ce0
commit 63414ccc13
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -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}" \
+1 -3
View File
@@ -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
+1 -3
View File
@@ -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