Skip to content

Commit 704ba25

Browse files
committed
add ci
1 parent 515b8e9 commit 704ba25

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

scripts/run_ci_xpu.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,12 @@ echo "uninstall org"
2020
python -m pip uninstall paddlepaddle-xpu -y
2121
python -m pip uninstall fastdeploy-xpu -y
2222

23-
python -m pip install paddlepaddle-xpu -i https://www.paddlepaddle.org.cn/packages/nightly/xpu-p800/
23+
python -m pip install https://paddle-qa.bj.bcebos.com/paddle-pipeline/Release-TagBuild-Training-Linux-Xpu-P800-SelfBuiltPypiUse/latest/paddlepaddle_xpu-0.0.0-cp310-cp310-linux_x86_64.whl
2424

2525
echo "build whl"
26-
bash custom_ops/xpu_ops/download_dependencies.sh develop
26+
bash custom_ops/xpu_ops/download_dependencies.sh stable
2727
export CLANG_PATH=$(pwd)/custom_ops/xpu_ops/third_party/xtdk
2828
export XVLLM_PATH=$(pwd)/custom_ops/xpu_ops/third_party/xvllm
29-
3029
bash build.sh || exit 1
3130

3231
echo "pip others"
@@ -54,7 +53,8 @@ python -m fastdeploy.entrypoints.openai.api_server \
5453
--num-gpu-blocks-override 16384 \
5554
--max-model-len 32768 \
5655
--max-num-seqs 128 \
57-
--quantization wint4 > server.log 2>&1 &
56+
--quantization wint4 \
57+
--load-choices default > server.log 2>&1 &
5858

5959
sleep 60
6060
# 探活
@@ -121,7 +121,8 @@ python -m fastdeploy.entrypoints.openai.api_server \
121121
--num-gpu-blocks-override 16384 \
122122
--max-model-len 32768 \
123123
--max-num-seqs 64 \
124-
--quantization "W4A8" > server.log 2>&1 &
124+
--quantization "W4A8" \
125+
--load-choices default > server.log 2>&1 &
125126

126127
sleep 60
127128
# 探活
@@ -191,7 +192,8 @@ python -m fastdeploy.entrypoints.openai.api_server \
191192
--enable-mm \
192193
--mm-processor-kwargs '{"video_max_frames": 30}' \
193194
--limit-mm-per-prompt '{"image": 10, "video": 3}' \
194-
--reasoning-parser ernie-45-vl > server.log 2>&1 &
195+
--reasoning-parser ernie-45-vl \
196+
--load-choices default > server.log 2>&1 &
195197

196198
sleep 60
197199
# 探活
@@ -283,4 +285,4 @@ if [ ${ep_exit_code} -ne 0 ]; then
283285
cat log/workerlog.0
284286
echo "EP并行 相关测试失败,请检查pr代码"
285287
exit 1
286-
fi
288+
fi

tests/ci_use/XPU_45T/run_ep.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ def test_fd_ep():
4444
quantization="wint4",
4545
engine_worker_queue_port=engine_worker_queue_port,
4646
max_num_seqs=8,
47+
load_choices="default",
4748
)
4849

4950
try:

0 commit comments

Comments
 (0)