e06fe8e8c6
Secret Leaks / trufflehog (push) Failing after 1s
Build documentation / build (push) Failing after 1s
Build documentation / build_other_lang (push) Failing after 0s
CodeQL Security Analysis / CodeQL Analysis (push) Failing after 0s
PR CI / pr-ci (push) Failing after 1s
Slow tests on important models (on Push - A10) / Get all modified files (push) Failing after 1s
Slow tests on important models (on Push - A10) / Model CI (push) Has been skipped
Self-hosted runner (benchmark) / Benchmark (aws-g5-4xlarge-cache) (push) Has been cancelled
New model PR merged notification / Notify new model (push) Has been cancelled
Update Transformers metadata / build_and_package (push) Has been cancelled
58 lines
1.8 KiB
YAML
58 lines
1.8 KiB
YAML
name: Dependents Smoke Test
|
|
|
|
on:
|
|
schedule:
|
|
# Run every night at 3 AM UTC
|
|
- cron: "0 3 * * *"
|
|
workflow_dispatch:
|
|
env:
|
|
UV_SYSTEM_PYTHON: "1"
|
|
VLLM_USE_PRECOMPILED: "1"
|
|
VLLM_PRECOMPILED_WHEEL_VARIANT: cpu
|
|
VLLM_TARGET_DEVICE: cpu
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
vllm:
|
|
name: Test vLLM integration
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout Transformers
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
repository: huggingface/transformers
|
|
persist-credentials: false
|
|
path: transformers
|
|
|
|
- name: Checkout vLLM
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
repository: vllm-project/vllm
|
|
persist-credentials: false
|
|
path: vllm
|
|
|
|
- name: Set up Python 3.12
|
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
|
with:
|
|
python-version: "3.12"
|
|
|
|
- name: Set up uv
|
|
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
|
|
|
|
- name: Install dependencies
|
|
run: uv pip install -e vllm -e transformers
|
|
|
|
- name: Run tests
|
|
run: |
|
|
pytest -v -s vllm/tests/models/test_initialization.py
|
|
pytest -v -s vllm/tests/models/test_transformers.py
|
|
pytest -v -s vllm/tests/models/multimodal/processing/
|
|
pytest -v -s vllm/tests/models/multimodal/test_mapping.py
|
|
python3 vllm/examples/basic/offline_inference/chat.py
|
|
python3 vllm/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 vllm/examples/generate/multimodal/audio_language_offline.py --model-type whisper
|