Skip to content

Commit 4ad7b53

Browse files
authored
[CI/Build][Misc] Update Pytest Marker for VLMs (#5623)
1 parent f0cc0e6 commit 4ad7b53

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.buildkite/run-cpu-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ docker exec cpu-test-avx2 bash -c "python3 examples/offline_inference.py"
2323
docker exec cpu-test bash -c "cd tests;
2424
pip install pytest Pillow protobuf
2525
cd ../
26-
pytest -v -s tests/models -m \"not llava\" --ignore=tests/models/test_embedding.py --ignore=tests/models/test_registry.py"
26+
pytest -v -s tests/models -m \"not vlm\" --ignore=tests/models/test_embedding.py --ignore=tests/models/test_registry.py"

.buildkite/test-pipeline.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,13 @@ steps:
100100
- label: Models Test
101101
#mirror_hardwares: [amd]
102102
commands:
103-
- pytest -v -s models -m \"not llava\"
103+
- pytest -v -s models -m \"not vlm\"
104104

105-
- label: Llava Test
105+
- label: Vision Language Models Test
106106
mirror_hardwares: [amd]
107107
commands:
108108
- bash ../.buildkite/download-images.sh
109-
- pytest -v -s models -m llava
109+
- pytest -v -s models -m vlm
110110

111111
- label: Prefix Caching Test
112112
mirror_hardwares: [amd]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ markers = [
7171
"skip_global_cleanup",
7272
"llm: run tests for vLLM API only",
7373
"openai: run tests for OpenAI API only",
74-
"llava: run tests for LLaVA models only",
74+
"vlm: run tests for vision language models only",
7575
]

tests/models/test_llava.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ..conftest import IMAGE_FILES
99

10-
pytestmark = pytest.mark.llava
10+
pytestmark = pytest.mark.vlm
1111

1212
# The image token is placed before "user" on purpose so that the test can pass
1313
HF_IMAGE_PROMPTS = [

tests/models/test_llava_next.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ..conftest import IMAGE_FILES
99

10-
pytestmark = pytest.mark.llava
10+
pytestmark = pytest.mark.vlm
1111

1212
_PREFACE = (
1313
"A chat between a curious human and an artificial intelligence assistant. "

tests/models/test_phi3v.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from ..conftest import IMAGE_FILES
1010

11-
pytestmark = pytest.mark.llava
11+
pytestmark = pytest.mark.vlm
1212

1313
# The image token is placed before "user" on purpose so that the test can pass
1414
HF_IMAGE_PROMPTS = [

0 commit comments

Comments
 (0)