Skip to content

Commit 2cae1e4

Browse files
Run XPU Paddlex (#74426)
* Run XPU Paddlex
1 parent c0d63c1 commit 2cae1e4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/_Linux-XPU.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206
CCACHE_DIR: /root/.ccache
207207
CCACHE_MAXSIZE: 150G
208208
CCACHE_LIMIT_MULTIPLE: 0.8
209-
IF_KUNLUN3: "OFF"
209+
IF_KUNLUN3: "ON"
210210
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
211211
home_dir: ${{ github.workspace }}/../../../..
212212
FLAGS_use_stride_kernel: "0"

ci/kunlun_test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,10 @@ set +x
159159
git clone --depth 1000 https://gitee.com/paddlepaddle/PaddleX.git
160160
cd PaddleX
161161
pip install -e .
162+
pip install numpy==1.24.4 pypdfium2
162163

163164
#install paddle x dependency
164-
paddlex --install PaddleClas
165+
paddlex --install PaddleClas -y
165166

166167
#download paddle dataset
167168
wget -q https://paddle-model-ecology.bj.bcebos.com/paddlex/data/cls_flowers_examples.tar -P ./dataset

0 commit comments

Comments
 (0)