[Model] Remove obsolete ERNIE models (#45127)
Signed-off-by: Xianbao QIAN <xianbao.qian@gmail.com> Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,6 @@ from vllm.platforms import current_platform
|
||||
pytest.mark.slow_test,
|
||||
],
|
||||
),
|
||||
pytest.param("Forrest20231206/ernie-3.0-base-zh-cls"),
|
||||
],
|
||||
)
|
||||
@pytest.mark.parametrize("dtype", ["half"] if current_platform.is_rocm() else ["float"])
|
||||
@@ -48,6 +47,5 @@ def test_models(
|
||||
assert torch.allclose(
|
||||
hf_output,
|
||||
vllm_output,
|
||||
atol=1e-3 if dtype == "float" else 1e-2,
|
||||
rtol=2e-3 if dtype == "float" else 1e-2,
|
||||
)
|
||||
|
||||
@@ -24,13 +24,12 @@ def seed_everything():
|
||||
"model",
|
||||
[
|
||||
"boltuix/NeuroBERT-NER",
|
||||
"gyr66/Ernie-3.0-base-chinese-finetuned-ner",
|
||||
],
|
||||
)
|
||||
# The float32 is required for this tiny model to pass the test.
|
||||
@pytest.mark.parametrize("dtype", ["float"])
|
||||
@torch.inference_mode
|
||||
def test_bert_like_models(
|
||||
def test_bert_models(
|
||||
hf_runner,
|
||||
vllm_runner,
|
||||
example_prompts,
|
||||
|
||||
Reference in New Issue
Block a user