@@ -50,19 +50,28 @@ steps:
5050 mirror_hardwares : [amdexperimental]
5151 source_file_dependencies :
5252 - vllm/
53+ - tests/multimodal
54+ - tests/utils_
55+ commands :
56+ - pytest -v -s -m 'not cpu_test' multimodal
57+ - pytest -v -s utils_
58+
59+ - label : Async Engine, Inputs, Utils, Worker Test (CPU) # 4 mins
60+ timeout_in_minutes : 10
61+ source_file_dependencies :
62+ - vllm/
5363 - tests/test_inputs.py
5464 - tests/test_outputs.py
5565 - tests/multimodal
56- - tests/utils_
5766 - tests/standalone_tests/lazy_imports.py
5867 - tests/transformers_utils
68+ no_gpu : true
5969 commands :
6070 - python3 standalone_tests/lazy_imports.py
6171 - pytest -v -s test_inputs.py
6272 - pytest -v -s test_outputs.py
63- - pytest -v -s multimodal
64- - pytest -v -s utils_ # Utils
65- - pytest -v -s transformers_utils # transformers_utils
73+ - pytest -v -s -m 'cpu_test' multimodal
74+ - pytest -v -s transformers_utils
6675
6776- label : Python-only Installation Test # 10min
6877 timeout_in_minutes : 20
@@ -287,23 +296,34 @@ steps:
287296 - tests/v1
288297 commands :
289298 # split the test to avoid interference
290- - pytest -v -s v1/core
291299 - pytest -v -s v1/executor
292300 - pytest -v -s v1/kv_offload
293301 - pytest -v -s v1/sample
294302 - pytest -v -s v1/logits_processors
295303 - pytest -v -s v1/worker
296- - pytest -v -s v1/structured_output
297304 - pytest -v -s v1/spec_decode
298- - pytest -v -s v1/kv_connector/unit
299- - pytest -v -s v1/metrics
305+ - pytest -v -s -m 'not cpu_test' v1/kv_connector/unit
306+ - pytest -v -s -m 'not cpu_test' v1/metrics
300307 - pytest -v -s v1/test_oracle.py
301308 - pytest -v -s v1/test_request.py
302- - pytest -v -s v1/test_serial_utils.py
303309 # Integration test for streaming correctness (requires special branch).
304310 - pip install -U git+https://github.com/robertgshaw2-redhat/lm-evaluation-harness.git@streaming-api
305311 - pytest -v -s entrypoints/openai/correctness/test_lmeval.py::test_lm_eval_accuracy_v1_engine
306312
313+ - label : V1 Test others (CPU) # 5 mins
314+ source_file_dependencies :
315+ - vllm/
316+ - tests/v1
317+ no_gpu : true
318+ commands :
319+ # split the test to avoid interference
320+ - pytest -v -s v1/core
321+ - pytest -v -s v1/structured_output
322+ - pytest -v -s v1/test_serial_utils.py
323+ - pytest -v -s -m 'cpu_test' v1/kv_connector/unit
324+ - pytest -v -s -m 'cpu_test' v1/metrics
325+
326+
307327- label : Examples Test # 30min
308328 timeout_in_minutes : 45
309329 mirror_hardwares : [amdexperimental]
@@ -533,10 +553,17 @@ steps:
533553 source_file_dependencies :
534554 - vllm/
535555 - tests/tool_use
536- - tests/mistral_tool_use
537556 commands :
538- - pytest -v -s tool_use
539- - pytest -v -s mistral_tool_use
557+ - pytest -v -s -m 'not cpu_test' tool_use
558+
559+ - label : OpenAI-Compatible Tool Use (CPU) # 5 mins
560+ timeout_in_minutes : 10
561+ source_file_dependencies :
562+ - vllm/
563+ - tests/tool_use
564+ no_gpu : true
565+ commands :
566+ - pytest -v -s -m 'cpu_test' tool_use
540567
541568# #### models test #####
542569
@@ -576,13 +603,19 @@ steps:
576603 - vllm/
577604 - tests/models/test_transformers.py
578605 - tests/models/test_registry.py
606+ commands :
607+ - pytest -v -s models/test_transformers.py models/test_registry.py
608+
609+ - label : Basic Models Test (Other CPU) # 5min
610+ timeout_in_minutes : 10
611+ torch_nightly : true
612+ source_file_dependencies :
613+ - vllm/
579614 - tests/models/test_utils.py
580615 - tests/models/test_vision.py
616+ no_gpu : true
581617 commands :
582- - pytest -v -s models/test_transformers.py \
583- models/test_registry.py \
584- models/test_utils.py \
585- models/test_vision.py
618+ - pytest -v -s models/test_utils.py models/test_vision.py
586619
587620- label : Language Models Tests (Standard)
588621 timeout_in_minutes : 25
0 commit comments