Skip to content

Commit 07cb11e

Browse files
authored
[XPU][CI] Set pip index URL to Tsinghua mirror (#5277)
* Set pip index URL to Tsinghua mirror * Update ci_xpu.yml * Update Docker image version in CI workflow * Update Docker image tag in CI workflow
1 parent 6a6bf4e commit 07cb11e

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
@@ -28,7 +28,7 @@ jobs:
2828

2929
- name: Code Checkout
3030
env:
31-
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.2.0
31+
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
3232
run: |
3333
REPO="https://github.com/${{ github.repository }}.git"
3434
FULL_REPO="${{ github.repository }}"
@@ -59,7 +59,7 @@ jobs:
5959
6060
- name: Run CI unittest
6161
env:
62-
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.2.0
62+
docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:ci
6363
run: |
6464
runner_name="${{ runner.name }}"
6565
last_char="${runner_name: -1}"

scripts/run_ci_xpu.sh

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

3737
xpu-smi -r -i $XPU_VISIBLE_DEVICES
3838
xpu-smi
39-
39+
python -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
4040
echo "pip requirements"
4141
python -m pip install -r requirements.txt
4242

0 commit comments

Comments
 (0)