43 lines
1.0 KiB
YAML
43 lines
1.0 KiB
YAML
name: VLLM Dependency Test
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
paths:
|
|
- "python/**"
|
|
- "scripts/ci/**"
|
|
- "test/**"
|
|
- ".github/workflows/vllm-dependency-test.yml"
|
|
pull_request:
|
|
branches: [ main ]
|
|
paths:
|
|
- "python/**"
|
|
- "scripts/ci/**"
|
|
- "test/**"
|
|
- ".github/workflows/vllm-dependency-test.yml"
|
|
types: [synchronize, labeled]
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: vllm-dependency-test-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
vllm-dependency-test:
|
|
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-ci')
|
|
runs-on: 1-gpu-runner
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
bash scripts/ci/ci_install_dependency.sh
|
|
pip install "bitsandbytes>=0.44.0"
|
|
|
|
- name: Run vLLM dependency tests
|
|
timeout-minutes: 30
|
|
run: |
|
|
cd test/srt
|
|
python3 run_suite.py --suite vllm_dependency_test
|