[Cherry-Pick][CI] Revert adapt vl_model baseline changes due to Paddle update(#5732) (#5733)
Some checks failed
CE Compile Job / ce_job_pre_check (push) Has been cancelled
CE Compile Job / print_ce_job_pre_check_outputs (push) Has been cancelled
CE Compile Job / FD-Clone-Linux (push) Has been cancelled
CE Compile Job / Show Code Archive Output (push) Has been cancelled
CE Compile Job / BUILD_SM8090 (push) Has been cancelled
CE Compile Job / BUILD_SM8689 (push) Has been cancelled
CE Compile Job / CE_UPLOAD (push) Has been cancelled

* [Cherry-Pick][CI] Revert adapt vl_model baseline changes due to Paddle update(#5732)

---------

Co-authored-by: yubaoku <yubaoku@baidu.com>
This commit is contained in:
YuBaoku
2025-12-24 12:14:34 +08:00
committed by GitHub
parent 9ff99d2b03
commit f50988d917
3 changed files with 5 additions and 5 deletions

View File

@@ -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()

View File

@@ -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()

View File

@@ -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