[CI] Increase the MTEB_EMBED_TOL threshold to 5e-4. (#31797)

Signed-off-by: wang.yuqi <yuqi.wang@daocloud.io>
This commit is contained in:
wang.yuqi
2026-01-06 19:30:05 +08:00
committed by GitHub
parent db318326a5
commit 43d384bab4
5 changed files with 2 additions and 7 deletions

View File

@@ -19,9 +19,9 @@ from tests.models.utils import (
# - Model implementation and minor changes in tensor dtype
# results in differences less than 1e-4
# - Different model results in differences more than 1e-3
# 1e-4 is a good tolerance threshold
# 5e-4 is a good tolerance threshold
MTEB_EMBED_TASKS = ["STS12"]
MTEB_EMBED_TOL = 1e-4
MTEB_EMBED_TOL = 5e-4
_empty_model_meta = ModelMeta(