Skip to content

Commit 70a29ec

Browse files
authored
[CI] update ernie-4_5-vl baseline (#4495)
* [CI] update ernie-4_5-vl baseline * [CI] update Qwen2.5-VL-7B-Instruct baseline
1 parent a498736 commit 70a29ec

6 files changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/_pre_ce_test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ jobs:
145145
--gpus "\"device=${DEVICES}\"" ${docker_image} /bin/bash -c '
146146
git config --global --add safe.directory /workspace/FastDeploy
147147
cd FastDeploy
148-
# python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
149-
python -m pip install paddlepaddle-gpu==3.3.0.dev20251012 -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
148+
python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
150149
python -m pip install ${fd_wheel_url}
151150
bash scripts/run_pre_ce.sh
152151
'

.github/workflows/_unit_test_coverage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ jobs:
168168
git config --global --add safe.directory /workspace/FastDeploy
169169
cd FastDeploy
170170
git diff origin/${BASE_REF}..HEAD --unified=0 > diff.txt
171-
# python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
172-
python -m pip install paddlepaddle-gpu==3.3.0.dev20251012 -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
171+
python -m pip install --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
173172
pip config set global.extra-index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
174173
175174
python -m pip install -r scripts/unittest_requirement.txt

scripts/run_unittest.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ pwd
1717

1818
git config --global --add safe.directory /workspace1/FastDeploy
1919

20-
# python -m pip install --force-reinstall --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
21-
python -m pip install --force-reinstall paddlepaddle-gpu==3.3.0.dev20251012 -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
20+
python -m pip install --force-reinstall --pre paddlepaddle-gpu -i https://www.paddlepaddle.org.cn/packages/nightly/cu126/
2221
python -m pip install --upgrade --force-reinstall -r requirements/unittest/requirements.txt
2322
python -m pip install xgrammar==0.1.19 torch==2.6.0
2423
bash tools/build_wheel.sh

tests/ci_use/EB_VL_Lite/test_EB_VL_Lite_serving.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ def test_consistency_between_runs(api_url, headers, consistent_payload):
236236
# base result
237237
base_path = os.getenv("MODEL_PATH")
238238
if base_path:
239-
base_file = os.path.join(base_path, "ernie-4_5-vl-base-tp2")
239+
base_file = os.path.join(base_path, "ernie-4_5-vl-base-tp2-fp32")
240240
else:
241-
base_file = "ernie-4_5-vl-base-tp2"
241+
base_file = "ernie-4_5-vl-base-tp2-fp32"
242242
with open(base_file, "r") as f:
243243
content2 = f.read()
244244

tests/ci_use/Qwen2_5_VL/test_Qwen2_5_VL_serving.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ def test_consistency_between_runs(api_url, headers, consistent_payload):
215215
f_o.close()
216216

217217
# base result
218-
content2 = "这张图片展示了一群人在进行手工艺活动。前景中有两个孩子和一个成年人,他们似乎在制作或展示某种手工艺品。成年人手里拿着一个扇子,上面有彩色的图案,可能是在指导孩子们如何制作这个扇子。孩子们看起来很专注,正在认真地观察和学习。背景中还有其他人在进行类似的活动,环境看起来像是在一个教室或工作室里。整体氛围显得非常温馨和积极。"
218+
content2 = """这张图片展示了一群人在进行手工艺活动。前景中有两个孩子和一个成年人,他们似乎在制作或展示某种手工艺品。成年人手里拿着一个扇子,上面有彩色的图案,可能是通过某种方式绘制或涂鸦而成。孩子们看起来很专注,可能是在观察或参与这个过程。
219+
220+
背景中还有其他几个人,其中一个人穿着粉色的衣服,背对着镜头。整个场景看起来像是在一个室内环境中,光线充足,氛围轻松愉快。"""
219221

220222
# Verify that result is same as the base result
221223
assert content1 == content2

tests/e2e/test_EB_VL_Lite_serving.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,9 @@ def test_consistency_between_runs(api_url, headers, consistent_payload):
245245
# base result
246246
base_path = os.getenv("MODEL_PATH")
247247
if base_path:
248-
base_file = os.path.join(base_path, "ernie-4_5-vl-base-tp2")
248+
base_file = os.path.join(base_path, "ernie-4_5-vl-base-tp2-fp32")
249249
else:
250-
base_file = "ernie-4_5-vl-base-tp2"
250+
base_file = "ernie-4_5-vl-base-tp2-fp32"
251251
with open(base_file, "r") as f:
252252
content2 = f.read()
253253

0 commit comments

Comments
 (0)