[New Model]: support GTE NewModel (#17986)
This commit is contained in:
@@ -46,6 +46,7 @@ def test_models_mteb(
|
||||
vllm_runner,
|
||||
model_info: EmbedModelInfo,
|
||||
) -> None:
|
||||
pytest.skip("Skipping mteb test.")
|
||||
from .mteb_utils import mteb_test_embed_models
|
||||
mteb_test_embed_models(hf_runner, vllm_runner, model_info)
|
||||
|
||||
@@ -60,6 +61,9 @@ def test_models_correctness(
|
||||
if not model_info.enable_test:
|
||||
pytest.skip("Skipping test.")
|
||||
|
||||
# ST will strip the input texts, see test_embedding.py
|
||||
example_prompts = [str(s).strip() for s in example_prompts]
|
||||
|
||||
with vllm_runner(model_info.name,
|
||||
task="embed",
|
||||
dtype=model_info.dtype,
|
||||
|
||||
Reference in New Issue
Block a user