group: Models - Basic depends_on: - image-build steps: - label: Basic Models Tests (Initialization) key: basic-models-tests-initialization timeout_in_minutes: 45 device: h200_18gb torch_nightly: true source_file_dependencies: - vllm/ - tests/models/test_initialization.py - tests/models/registry.py commands: # Run a subset of model initialization tests - pytest -v -s models/test_initialization.py::test_can_initialize_small_subset mirror: torch_nightly: {} - label: Basic Models Tests (Extra Initialization) %N device: h200_35gb key: basic-models-tests-extra-initialization timeout_in_minutes: 45 source_file_dependencies: - vllm/model_executor/models/ - tests/models/test_initialization.py - tests/models/registry.py commands: # Only when vLLM model source is modified - test initialization of a large # subset of supported models (the complement of the small subset in the above # test.) Also run if model initialization test file is modified - pytest -v -s models/test_initialization.py -k 'not test_can_initialize_small_subset' --num-shards=$$BUILDKITE_PARALLEL_JOB_COUNT --shard-id=$$BUILDKITE_PARALLEL_JOB parallelism: 2 mirror: torch_nightly: {} - label: Basic Models Tests (Other) device: h200_35gb key: basic-models-tests-other timeout_in_minutes: 45 source_file_dependencies: - vllm/ - tests/models/test_terratorch.py - tests/models/test_transformers.py - tests/models/test_registry.py commands: - pytest -v -s models/test_terratorch.py models/test_transformers.py models/test_registry.py - label: Basic Models Test (Other CPU) # 5min key: basic-models-test-other-cpu depends_on: - image-build-cpu timeout_in_minutes: 10 source_file_dependencies: - vllm/ - tests/models/test_utils.py - tests/models/test_vision.py device: cpu-small commands: - pytest -v -s models/test_utils.py models/test_vision.py - label: Transformers Nightly Models device: h200_35gb key: transformers-nightly-models working_dir: "/vllm-workspace/" optional: true soft_fail: true commands: - pip install --upgrade git+https://github.com/huggingface/transformers - pytest -v -s tests/models/test_initialization.py - pytest -v -s tests/models/test_transformers.py - pytest -v -s tests/models/multimodal/processing/ - pytest -v -s tests/models/multimodal/test_mapping.py - python3 examples/basic/offline_inference/chat.py - python3 examples/generate/multimodal/vision_language_offline.py --model-type qwen2_5_vl # Whisper needs spawn method to avoid deadlock - VLLM_WORKER_MULTIPROC_METHOD=spawn python3 examples/generate/multimodal/audio_language_offline.py --model-type whisper - label: Transformers Backward Compatibility Models Test device: h200_35gb key: transformers-backward-compatibility-models-test working_dir: "/vllm-workspace/" optional: true soft_fail: true commands: - pip install transformers==4.57.5 - pytest -v -s tests/models/test_initialization.py - pytest -v -s tests/models/test_transformers.py - pytest -v -s tests/models/multimodal/processing/ - pytest -v -s tests/models/multimodal/test_mapping.py - python3 examples/basic/offline_inference/chat.py - python3 examples/generate/multimodal/vision_language_offline.py --model-type qwen2_5_vl # Whisper needs spawn method to avoid deadlock - VLLM_WORKER_MULTIPROC_METHOD=spawn python3 examples/generate/multimodal/audio_language_offline.py --model-type whisper