Skip to content

Commit bab01e9

Browse files
authored
[Cherry-pick][XPU][CI] Set pip index URL to Tsinghua mirror (#5277) (#5280)
* Update run_ci_xpu.sh * Update Docker image tag in CI workflow
1 parent 9a640b3 commit bab01e9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci_xpu.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424

2525
- name: Code Checkout
2626
env:
27-
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.2.0
27+
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
2828
run: |
2929
REPO="https://github.com/${{ github.repository }}.git"
3030
FULL_REPO="${{ github.repository }}"
@@ -55,7 +55,7 @@ jobs:
5555
5656
- name: Run CI unittest
5757
env:
58-
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.2.0
58+
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
5959
run: |
6060
runner_name="${{ runner.name }}"
6161
last_char="${runner_name: -1}"

scripts/run_ci_xpu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export PATH=/workspace/deps/xre/bin:$PATH
3030

3131
xpu-smi -r -i $XPU_VISIBLE_DEVICES
3232
xpu-smi
33-
33+
python -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
3434
echo "pip requirements"
3535
python -m pip install -r requirements.txt
3636

0 commit comments

Comments
 (0)