[CI] Improve CI (#5078)
Raname workflow to be clear.
- vLLM version: v0.12.0
- vLLM main:
ad32e3e19c
Signed-off-by: wangxiyuan <wangxiyuan1007@gmail.com>
This commit is contained in:
2
.github/workflows/_pr_image_build.yaml
vendored
2
.github/workflows/_pr_image_build.yaml
vendored
@@ -26,7 +26,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build-push-digest:
|
||||
name: Image Build and Push
|
||||
name: build
|
||||
runs-on: ${{ matrix.runner }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Lint
|
||||
name: Merge Conflict Labeler
|
||||
on:
|
||||
# So that PRs touching the same files as the push are updated
|
||||
push:
|
||||
@@ -10,7 +10,6 @@ on:
|
||||
|
||||
jobs:
|
||||
main:
|
||||
name: Merge Conflict Labeler
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: check if prs are dirty
|
||||
2
.github/workflows/bot_pr_create.yaml
vendored
2
.github/workflows/bot_pr_create.yaml
vendored
@@ -15,7 +15,7 @@
|
||||
# This file is a part of the vllm-ascend project.
|
||||
#
|
||||
|
||||
name: Lint
|
||||
name: PR Create
|
||||
|
||||
on:
|
||||
# The PR updated when PR opened and push new commits
|
||||
|
||||
4
.github/workflows/labled_doctest.yaml
vendored
4
.github/workflows/labled_doctest.yaml
vendored
@@ -15,7 +15,7 @@
|
||||
# This file is a part of the vllm-ascend project.
|
||||
#
|
||||
|
||||
name: 'ascend test / doctest'
|
||||
name: Doc Test
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -25,7 +25,7 @@ on:
|
||||
- '*-dev'
|
||||
paths:
|
||||
# If we are changing the doctest we should do a PR test
|
||||
- '.github/workflows/vllm_ascend_doctest.yaml'
|
||||
- '.github/workflows/labled_doctest.yaml'
|
||||
- 'tests/e2e/doctests/**'
|
||||
- 'tests/e2e/common.sh'
|
||||
- 'tests/e2e/run_doctests.sh'
|
||||
|
||||
5
.github/workflows/labled_test_310.yaml
vendored
5
.github/workflows/labled_test_310.yaml
vendored
@@ -15,15 +15,12 @@
|
||||
# This file is a part of the vllm-ascend project.
|
||||
#
|
||||
|
||||
name: 'e2e test / 310p-test'
|
||||
name: 310p Labeled Test
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
schedule:
|
||||
# Runs every 6 hours
|
||||
- cron: '0 */6 * * *'
|
||||
pull_request:
|
||||
types: [ labeled ]
|
||||
|
||||
|
||||
51
.github/workflows/nightly_test_a2.yaml
vendored
51
.github/workflows/nightly_test_a2.yaml
vendored
@@ -17,7 +17,7 @@
|
||||
|
||||
# This workflow related to the resources atlas 800 A2
|
||||
# We will not limit the concurrency of jobs on A2
|
||||
name: 'ascend test / nightly-a2'
|
||||
name: Nightly-A2
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -27,7 +27,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
types: [ labeled, synchronize ]
|
||||
types: [ labeled ]
|
||||
|
||||
# Bash shells do not use ~/.profile or ~/.bashrc so these shells need to be explicitly
|
||||
# declared as "shell: bash -el {0}" on steps that need to be properly activated.
|
||||
@@ -66,6 +66,29 @@ jobs:
|
||||
name: ${{ matrix.test_config.name }}
|
||||
image: 'swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/vllm-ascend:nightly-a2'
|
||||
|
||||
multi-node-tests:
|
||||
name: multi-node
|
||||
if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
|
||||
needs: single-node-tests
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
test_config:
|
||||
- name: multi-node-deepseek-dp
|
||||
config_file_path: DeepSeek-R1-W8A8-A2.yaml
|
||||
size: 2
|
||||
uses: ./.github/workflows/_e2e_nightly_multi_node.yaml
|
||||
with:
|
||||
soc_version: a2
|
||||
runner: linux-aarch64-a2-0
|
||||
image: 'swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/vllm-ascend:nightly-a2'
|
||||
replicas: 1
|
||||
size: ${{ matrix.test_config.size }}
|
||||
config_file_path: ${{ matrix.test_config.config_file_path }}
|
||||
secrets:
|
||||
KUBECONFIG_B64: ${{ secrets.KUBECONFIG_A2_B64 }}
|
||||
|
||||
single-node-accuracy-tests:
|
||||
if: >-
|
||||
${{
|
||||
@@ -110,27 +133,3 @@ jobs:
|
||||
model_list: ${{ toJson(matrix.test_config.model_list) }}
|
||||
image: 'swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.3.rc2-910b-ubuntu22.04-py3.11'
|
||||
upload: false
|
||||
|
||||
|
||||
multi-node-tests:
|
||||
name: multi-node
|
||||
if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
|
||||
needs: single-node-tests
|
||||
strategy:
|
||||
fail-fast: false
|
||||
max-parallel: 1
|
||||
matrix:
|
||||
test_config:
|
||||
- name: multi-node-deepseek-dp
|
||||
config_file_path: DeepSeek-R1-W8A8-A2.yaml
|
||||
size: 2
|
||||
uses: ./.github/workflows/_e2e_nightly_multi_node.yaml
|
||||
with:
|
||||
soc_version: a2
|
||||
runner: linux-aarch64-a2-0
|
||||
image: 'swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/vllm-ascend:nightly-a2'
|
||||
replicas: 1
|
||||
size: ${{ matrix.test_config.size }}
|
||||
config_file_path: ${{ matrix.test_config.config_file_path }}
|
||||
secrets:
|
||||
KUBECONFIG_B64: ${{ secrets.KUBECONFIG_A2_B64 }}
|
||||
|
||||
4
.github/workflows/nightly_test_a3.yaml
vendored
4
.github/workflows/nightly_test_a3.yaml
vendored
@@ -18,7 +18,7 @@
|
||||
# This workflow related to the resources atlas 800 A3
|
||||
# **Please note**: current A3 resource pool's maximum allowed concurrency is 5*16 NPUs
|
||||
# We will limit the concurrency of jobs on A3 to avoid the risk of insufficient resources
|
||||
name: 'ascend test / nightly-a3'
|
||||
name: Nightly-A3
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -28,6 +28,7 @@ on:
|
||||
pull_request:
|
||||
branches:
|
||||
- 'main'
|
||||
types: [ labeled ]
|
||||
|
||||
# Bash shells do not use ~/.profile or ~/.bashrc so these shells need to be explicitly
|
||||
# declared as "shell: bash -el {0}" on steps that need to be properly activated.
|
||||
@@ -140,6 +141,7 @@ jobs:
|
||||
image: 'swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/vllm-ascend:nightly-a3'
|
||||
tests: ${{ matrix.test_config.tests }}
|
||||
name: ${{ matrix.test_config.name }}
|
||||
|
||||
custom-ops-tests:
|
||||
name: test ops
|
||||
if: always() && (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch')
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
# 3. tags push trigger image publish
|
||||
# - is for final release image
|
||||
# - Publish when tag with v* (pep440 version) ===> vllm-ascend:v1.2.3 / vllm-ascend:v1.2.3rc1
|
||||
name: Image
|
||||
name: Image Build and Push
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
@@ -55,7 +55,7 @@ concurrency:
|
||||
jobs:
|
||||
image_build:
|
||||
if: ${{ github.event_name == 'push' || (contains(github.event.pull_request.labels.*.name, 'ready') && contains(github.event.pull_request.labels.*.name, 'ready-for-test')) }}
|
||||
name: image build and push
|
||||
name: Image Build and Push
|
||||
strategy:
|
||||
matrix:
|
||||
build_meta:
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
# This file is a part of the vllm-ascend project.
|
||||
#
|
||||
|
||||
name: Build
|
||||
name: Release Code and Wheel
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -23,7 +23,7 @@ on:
|
||||
- 'main'
|
||||
- '*-dev'
|
||||
paths:
|
||||
- '.github/workflows/release_code.yml'
|
||||
- '.github/workflows/pr_tag_release_code_and_wheel.yaml'
|
||||
- 'vllm_ascend/**'
|
||||
- 'setup.py'
|
||||
- 'pyproject.toml'
|
||||
|
||||
2
.github/workflows/pr_test_full.yaml
vendored
2
.github/workflows/pr_test_full.yaml
vendored
@@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
# This file is a part of the vllm-ascend project.
|
||||
#
|
||||
name: 'ascend test / full'
|
||||
name: E2E-Full
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
2
.github/workflows/pr_test_light.yaml
vendored
2
.github/workflows/pr_test_light.yaml
vendored
@@ -15,7 +15,7 @@
|
||||
# This file is a part of the vllm-ascend project.
|
||||
#
|
||||
|
||||
name: 'ascend test'
|
||||
name: E2E-Light
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
name: 'image / nightly / Ubuntu / test'
|
||||
name: Nightly Image Build Schedule
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -15,7 +15,7 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
name: Performance Test
|
||||
name: Performance Schedule Test
|
||||
# This workflow runs nightly benchmarks for vllm-ascend.
|
||||
|
||||
on:
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
# limitations under the License.
|
||||
# This file is a part of the vllm-ascend project.
|
||||
#
|
||||
name: 'ascend test / vllm main'
|
||||
name: vLLM Main Schedule Test
|
||||
|
||||
on:
|
||||
# Run full e2e tests per 4h
|
||||
|
||||
Reference in New Issue
Block a user