Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
77 changes: 47 additions & 30 deletions .github/workflows/schedule_nightly_test_a2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,41 +146,34 @@ jobs:
secrets:
KUBECONFIG_B64: ${{ secrets.KUBECONFIG_HK_001_INTERNAL_B64 }}

single-node-accuracy-tests:
generate-accuracy-matrix:
name: Generate accuracy test matrix
needs: [parse-trigger]
if: always() && needs.parse-trigger.outputs.run == 'true'
runs-on: ubuntu-latest
outputs:
nightly_matrix: ${{ steps.set-matrix.outputs.nightly_matrix }}
pr_only_matrix: ${{ steps.set-matrix.outputs.pr_only_matrix }}
steps:
- name: Checkout repository
uses: actions/checkout@v6

- name: Read accuracy group config
id: set-matrix
run: |
CONFIG_FILE="tests/e2e/models/configs/accuracy_groups_a2.json"
NIGHTLY=$(jq -c '.nightly' "$CONFIG_FILE")
PR_ONLY=$(jq -c '.pr_only' "$CONFIG_FILE")
echo "nightly_matrix=${NIGHTLY}" >> "$GITHUB_OUTPUT"
echo "pr_only_matrix=${PR_ONLY}" >> "$GITHUB_OUTPUT"

single-node-accuracy-tests:
needs: [parse-trigger, generate-accuracy-matrix]
if: always() && needs.parse-trigger.outputs.run == 'true'
strategy:
fail-fast: false
matrix:
test_config:
- name: accuracy-group-1
os: linux-aarch64-a2b3-1
model_list:
- Qwen3-VL-8B-Instruct-W8A8
- Qwen3-8B
- Qwen2-Audio-7B-Instruct
- Qwen3-8B-W8A8
- Qwen3-VL-8B-Instruct
- Qwen2.5-Omni-7B
- name: accuracy-group-2
os: linux-aarch64-a2b3-1
model_list:
- ERNIE-4.5-21B-A3B-PT
- InternVL3_5-8B-hf
- Molmo-7B-D-0924
- Llama-3.2-3B-Instruct
- llava-onevision-qwen2-0.5b-ov-hf
- name: accuracy-group-3
os: linux-aarch64-a2b3-2
model_list:
- Qwen3-30B-A3B
- Qwen3-VL-30B-A3B-Instruct
- Qwen3-30B-A3B-W8A8
- name: accuracy-group-4
os: linux-aarch64-a2b3-4
model_list:
- Qwen3-Next-80B-A3B-Instruct
- Qwen3-Omni-30B-A3B-Instruct
test_config: ${{ fromJson(needs.generate-accuracy-matrix.outputs.nightly_matrix) }}
uses: ./.github/workflows/_e2e_nightly_single_node_models.yaml
with:
vllm: v0.18.0
Expand All @@ -196,6 +189,30 @@ jobs:
}}
upload: false

single-node-accuracy-tests-pr-only:
needs: [parse-trigger, generate-accuracy-matrix]
if: >-
always() &&
needs.parse-trigger.outputs.run == 'true' &&
needs.parse-trigger.outputs.filter != 'all'
strategy:
fail-fast: false
matrix:
test_config: ${{ fromJson(needs.generate-accuracy-matrix.outputs.pr_only_matrix) }}
uses: ./.github/workflows/_e2e_nightly_single_node_models.yaml
with:
vllm: v0.18.0
runner: ${{ matrix.test_config.os }}
model_list: ${{ toJson(matrix.test_config.model_list) }}
image: 'swr.cn-southwest-2.myhuaweicloud.com/base_image/ascend-ci/cann:8.5.1-910b-ubuntu22.04-py3.11'
is_run: >-
${{
needs.parse-trigger.outputs.run == 'true' &&
needs.parse-trigger.outputs.filter != 'all' &&
contains(needs.parse-trigger.outputs.filter, format(',{0},', matrix.test_config.name))
}}
upload: false

doc-test:
name: doc-test
needs: [parse-trigger]
Expand Down
53 changes: 53 additions & 0 deletions tests/e2e/models/configs/accuracy_groups_a2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"nightly": [
{
"name": "accuracy-group-1",
"os": "linux-aarch64-a2b3-1",
"model_list": [
"Qwen3-VL-8B-Instruct-W8A8",
"Qwen3-8B",
"Qwen2-Audio-7B-Instruct",
"Qwen3-8B-W8A8",
"Qwen3-VL-8B-Instruct",
"Qwen2.5-Omni-7B"
]
},
{
"name": "accuracy-group-2",
"os": "linux-aarch64-a2b3-1",
"model_list": [
"ERNIE-4.5-21B-A3B-PT",
"InternVL3_5-8B-hf",
"Molmo-7B-D-0924",
"Llama-3.2-3B-Instruct",
"llava-onevision-qwen2-0.5b-ov-hf"
]
},
{
"name": "accuracy-group-3",
"os": "linux-aarch64-a2b3-2",
"model_list": [
"Qwen3-30B-A3B",
"Qwen3-VL-30B-A3B-Instruct",
"Qwen3-30B-A3B-W8A8"
]
},
{
"name": "accuracy-group-4",
"os": "linux-aarch64-a2b3-4",
"model_list": [
"Qwen3-Next-80B-A3B-Instruct",
"Qwen3-Omni-30B-A3B-Instruct"
]
}
],
"pr_only": [
{
"name": "pr-accuracy-group-1",
"os": "linux-aarch64-a2b3-1",
"model_list": [
"gemma-3-4b-it"
]
}
]
}
Loading