[Cherry-pick][XPU][CI] Set pip index URL to Tsinghua mirror (#5277) (#5280)
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled

* Update run_ci_xpu.sh

* Update Docker image tag in CI workflow
This commit is contained in:
Jiaxin Sui
2025-11-28 10:14:14 +08:00
committed by GitHub
parent 9a640b3d6b
commit bab01e9f85
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ jobs:
- name: Code Checkout
env:
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.2.0
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
run: |
REPO="https://github.com/${{ github.repository }}.git"
FULL_REPO="${{ github.repository }}"
@@ -55,7 +55,7 @@ jobs:
- name: Run CI unittest
env:
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.2.0
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
run: |
runner_name="${{ runner.name }}"
last_char="${runner_name: -1}"

View File

@@ -30,7 +30,7 @@ export PATH=/workspace/deps/xre/bin:$PATH
xpu-smi -r -i $XPU_VISIBLE_DEVICES
xpu-smi
python -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
echo "pip requirements"
python -m pip install -r requirements.txt