Skip to content

[Performance] Route Qwen4Exp short prefill through Union GBSA #4273

[Performance] Route Qwen4Exp short prefill through Union GBSA

[Performance] Route Qwen4Exp short prefill through Union GBSA #4273

#
# Copyright (c) 2025 Huawei Technologies Co., Ltd. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# This file is a part of the vllm-ascend project.
#
# This workflow builds nightly images as a layer-cache warm-up at 21:00 Beijing time,
# and as a build-only verification when the 'nightly-image-build' label is added to a PR.
# The nightly test workflows (Nightly-A2, Nightly-A3) each rebuild the image fresh
# before running tests, so the schedule only serves to pre-populate the build cache.
# PR builds: add the 'nightly-image-build' label to a PR to run a build-only
# verification (login/push/merge are skipped, no image is published).
#
# Dependency versions are pinned in requirements.txt and the root Dockerfiles;
# this workflow does not select versions.
name: Nightly Image Build Schedule
on:
pull_request:
branches:
- 'main'
types: [ labeled ]
workflow_dispatch:
inputs:
vllm_ascend_branch:
description: 'Branch to nightly test'
required: true
default: 'main'
type: choice
options:
- main
- releases/v0.30.0
- releases/v0.29.0rc
- releases/v0.28.0rc
- releases/v0.27.1rc
- releases/v0.26.0rc
- releases/v0.25.1rc
- releases/v0.24.0rc
- releases/v0.23.0
- releases/v0.22.1rc
- releases/v0.21.0rc
- releases/v0.20.2rc
- releases/v0.18.0
jobs:
build-a2:
if: ${{ github.event_name != 'pull_request' || github.event.label.name == 'nightly-image-build' }}
uses: ./.github/workflows/_nightly_image_build.yaml
with:
target: a2
vllm_ascend_branch: ${{ github.event.pull_request.head.sha || inputs.vllm_ascend_branch || 'main' }}
base_image_branch: ${{ github.event.pull_request.base.ref || inputs.vllm_ascend_branch || 'main' }}
should_push: ${{ github.repository == 'vllm-project/vllm-ascend' && github.event_name != 'pull_request' }}
soc: '910b'
secrets:
SWR_USERNAME: ${{ secrets.SWR_USERNAME }}
SWR_PASSWORD: ${{ secrets.SWR_PASSWORD }}
build-a3:
if: ${{ github.event_name != 'pull_request' || github.event.label.name == 'nightly-image-build' }}
uses: ./.github/workflows/_nightly_image_build.yaml
with:
target: a3
vllm_ascend_branch: ${{ github.event.pull_request.head.sha || inputs.vllm_ascend_branch || 'main' }}
base_image_branch: ${{ github.event.pull_request.base.ref || inputs.vllm_ascend_branch || 'main' }}
should_push: ${{ github.repository == 'vllm-project/vllm-ascend' && github.event_name != 'pull_request' }}
soc: 'a3'
secrets:
SWR_USERNAME: ${{ secrets.SWR_USERNAME }}
SWR_PASSWORD: ${{ secrets.SWR_PASSWORD }}
build-310p:
if: ${{ github.event_name != 'pull_request' || github.event.label.name == 'nightly-image-build' }}
uses: ./.github/workflows/_nightly_image_build.yaml
with:
target: 310p
vllm_ascend_branch: ${{ github.event.pull_request.head.sha || inputs.vllm_ascend_branch || 'main' }}
base_image_branch: ${{ github.event.pull_request.base.ref || inputs.vllm_ascend_branch || 'main' }}
should_push: ${{ github.repository == 'vllm-project/vllm-ascend' && github.event_name != 'pull_request' }}
soc: '310p'
secrets:
SWR_USERNAME: ${{ secrets.SWR_USERNAME }}
SWR_PASSWORD: ${{ secrets.SWR_PASSWORD }}
build-a5:
if: ${{ github.event_name != 'pull_request' || github.event.label.name == 'nightly-image-build' }}
uses: ./.github/workflows/_nightly_image_build.yaml
with:
target: a5
vllm_ascend_branch: ${{ github.event.pull_request.head.sha || inputs.vllm_ascend_branch || 'main' }}
base_image_branch: ${{ github.event.pull_request.base.ref || inputs.vllm_ascend_branch || 'main' }}
should_push: ${{ github.repository == 'vllm-project/vllm-ascend' && github.event_name != 'pull_request' }}
soc: '950'
secrets:
SWR_USERNAME: ${{ secrets.SWR_USERNAME }}
SWR_PASSWORD: ${{ secrets.SWR_PASSWORD }}