Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
Signed-off-by: DarkLight1337 <[email protected]>
  • Loading branch information
DarkLight1337 committed Dec 24, 2024
1 parent 8bac125 commit d2954a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions tests/models/embedding/language/test_cls_models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
"""Compare the outputs of HF and vLLM when using greedy sampling.
This test only tests small models. Big models such as 7B should be tested from
test_big_models.py because it could use a larger instance to run tests.
"""Compare the classification outputs of HF and vLLM models.
Run `pytest tests/models/test_cls_models.py`.
"""
Expand All @@ -13,6 +10,8 @@
@pytest.mark.parametrize(
"model",
[
pytest.param("ai21labs/Jamba-tiny-reward-dev",
marks=[pytest.mark.core_model]),
pytest.param("jason9693/Qwen2.5-1.5B-apeach",
marks=[pytest.mark.core_model, pytest.mark.cpu_model]),
],
Expand Down
4 changes: 2 additions & 2 deletions tests/models/embedding/language/test_scoring.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Compare the embedding outputs of HF and vLLM models.
"""Compare the scoring outputs of HF and vLLM models.
Run `pytest tests/models/embedding/language/test_embedding.py`.
Run `pytest tests/models/embedding/language/test_scoring.py`.
"""
import math

Expand Down

0 comments on commit d2954a2

Please sign in to comment.