Skip to content

[CI][Nightly] Add Qwen3.8 A3-560T shared PD performance and full GPQA - #22291

Open
zsponly wants to merge 14 commits into
vllm-project:mainfrom
zsponly:codex/nightly-qwen38-perf-main
Open

zsponly wants to merge 14 commits into
vllm-project:mainfrom
zsponly:codex/nightly-qwen38-perf-main

Conversation

@zsponly

@zsponly zsponly commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it?

Add Qwen3.8 Flash Next W4A8 Nightly coverage on A3-560T. One shared PD service lifecycle starts P, D and the proxy once, then runs four performance cases and full GPQA Diamond.

  • Model: Eco-Tech/Qwen3.8-Flash-Next-w4a8.
  • 16 logical devices: P TP2/PP4/DP1; D TP2/DP4; EP and MTP3.
  • Keep ModelScope enabled and fastokens disabled. Prefix caching stays enabled on P and disabled on D.
  • Pure P uses the native 16K/128K datasets and generates one token. Reset before explicit warmup and before formal measurement.
  • Pure D repeats one native input per length. Reset before the 16-request output-1 prefix warmup, then retain the warmed KV for formal output-1024 measurement.
  • Preserve AISBench's default additional internal warmup, temperature 0, ignore_eos=True and unrestricted request rate. Internal warmup can populate the first P input; this follows the existing GLM convention.
Case Formal requests Concurrency Throughput baseline (token/s)
Pure P 128K 40 10 27491.5695 input
Pure P 16K 128 32 31833.4451 input
Pure D 128K 512 128 1718.8431 output
Pure D 16K 440 110 2190.0194 output

The four baselines are arithmetic means of three complete CI performance measurements; thresholds remain 0.97. Use AISBench total throughput, including queueing, rather than a steady-stage subset. The selected CI samples used CANN P256/P256/P257, so they are not three repetitions of an immutable image.

Full GPQA Diamond uses 198 questions, concurrency 32, max_out_len 131072, temperature 1.0, top_k 20, top_p 0.95, presence_penalty 0.0 and repetition_penalty 1.0. The supplied accuracy target is 90.33, with verify_mode: range and an absolute tolerance of 5 percentage points. This target is not a newly measured baseline.

This PR contains only the A3 YAML, its A3-560T Nightly registration and A3 model preload. The A5 case is tracked separately: #24465.

Does this PR introduce any user-facing change?

No. Internal Nightly configuration only. Shared test runners, AISBench tools and model/operator implementations are unchanged.

How was this patch tested?

  • Performance calibration: 46825029436, 46829857121, and 47011564872. Original AISBench JSON/CSV confirmed all formal requests succeeded, actual concurrency matched the table, and outputs were exactly 1 token for P and 1024 for D. The first workflow was cancelled after its benchmarks had completed; its completed raw results are retained. vLLM was 62d4bc3c7e33b1b6c906e233e6af2d3506c482ca.

  • Full GPQA at 2a47cab09: 176/198 correct (88.8889%), 198 successful requests, zero failures; passed the configured range gate. Earlier 32768-token/penalty-1.5 accuracy runs are not averaged with this result.

  • Latest 47053267448, at a193ab9ad, failed to download abseil-cpp through the CI proxy (HTTP 503), so installation failed. Subsequent startup reported a missing grouped_matmul_swiglu_quant_v2 operator. No formal result validated the refreshed baselines in that run.

  • Split validation: the A3 YAML is byte-for-byte equivalent after newline normalization to the pre-split revision. Parsed with the production SingleNodeConfigLoader, stubbing only the unavailable local vLLM port allocator. Registration and model preload checked for platform isolation.

  • Repository bash format.sh ci; Windows /bin/bash-incompatible hooks checked with Git Bash using the same scripts. Typos was rerun on the tracked files with one thread after a local Windows resource error; the recheck passed. No NPU tests were launched for this split; CI validation of the split revision remains pending.

  • vLLM main: vllm-project/vllm@65ada0c

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces support for single-node Prefill and Decode (PD) performance testing using AISBench. It adds new YAML configurations for Qwen3.8 Flash Next models on A3 and A5 hardware, implements a custom streaming client (PDCacheChat) to validate cache behavior, and provides utilities to aggregate disjoint decode windows. Unit tests and documentation have also been added. The review feedback highlights three key areas for improvement: handling null baseline values in aisbench.py to prevent a TypeError, wrapping the Prefill API metrics request in a try-except block for better network error handling, and making the _milliseconds helper in pd_results.py more robust when parsing different input types.

Comment thread tools/aisbench.py Resolved
Comment thread tools/aisbench.py Resolved
Comment thread tools/pd_results.py Resolved
@github-actions github-actions Bot added documentation Improvements or additions to documentation module:tests module:tools labels Nov 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

👋 Hi! Thank you for contributing to the vLLM Ascend project. The following points will speed up your PR merge:‌‌

  • A PR should do only one thing, smaller PRs enable faster reviews.
  • Every PR should include unit tests and end-to-end tests ‌to ensure it works and is not broken by other future PRs.
  • Write the commit message by fulfilling the PR description to help reviewer and future developers understand.

If CI fails, you can run linting and testing checks locally according Contributing and Testing.

🤖 How to trigger CI

CI runs automatically when the PR is opened or reopened. Pushing a new commit no longer re-runs the E2E CI (to save NPU runner resources), so use the comment commands below when needed. They are available to the PR author and users with triage permission or above:

  • /run — run the full PR CI gate on the latest commit.
  • /rerun — re-run the failed CI jobs (e.g. after a flaky failure).
  • /e2e — run selected E2E tests instead of the full gate.
  • /nightly / /presmoke / /weekly — run the corresponding large-scale tests (triage permission or above; blocked during the nightly maintenance window).
  • /cancel — cancel a running CI on this PR.

Note

Until the CI gate has run on a commit, the required ci-gate check stays pending and the PR cannot merge — remember to comment /run after pushing.

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Last updated: 2026-12-03 22:48 UTC+8 for commit e8a259d.

ci-gate failed. Reason:

pre-commit failed (lint / markdownlint / mypy / gitleaks). Open the failed 'pre-commit' job above, fix the reported issues in your PR, and push again. No test label is needed for this failure.

See the workflow run for full logs. This comment is updated in place on each new failure and marked as passed once the gate passes (it is kept for history, not deleted).

@zsponly zsponly changed the title [CI][Nightly] Add Qwen3.8 Flash Next pure prefill, KV-warmed decode, and colocated GPQA on A3/A5 [CI][Nightly] Add Qwen3.8 Flash Next pure P/D performance and full colocated GPQA on A3/A5 Nov 18, 2026
@github-actions github-actions Bot removed documentation Improvements or additions to documentation module:tools labels Nov 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

1 similar comment
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@zsponly zsponly changed the title [CI][Nightly] Add Qwen3.8 Flash Next pure P/D performance and full colocated GPQA on A3/A5 [CI][Nightly] Add Qwen3.8 A3/A5 shared PD performance and full GPQA Dec 1, 2026
@zsponly
zsponly marked this pull request as ready for review December 1, 2026 11:11
@CuixyHW

CuixyHW commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t
nightly command triggered.

@CuixyHW

CuixyHW commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t
nightly command triggered.

@CuixyHW

CuixyHW commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-mxfp-A5
nightly command triggered.

@CuixyHW

CuixyHW commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t
nightly command triggered.

@CuixyHW

CuixyHW commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t
nightly command triggered.

@CuixyHW

CuixyHW commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-mxfp-A5
nightly command triggered.

@CuixyHW

CuixyHW commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t
nightly command triggered.

@LQDLove

LQDLove commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t
nightly command triggered.

@CuixyHW

CuixyHW commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t
nightly command triggered.

@CuixyHW

CuixyHW commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t

nightly command triggered.

@zsponly zsponly changed the title [CI][Nightly] Add Qwen3.8 A3/A5 shared PD performance and full GPQA [CI][Nightly] Add Qwen3.8 A3-560T shared PD performance and full GPQA Dec 3, 2026
@CuixyHW

CuixyHW commented Dec 3, 2026 •

Copy link
Copy Markdown
Collaborator

/nightly Qwen3.8-Flash-Next-w4a8-A3 --a3-560t
nightly command triggered.

@zhangxinyuehfad
zhangxinyuehfad enabled auto-merge (squash) December 3, 2026 13:57
@zhangxinyuehfad zhangxinyuehfad added the ready-precise run selected e2e test for pr label Dec 3, 2026
Port release PR vllm-project#20509 with the A5 W4A8 checkpoint correction from vllm-project#21230 and the requested A3 W4A8 checkpoint update. Register both cases in the main Nightly matrix and preload manifest, using the current SIT configuration directory.

Preserve serving/workload parameters and historical W8A8 regression gates; current W4A8/main/CANN 9.3 hardware validation remains pending.

Signed-off-by: zsponly <zsponly@foxmail.com>
…d GPQA

Exercise 16K and 128K inputs on 16-device A3 and 8-device A5 Mooncake deployments. Measure cold prefill and replay verified warm prefixes through the PD proxy. Exclude real-KV warmup time from decode throughput and keep each measured window's AISBench artifacts.

Run the full GPQA Diamond evaluation on the original colocated services. Collect calibration results for both W4A8 checkpoints before setting regression targets.

Signed-off-by: zsponly <zsponly@foxmail.com>
Use uncached one-token requests for prefill and a warmed, fully shared Qwen prompt for decode. Keep both input lengths and client loads on A3 and A5, and calibrate colocated GPQA with the existing runner.

Signed-off-by: zsponly <zsponly@foxmail.com>
Extract the latest loads and measured baseline candidates from dypforever's fork PRs #2, #3 and #4. Keep full-run and steady-stage evidence distinct and retain calibration for the PD proxy and colocated GPQA.

Use YAML preparation steps for uniform request traffic, complete prompt counts and shared-prefix warmup. Preserve shared benchmark runners and omit report documents.

Signed-off-by: zsponly <zsponly@foxmail.com>
Extract the verified launch settings from dypforever's fork PR #3 at 75dfd60. Use an 8192-token batch budget on both roles, four renderer workers on decode, and explicit role-specific Fastokens and engine-ready settings.

Keep existing workloads and baseline calibration unchanged. Record the measured runtime revision in YAML without adding report documents or changing shared test code.

Signed-off-by: zsponly <zsponly@foxmail.com>
Disable static compilation and SuperKernel, use unpaced AISBench traffic,
and run one measured round per input length with explicit warmup. Keep
pure-P, warmed-prefix pure-D and full colocated GPQA coverage. Restore the
normal A3 workflow timeout path and align engine readiness with the harness.

Document Qwen3.x tolerance policies: performance 0.97 and GPQA +/-5
percentage points. Keep historical measurements separate from the new
baselines, which the PR author will provide before gates are enabled.

Signed-off-by: zsponly <zsponly@foxmail.com>
Run 40 requests at concurrency 10 for 128K and 128 at concurrency 32 for 16K. Both workloads fit the source splits, so drop prompt cycling and retain one explicit warmup per length.

Signed-off-by: zsponly <zsponly@foxmail.com>
Follow the GLM warmup/reset sequence while retaining AISBench default internal warmup. Consolidate A3/A5 registrations and keep new regression baselines pending matched hardware measurements.

Signed-off-by: zsponly <zsponly@foxmail.com>
Use the supplied A3 90.33 and A5 90.23 references with a five percentage-point range. Keep performance gates pending measurements under the shared PD configuration.

Signed-off-by: zsponly <zsponly@foxmail.com>
Use audited whole-run A3/A5 input throughput for pure P and output throughput for pure D, with 0.97 gates. Record the A5 R177 CANN calibration provenance; preserve deployment, warmup and GPQA settings.

Signed-off-by: zsponly <zsponly@foxmail.com>
Keep ModelScope model loading and disable fastokens on both PD roles to avoid the Qwen tokenizer backend mismatch. Remove redundant YAML installation and per-role switches; preserve all benchmark settings and gates.

Signed-off-by: zsponly <zsponly@foxmail.com>
Increase the GPQA output cap to 131072 to reduce truncated answers and set presence_penalty to 0.0 for both A3 and A5. Keep request templates and all other settings unchanged.

Validated the exact text and parsed YAML changes, formatting and lint hooks, ShellCheck, logger checks, staged Gitleaks, and git diff --check. Hardware validation is pending.

Signed-off-by: zsponly <zsponly@foxmail.com>
Use the arithmetic mean of three complete A3 CI performance measurements: 46825029436, 46829857121 and 47011564872. Keep all throughput thresholds at 0.97.

Signed-off-by: zsponly <zsponly@foxmail.com>
Keep the A3 configuration, registration and model preload in this PR. Move the unchanged A5 configuration and its platform-specific entries to an independent main-branch PR.

Signed-off-by: zsponly <zsponly@foxmail.com>
auto-merge was automatically disabled December 3, 2026 14:41

Head branch was pushed to by a user without write access

@zsponly
zsponly force-pushed the codex/nightly-qwen38-perf-main branch from d038dc2 to e8a259d Compare December 3, 2026 14:41
@zsponly

zsponly commented Dec 3, 2026 •

Copy link
Copy Markdown
Contributor Author

/run
[Bot]: run command accepted. E2E has been queued on the latest commit e8a259dd363eff51f86b3afc1e1f94b14a77f38b of this PR, with whatever test-scope labels the PR currently carries. Track progress in PR checks.

@vllm-ascend-ci vllm-ascend-ci added the ci-run E2E requested manually on the latest commit label Dec 3, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-run E2E requested manually on the latest commit module:tests ready-precise run selected e2e test for pr

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants