From 608c5885946a4c85a2097ff7d7e574aaff71aa37 Mon Sep 17 00:00:00 2001 From: plusNew001 Date: Wed, 13 Nov 2024 11:31:06 +0000 Subject: [PATCH 01/16] test ci,do not merge --- .../configs/anomaly_detection/STFPM_2.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 paddlex/configs/anomaly_detection/STFPM_2.yaml diff --git a/paddlex/configs/anomaly_detection/STFPM_2.yaml b/paddlex/configs/anomaly_detection/STFPM_2.yaml new file mode 100644 index 0000000000..bc7ee95e3b --- /dev/null +++ b/paddlex/configs/anomaly_detection/STFPM_2.yaml @@ -0,0 +1,41 @@ +Global: + model: STFPM + mode: check_dataset # check_dataset/train/evaluate/predict + dataset_dir: "/paddle/dataset/paddlex/seg/mvtec_examples" + device: gpu:0,1,2,3 + output: "output" + +CheckDataset: + convert: + enable: False + src_dataset_type: null + split: + enable: False + train_percent: null + val_percent: null + +Train: + epochs_iters: 50 + num_classes: 1 + batch_size: 1 + learning_rate: 0.4 + pretrain_weight_path: null + warmup_steps: 100 + resume_path: null + log_interval: 10 + eval_interval: 100 + +Evaluate: + weight_path: "output/best_model/model.pdparams" + log_interval: 10 + +Predict: + batch_size: 1 + model_dir: "output/best_model/inference" + input: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/uad_grid.png" + kernel_option: + run_mode: paddle + + +Export: + weight_path: https://paddleseg.bj.bcebos.com/dygraph/mvtec_ad/stfpm/stfpm.pdparams From d41b6ee3354e3d706f227512fa326d00c7ac26e7 Mon Sep 17 00:00:00 2001 From: plusNew001 Date: Thu, 14 Nov 2024 11:58:42 +0000 Subject: [PATCH 02/16] test ci do not merge --- paddlex/configs/anomaly_detection/STFPM2.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 paddlex/configs/anomaly_detection/STFPM2.yaml diff --git a/paddlex/configs/anomaly_detection/STFPM2.yaml b/paddlex/configs/anomaly_detection/STFPM2.yaml new file mode 100644 index 0000000000..bc7ee95e3b --- /dev/null +++ b/paddlex/configs/anomaly_detection/STFPM2.yaml @@ -0,0 +1,41 @@ +Global: + model: STFPM + mode: check_dataset # check_dataset/train/evaluate/predict + dataset_dir: "/paddle/dataset/paddlex/seg/mvtec_examples" + device: gpu:0,1,2,3 + output: "output" + +CheckDataset: + convert: + enable: False + src_dataset_type: null + split: + enable: False + train_percent: null + val_percent: null + +Train: + epochs_iters: 50 + num_classes: 1 + batch_size: 1 + learning_rate: 0.4 + pretrain_weight_path: null + warmup_steps: 100 + resume_path: null + log_interval: 10 + eval_interval: 100 + +Evaluate: + weight_path: "output/best_model/model.pdparams" + log_interval: 10 + +Predict: + batch_size: 1 + model_dir: "output/best_model/inference" + input: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/uad_grid.png" + kernel_option: + run_mode: paddle + + +Export: + weight_path: https://paddleseg.bj.bcebos.com/dygraph/mvtec_ad/stfpm/stfpm.pdparams From 7db01c0bb96e8a2ee8e9e1bb85d024f6e2fd1fc9 Mon Sep 17 00:00:00 2001 From: plusNew001 Date: Thu, 14 Nov 2024 12:24:24 +0000 Subject: [PATCH 03/16] test ci do not merge --- paddlex/configs/anomaly_detection/STFPM3.yaml | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 paddlex/configs/anomaly_detection/STFPM3.yaml diff --git a/paddlex/configs/anomaly_detection/STFPM3.yaml b/paddlex/configs/anomaly_detection/STFPM3.yaml new file mode 100644 index 0000000000..bc7ee95e3b --- /dev/null +++ b/paddlex/configs/anomaly_detection/STFPM3.yaml @@ -0,0 +1,41 @@ +Global: + model: STFPM + mode: check_dataset # check_dataset/train/evaluate/predict + dataset_dir: "/paddle/dataset/paddlex/seg/mvtec_examples" + device: gpu:0,1,2,3 + output: "output" + +CheckDataset: + convert: + enable: False + src_dataset_type: null + split: + enable: False + train_percent: null + val_percent: null + +Train: + epochs_iters: 50 + num_classes: 1 + batch_size: 1 + learning_rate: 0.4 + pretrain_weight_path: null + warmup_steps: 100 + resume_path: null + log_interval: 10 + eval_interval: 100 + +Evaluate: + weight_path: "output/best_model/model.pdparams" + log_interval: 10 + +Predict: + batch_size: 1 + model_dir: "output/best_model/inference" + input: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/uad_grid.png" + kernel_option: + run_mode: paddle + + +Export: + weight_path: https://paddleseg.bj.bcebos.com/dygraph/mvtec_ad/stfpm/stfpm.pdparams From badfcf24c62191215b6a6a16b8757897bad48a7f Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Sun, 4 Jan 2026 14:13:11 +0800 Subject: [PATCH 04/16] Add CI workflow for XPU testing --- .github/workflows/xpu_ci.yml | 76 ++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 .github/workflows/xpu_ci.yml diff --git a/.github/workflows/xpu_ci.yml b/.github/workflows/xpu_ci.yml new file mode 100644 index 0000000000..3ab62f6e2a --- /dev/null +++ b/.github/workflows/xpu_ci.yml @@ -0,0 +1,76 @@ +name: CI_XPU + +on: + pull_request: + branches: + - develop + paths-ignore: + - '**.md' + - '**.txt' + workflow_dispatch: + +concurrency: + group: ${{ github.event.pull_request.number }}-xpu-ci + cancel-in-progress: true + +jobs: + CI_XPU: + timeout-minutes: 60 + runs-on: + group: Kunlun + steps: + - name: Print current runner name + run: | + echo "Current runner name: ${{ runner.name }}" + # Because the system version is lower than 2.23, the checkout cannot be used. + # - name: Checkout code + # uses: actions/checkout@v4 + + - name: Code Checkout + env: + docker_image: registry.baidubce.com/device/paddle-xpu:ubuntu20-x86_64-gcc84-py310 + run: | + REPO="https://github.com/${{ github.repository }}.git" + FULL_REPO="${{ github.repository }}" + REPO_NAME="${FULL_REPO##*/}" + BASE_BRANCH="${{ github.base_ref }}" + # Clean the repository directory before starting + docker run --rm --net=host -v $(pwd):/workspace -w /workspace \ + -e "REPO_NAME=${REPO_NAME}" \ + -e "BASE_BRANCH=${BASE_BRANCH}" \ + ${docker_image} /bin/bash -c ' + if [ -d ${REPO_NAME} ]; then + echo "Directory ${REPO_NAME} exists, removing it..." + rm -rf ${REPO_NAME} + fi + ' + git config --global user.name "PaddleXCI" + git config --global user.email "paddlex_ci@example.com" + git clone ${REPO} ${REPO_NAME} -b ${BASE_BRANCH} + cd FastDeploy + if [ "${{ github.event_name }}" = "pull_request" ]; then + git fetch origin pull/${{ github.event.pull_request.number }}/head:pr/${{ github.event.pull_request.number }} + git merge pr/${{ github.event.pull_request.number }} + git log -n 3 --oneline + else + git checkout ${{ github.sha }} + git log -n 3 --oneline + fi + + - name: Run CI unittest + env: + docker_image: registry.baidubce.com/device/paddle-xpu:ubuntu20-x86_64-gcc84-py310 + run: | + runner_name="${{ runner.name }}" + PARENT_DIR=$(dirname "$WORKSPACE") + echo "PARENT_DIR:$PARENT_DIR" + docker run --rm --net=host --cap-add=SYS_PTRACE --privileged --shm-size=64G \ + -v $(pwd):/workspace -w /workspace \ + -e "http_proxy=$(git config --global --get http.proxy)" \ + -e "https_proxy=$(git config --global --get https.proxy)" \ + -e "no_proxy=bcebos.com,mirrors.tuna.tsinghua.edu.cn,127.0.0.1,localhost" \ + ${docker_image} /bin/bash -c " + git config --global --add safe.directory /workspace/PaddleX + cd PaddleX + bash tests/run_xpu_ci.sh + " From 386c403c3771e5567bd7a9c0ff953fef2fb3cbd0 Mon Sep 17 00:00:00 2001 From: plusNew001 Date: Sun, 4 Jan 2026 06:34:37 +0000 Subject: [PATCH 05/16] add xpu ci case --- tests/run_xpu_ci.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/run_xpu_ci.sh diff --git a/tests/run_xpu_ci.sh b/tests/run_xpu_ci.sh new file mode 100644 index 0000000000..a170c294b5 --- /dev/null +++ b/tests/run_xpu_ci.sh @@ -0,0 +1,15 @@ +wget https://paddle-model-ecology.bj.bcebos.com/paddlex/tmp/PaddleTest.tar +tar -xf PaddleTest.tar && rm -rf PaddleTest.tar +xpu-smi +python --version +python -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple +python -m pip install --pre paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ +python -c "import paddle; paddle.version.show()" +cp -r PaddleTest/models/PaddleX/ci ./ +export DEVICE_ID=${cudaid2} +export MEM_SIZE=32 +export DEVICE_TYPE=xpu +rm -rf ci/pr_list.txt +mv ci/pr_list_xpu.txt ci/pr_list.txt +export PIP_DEFAULT_RETRIES=1 +bash ci/ci_run.sh From b90b06cea945a1c21f5c3d64e561406a040c3c35 Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Sun, 4 Jan 2026 14:44:17 +0800 Subject: [PATCH 06/16] Update xpu_ci.yml --- .github/workflows/xpu_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xpu_ci.yml b/.github/workflows/xpu_ci.yml index 3ab62f6e2a..d03bd28a6a 100644 --- a/.github/workflows/xpu_ci.yml +++ b/.github/workflows/xpu_ci.yml @@ -47,7 +47,7 @@ jobs: git config --global user.name "PaddleXCI" git config --global user.email "paddlex_ci@example.com" git clone ${REPO} ${REPO_NAME} -b ${BASE_BRANCH} - cd FastDeploy + cd PaddleX if [ "${{ github.event_name }}" = "pull_request" ]; then git fetch origin pull/${{ github.event.pull_request.number }}/head:pr/${{ github.event.pull_request.number }} git merge pr/${{ github.event.pull_request.number }} From f3dc0fc9338a9da339ba9ce60296d0b938a25160 Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Sun, 4 Jan 2026 14:48:44 +0800 Subject: [PATCH 07/16] Modify CI workflow to fetch PaddleX using wget Updated Git configuration and replaced git clone with wget and tar commands to fetch PaddleX. --- .github/workflows/xpu_ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/xpu_ci.yml b/.github/workflows/xpu_ci.yml index d03bd28a6a..b43d5c434a 100644 --- a/.github/workflows/xpu_ci.yml +++ b/.github/workflows/xpu_ci.yml @@ -44,9 +44,10 @@ jobs: rm -rf ${REPO_NAME} fi ' - git config --global user.name "PaddleXCI" - git config --global user.email "paddlex_ci@example.com" - git clone ${REPO} ${REPO_NAME} -b ${BASE_BRANCH} + git config --global user.name "PaddleCI" + git config --global user.email "paddle_ci@example.com" + wget -q https://paddle-qa.bj.bcebos.com/CodeSync/develop/PaddleX.tar + tar -xf PaddleX.tar && rm -rf PaddleX.tar cd PaddleX if [ "${{ github.event_name }}" = "pull_request" ]; then git fetch origin pull/${{ github.event.pull_request.number }}/head:pr/${{ github.event.pull_request.number }} From fe972ba138ca33987bcf3a5338a5878e7664acbe Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Mon, 5 Jan 2026 10:36:15 +0800 Subject: [PATCH 08/16] Change paddlepaddle-xpu installation method Updated pip install command for paddlepaddle-xpu to use a specific wheel file. --- tests/run_xpu_ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_xpu_ci.sh b/tests/run_xpu_ci.sh index a170c294b5..be85e692c9 100644 --- a/tests/run_xpu_ci.sh +++ b/tests/run_xpu_ci.sh @@ -3,7 +3,7 @@ tar -xf PaddleTest.tar && rm -rf PaddleTest.tar xpu-smi python --version python -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple -python -m pip install --pre paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/ +python -m pip install https://paddle-qa.bj.bcebos.com/paddle-pipeline/Develop-TagBuild-Training-Linux-Xpu-P800-SelfBuiltPypiUse/latest/paddlepaddle_xpu-0.0.0-cp310-cp310-linux_x86_64.whl python -c "import paddle; paddle.version.show()" cp -r PaddleTest/models/PaddleX/ci ./ export DEVICE_ID=${cudaid2} From c2b411b92ac08fd2e72c3770ff458618c74980f6 Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Mon, 5 Jan 2026 14:16:39 +0800 Subject: [PATCH 09/16] Update run_xpu_ci.sh --- tests/run_xpu_ci.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/run_xpu_ci.sh b/tests/run_xpu_ci.sh index be85e692c9..6f85da2d6b 100644 --- a/tests/run_xpu_ci.sh +++ b/tests/run_xpu_ci.sh @@ -7,6 +7,7 @@ python -m pip install https://paddle-qa.bj.bcebos.com/paddle-pipeline/Develop-Ta python -c "import paddle; paddle.version.show()" cp -r PaddleTest/models/PaddleX/ci ./ export DEVICE_ID=${cudaid2} +export PADDLE_PDX_DISABLE_DEV_MODEL_WL=true export MEM_SIZE=32 export DEVICE_TYPE=xpu rm -rf ci/pr_list.txt From 35f6559a23145667b213fec024650d1727af0241 Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Mon, 5 Jan 2026 16:01:57 +0800 Subject: [PATCH 10/16] Delete paddlex/configs/anomaly_detection directory --- paddlex/configs/anomaly_detection/STFPM2.yaml | 41 ------------------- paddlex/configs/anomaly_detection/STFPM3.yaml | 41 ------------------- .../configs/anomaly_detection/STFPM_2.yaml | 41 ------------------- 3 files changed, 123 deletions(-) delete mode 100644 paddlex/configs/anomaly_detection/STFPM2.yaml delete mode 100644 paddlex/configs/anomaly_detection/STFPM3.yaml delete mode 100644 paddlex/configs/anomaly_detection/STFPM_2.yaml diff --git a/paddlex/configs/anomaly_detection/STFPM2.yaml b/paddlex/configs/anomaly_detection/STFPM2.yaml deleted file mode 100644 index bc7ee95e3b..0000000000 --- a/paddlex/configs/anomaly_detection/STFPM2.yaml +++ /dev/null @@ -1,41 +0,0 @@ -Global: - model: STFPM - mode: check_dataset # check_dataset/train/evaluate/predict - dataset_dir: "/paddle/dataset/paddlex/seg/mvtec_examples" - device: gpu:0,1,2,3 - output: "output" - -CheckDataset: - convert: - enable: False - src_dataset_type: null - split: - enable: False - train_percent: null - val_percent: null - -Train: - epochs_iters: 50 - num_classes: 1 - batch_size: 1 - learning_rate: 0.4 - pretrain_weight_path: null - warmup_steps: 100 - resume_path: null - log_interval: 10 - eval_interval: 100 - -Evaluate: - weight_path: "output/best_model/model.pdparams" - log_interval: 10 - -Predict: - batch_size: 1 - model_dir: "output/best_model/inference" - input: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/uad_grid.png" - kernel_option: - run_mode: paddle - - -Export: - weight_path: https://paddleseg.bj.bcebos.com/dygraph/mvtec_ad/stfpm/stfpm.pdparams diff --git a/paddlex/configs/anomaly_detection/STFPM3.yaml b/paddlex/configs/anomaly_detection/STFPM3.yaml deleted file mode 100644 index bc7ee95e3b..0000000000 --- a/paddlex/configs/anomaly_detection/STFPM3.yaml +++ /dev/null @@ -1,41 +0,0 @@ -Global: - model: STFPM - mode: check_dataset # check_dataset/train/evaluate/predict - dataset_dir: "/paddle/dataset/paddlex/seg/mvtec_examples" - device: gpu:0,1,2,3 - output: "output" - -CheckDataset: - convert: - enable: False - src_dataset_type: null - split: - enable: False - train_percent: null - val_percent: null - -Train: - epochs_iters: 50 - num_classes: 1 - batch_size: 1 - learning_rate: 0.4 - pretrain_weight_path: null - warmup_steps: 100 - resume_path: null - log_interval: 10 - eval_interval: 100 - -Evaluate: - weight_path: "output/best_model/model.pdparams" - log_interval: 10 - -Predict: - batch_size: 1 - model_dir: "output/best_model/inference" - input: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/uad_grid.png" - kernel_option: - run_mode: paddle - - -Export: - weight_path: https://paddleseg.bj.bcebos.com/dygraph/mvtec_ad/stfpm/stfpm.pdparams diff --git a/paddlex/configs/anomaly_detection/STFPM_2.yaml b/paddlex/configs/anomaly_detection/STFPM_2.yaml deleted file mode 100644 index bc7ee95e3b..0000000000 --- a/paddlex/configs/anomaly_detection/STFPM_2.yaml +++ /dev/null @@ -1,41 +0,0 @@ -Global: - model: STFPM - mode: check_dataset # check_dataset/train/evaluate/predict - dataset_dir: "/paddle/dataset/paddlex/seg/mvtec_examples" - device: gpu:0,1,2,3 - output: "output" - -CheckDataset: - convert: - enable: False - src_dataset_type: null - split: - enable: False - train_percent: null - val_percent: null - -Train: - epochs_iters: 50 - num_classes: 1 - batch_size: 1 - learning_rate: 0.4 - pretrain_weight_path: null - warmup_steps: 100 - resume_path: null - log_interval: 10 - eval_interval: 100 - -Evaluate: - weight_path: "output/best_model/model.pdparams" - log_interval: 10 - -Predict: - batch_size: 1 - model_dir: "output/best_model/inference" - input: "https://paddle-model-ecology.bj.bcebos.com/paddlex/imgs/demo_image/uad_grid.png" - kernel_option: - run_mode: paddle - - -Export: - weight_path: https://paddleseg.bj.bcebos.com/dygraph/mvtec_ad/stfpm/stfpm.pdparams From 7de9eeff6dd59161d10d41a592ff13c62e3f7176 Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Mon, 5 Jan 2026 17:38:57 +0800 Subject: [PATCH 11/16] Update DEVICE_ID to use multiple values --- tests/run_xpu_ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_xpu_ci.sh b/tests/run_xpu_ci.sh index 6f85da2d6b..bd1c6f9c1e 100644 --- a/tests/run_xpu_ci.sh +++ b/tests/run_xpu_ci.sh @@ -6,7 +6,7 @@ python -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simp python -m pip install https://paddle-qa.bj.bcebos.com/paddle-pipeline/Develop-TagBuild-Training-Linux-Xpu-P800-SelfBuiltPypiUse/latest/paddlepaddle_xpu-0.0.0-cp310-cp310-linux_x86_64.whl python -c "import paddle; paddle.version.show()" cp -r PaddleTest/models/PaddleX/ci ./ -export DEVICE_ID=${cudaid2} +export DEVICE_ID=0,1 export PADDLE_PDX_DISABLE_DEV_MODEL_WL=true export MEM_SIZE=32 export DEVICE_TYPE=xpu From f047efd5c7a08d5aab7dde6ae8d69bdb15a10230 Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Tue, 6 Jan 2026 11:39:35 +0800 Subject: [PATCH 12/16] Change DEVICE_ID for XPU CI script --- tests/run_xpu_ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_xpu_ci.sh b/tests/run_xpu_ci.sh index bd1c6f9c1e..0e71b47c9c 100644 --- a/tests/run_xpu_ci.sh +++ b/tests/run_xpu_ci.sh @@ -6,7 +6,7 @@ python -m pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simp python -m pip install https://paddle-qa.bj.bcebos.com/paddle-pipeline/Develop-TagBuild-Training-Linux-Xpu-P800-SelfBuiltPypiUse/latest/paddlepaddle_xpu-0.0.0-cp310-cp310-linux_x86_64.whl python -c "import paddle; paddle.version.show()" cp -r PaddleTest/models/PaddleX/ci ./ -export DEVICE_ID=0,1 +export DEVICE_ID=6,7 export PADDLE_PDX_DISABLE_DEV_MODEL_WL=true export MEM_SIZE=32 export DEVICE_TYPE=xpu From 00c8d7f72ac826ebdae9fa9718f8c84d2bbeee16 Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Tue, 6 Jan 2026 11:40:16 +0800 Subject: [PATCH 13/16] Update xpu_ci.yml --- .github/workflows/xpu_ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/xpu_ci.yml b/.github/workflows/xpu_ci.yml index b43d5c434a..c480714e24 100644 --- a/.github/workflows/xpu_ci.yml +++ b/.github/workflows/xpu_ci.yml @@ -16,8 +16,7 @@ concurrency: jobs: CI_XPU: timeout-minutes: 60 - runs-on: - group: Kunlun + runs-on: [self-hosted, XPU-P800-2Card] steps: - name: Print current runner name run: | From 7dec0e1a37654cb1e2c540dfe322c5b899eeaef8 Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Tue, 6 Jan 2026 14:37:29 +0800 Subject: [PATCH 14/16] Change wget command to remove quiet option --- .github/workflows/xpu_ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/xpu_ci.yml b/.github/workflows/xpu_ci.yml index c480714e24..1ce4ebf2ec 100644 --- a/.github/workflows/xpu_ci.yml +++ b/.github/workflows/xpu_ci.yml @@ -45,7 +45,7 @@ jobs: ' git config --global user.name "PaddleCI" git config --global user.email "paddle_ci@example.com" - wget -q https://paddle-qa.bj.bcebos.com/CodeSync/develop/PaddleX.tar + wget https://paddle-qa.bj.bcebos.com/CodeSync/develop/PaddleX.tar tar -xf PaddleX.tar && rm -rf PaddleX.tar cd PaddleX if [ "${{ github.event_name }}" = "pull_request" ]; then From 549e1e090dc5ffe8664a09bb47ceaa9061575cfb Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Tue, 6 Jan 2026 14:42:46 +0800 Subject: [PATCH 15/16] Replace wget and tar with git clone for PaddleX --- .github/workflows/xpu_ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/xpu_ci.yml b/.github/workflows/xpu_ci.yml index 1ce4ebf2ec..8a97476de8 100644 --- a/.github/workflows/xpu_ci.yml +++ b/.github/workflows/xpu_ci.yml @@ -45,8 +45,7 @@ jobs: ' git config --global user.name "PaddleCI" git config --global user.email "paddle_ci@example.com" - wget https://paddle-qa.bj.bcebos.com/CodeSync/develop/PaddleX.tar - tar -xf PaddleX.tar && rm -rf PaddleX.tar + git clone ${REPO} ${REPO_NAME} -b ${BASE_BRANCH} cd PaddleX if [ "${{ github.event_name }}" = "pull_request" ]; then git fetch origin pull/${{ github.event.pull_request.number }}/head:pr/${{ github.event.pull_request.number }} From 1599859a74147e533dcf52468110ccdcdef7c49a Mon Sep 17 00:00:00 2001 From: Jiaxin Sui <95567040+plusNew001@users.noreply.github.com> Date: Tue, 6 Jan 2026 19:50:24 +0800 Subject: [PATCH 16/16] Update xpu_ci.yml --- .github/workflows/xpu_ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/xpu_ci.yml b/.github/workflows/xpu_ci.yml index 8a97476de8..cac51fafe9 100644 --- a/.github/workflows/xpu_ci.yml +++ b/.github/workflows/xpu_ci.yml @@ -27,7 +27,7 @@ jobs: - name: Code Checkout env: - docker_image: registry.baidubce.com/device/paddle-xpu:ubuntu20-x86_64-gcc84-py310 + docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.3.0 run: | REPO="https://github.com/${{ github.repository }}.git" FULL_REPO="${{ github.repository }}" @@ -58,7 +58,7 @@ jobs: - name: Run CI unittest env: - docker_image: registry.baidubce.com/device/paddle-xpu:ubuntu20-x86_64-gcc84-py310 + docker_image: ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.3.0 run: | runner_name="${{ runner.name }}" PARENT_DIR=$(dirname "$WORKSPACE")