From f50988d91796edacb962444ce52c14caaf6bf5cf Mon Sep 17 00:00:00 2001 From: YuBaoku <49938469+EmmonsCurse@users.noreply.github.com> Date: Wed, 24 Dec 2025 12:14:34 +0800 Subject: [PATCH] [Cherry-Pick][CI] Revert adapt vl_model baseline changes due to Paddle update(#5732) (#5733) * [Cherry-Pick][CI] Revert adapt vl_model baseline changes due to Paddle update(#5732) --------- Co-authored-by: yubaoku --- tests/ci_use/EB_VL_Lite/test_EB_VL_Lite_serving.py | 4 ++-- tests/e2e/test_EB_VL_Lite_serving.py | 4 ++-- tests/e2e/test_Qwen2_5_VL_serving.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/ci_use/EB_VL_Lite/test_EB_VL_Lite_serving.py b/tests/ci_use/EB_VL_Lite/test_EB_VL_Lite_serving.py index e4f2e2c99..e51018f20 100644 --- a/tests/ci_use/EB_VL_Lite/test_EB_VL_Lite_serving.py +++ b/tests/ci_use/EB_VL_Lite/test_EB_VL_Lite_serving.py @@ -205,9 +205,9 @@ def test_consistency_between_runs(api_url, headers, consistent_payload): # base result base_path = os.getenv("MODEL_PATH") if base_path: - base_file = os.path.join(base_path, "ernie-4_5-vl-base-tp2-dev-1215") + base_file = os.path.join(base_path, "ernie-4_5-vl-base-tp2-dev") else: - base_file = "ernie-4_5-vl-base-tp2-dev-1215" + base_file = "ernie-4_5-vl-base-tp2-dev" with open(base_file, "r") as f: content2 = f.read() diff --git a/tests/e2e/test_EB_VL_Lite_serving.py b/tests/e2e/test_EB_VL_Lite_serving.py index 9d4bba731..f93f355a7 100644 --- a/tests/e2e/test_EB_VL_Lite_serving.py +++ b/tests/e2e/test_EB_VL_Lite_serving.py @@ -204,9 +204,9 @@ def test_consistency_between_runs(api_url, headers, consistent_payload): # base result base_path = os.getenv("MODEL_PATH") if base_path: - base_file = os.path.join(base_path, "ernie-4_5-vl-base-tp2-dev-1215") + base_file = os.path.join(base_path, "ernie-4_5-vl-base-tp2-dev") else: - base_file = "ernie-4_5-vl-base-tp2-dev-1215" + base_file = "ernie-4_5-vl-base-tp2-dev" with open(base_file, "r") as f: content2 = f.read() diff --git a/tests/e2e/test_Qwen2_5_VL_serving.py b/tests/e2e/test_Qwen2_5_VL_serving.py index 55394482a..f175e24b6 100644 --- a/tests/e2e/test_Qwen2_5_VL_serving.py +++ b/tests/e2e/test_Qwen2_5_VL_serving.py @@ -180,7 +180,7 @@ def test_consistency_between_runs(api_url, headers, consistent_payload): f_o.close() # base result - content2 = "这张图片展示了一群人在进行手工艺活动。前景中有两个孩子和一个成年人,他们似乎在制作或展示一件艺术品。成年人手里拿着一个扇子,上面有各种颜色的颜料混合在一起,看起来像是通过某种方式创作的艺术品。孩子们也参与其中,一个孩子正在仔细观察,另一个孩子则在旁边观看。\n\n背景中还有其他人在进行类似的活动,环境看起来像是在一个室内空间,可能是教室或工作室。整体氛围显得非常温馨和愉快,大家似乎都在享受这个创作过程。" + content2 = "这张图片展示了一群人在进行手工艺活动。前景中有两个孩子和一个成年人,他们似乎在制作或展示某种手工艺品。成年人手里拿着一个扇子,上面有彩色的图案,可能是通过某种方式绘制或涂鸦而成。孩子们看起来很专注,可能是在观察或参与这个过程。\n\n背景中还有其他几个人,其中一个人穿着粉色的衣服,背对着镜头。整个场景看起来像是在一个室内环境中,光线充足,氛围轻松愉快。" # Verify that result is same as the base result assert content1 == content2