Skip to content

[Bugfix] Set PREEMPTED status when moving requests from running to waiting queue#1893

Merged
gcanlin merged 1 commit into
vllm-project:mainfrom
gcanlin:async-chunk-bugfix
Mar 18, 2026
Merged

[Bugfix] Set PREEMPTED status when moving requests from running to waiting queue#1893
gcanlin merged 1 commit into
vllm-project:mainfrom
gcanlin:async-chunk-bugfix

Conversation

@gcanlin
Copy link
Copy Markdown
Collaborator

@gcanlin gcanlin commented Mar 14, 2026

PLEASE FILL IN THE PR DESCRIPTION HERE ENSURING ALL CHECKLIST ITEMS (AT THE BOTTOM) HAVE BEEN CONSIDERED.

Purpose

When the running queue exceeds scheduler_max_num_seqs in async chunk mode, requests are moved to the waiting queue. The base scheduler expects waiting queue requests to have WAITING or PREEMPTED status, but the requests retained their RUNNING status, causing Invalid request status: RUNNING error.

Test Plan

Qwen3-Omni:

vllm bench serve --omni --dataset-name random --port 8091 --max-concurrency 10 --model Qwen/Qwen3-Omni-30B-A3B-Instruct --endpoint /v1/chat/completions --backend openai-chat-omni --num-prompts 100 --random-input-len 100 --ignore-eos --percentile-metrics ttft,tpot,itl,e2el,audio_ttfp,audio_rtf --random-output-len 100 --extra_body '{"modalities": ["text", "audio"]}'
vllm serve Qwen/Qwen3-Omni-30B-A3B-Instruct --omni --port 8091 --stage-configs-path /root/vllm-workspace/vllm-omni/vllm_omni/platforms/npu/stage_configs/qwen3_omni_moe_async_chunk.yaml

Test Result

I tested on NPU:

============ Serving Benchmark Result ============
Successful requests:                     100
Failed requests:                         0
Maximum request concurrency:             10
Benchmark duration (s):                  868.59
Request throughput (req/s):              0.12
Peak concurrent requests:                14.00
----------------End-to-end Latency----------------
Mean E2EL (ms):                          81511.37
Median E2EL (ms):                        84425.49
P99 E2EL (ms):                           134560.01
================== Text Result ===================
Total input tokens:                      10000
Total generated tokens:                  10000
Output token throughput (tok/s):         11.51
Peak output token throughput (tok/s):    100.00
Peak concurrent requests:                14.00
Total Token throughput (tok/s):          23.03
---------------Time to First Token----------------
Mean TTFT (ms):                          530.21
Median TTFT (ms):                        425.05
P99 TTFT (ms):                           1576.20
-----Time per Output Token (excl. 1st token)------
Mean TPOT (ms):                          69.72
Median TPOT (ms):                        63.12
P99 TPOT (ms):                           105.19
---------------Inter-token Latency----------------
Mean ITL (ms):                           69.02
Median ITL (ms):                         60.75
P99 ITL (ms):                            505.09
================== Audio Result ==================
Total audio duration generated(s):       2517.04
Total audio frames generated:            60409080
Audio throughput(audio duration/s):      2.90
---------------Time to First Packet---------------
Mean AUDIO_TTFP (ms):                    10181.04
Median AUDIO_TTFP (ms):                  7630.57
P99 AUDIO_TTFP (ms):                     33740.78
-----------------Real Time Factor-----------------
Mean AUDIO_RTF:                          3.24
Median AUDIO_RTF:                        3.23
P99 AUDIO_RTF:                           3.36
==================================================

Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan. Please provide the test scripts & test commands. Please state the reasons if your codes don't require additional test scripts. For test file guidelines, please check the test style doc
  • The test results. Please paste the results comparison before and after, or the e2e results.
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model. Please run mkdocs serve to sync the documentation editions to ./docs.
  • (Optional) Release notes update. If your change is user-facing, please update the release notes draft.

BEFORE SUBMITTING, PLEASE READ https://github.com/vllm-project/vllm-omni/blob/main/CONTRIBUTING.md (anything written below this line will be removed by GitHub Actions)

…iting queue

Signed-off-by: gcanlin <canlinguosdu@gmail.com>
@gcanlin gcanlin requested a review from hsliuustc0106 as a code owner March 14, 2026 13:46
@gcanlin
Copy link
Copy Markdown
Collaborator Author

gcanlin commented Mar 14, 2026

cc @amy-why-3459 @linyueqian @Sy0307

@hsliuustc0106
Copy link
Copy Markdown
Collaborator

do we have any plan the speed up NPU perf?

@gcanlin
Copy link
Copy Markdown
Collaborator Author

gcanlin commented Mar 14, 2026

do we have any plan the speed up NPU perf?

To be honest, currently only one or two are working on Omni models. I’m not sure whether we’ll make significant progress in March, but I’ll do my best to optimize them.

@gcanlin gcanlin added the ready label to trigger buildkite CI label Mar 15, 2026
@gcanlin gcanlin mentioned this pull request Mar 15, 2026
8 tasks
@amy-why-3459
Copy link
Copy Markdown
Contributor

LGTM

Copy link
Copy Markdown
Collaborator

@hsliuustc0106 hsliuustc0106 left a comment

Choose a reason for hiding this comment

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

lgtm

@gcanlin gcanlin merged commit d636c32 into vllm-project:main Mar 18, 2026
7 checks passed
iancarrasco-b10 pushed a commit to iancarrasco-b10/vllm-omni that referenced this pull request Mar 18, 2026
…iting queue (vllm-project#1893)

Signed-off-by: gcanlin <canlinguosdu@gmail.com>
yiliu30 pushed a commit to yiliu30/vllm-omni-fork that referenced this pull request Mar 20, 2026
…iting queue (vllm-project#1893)

Signed-off-by: gcanlin <canlinguosdu@gmail.com>

Signed-off-by: yiliu30 <yi4.liu@intel.com>
clodaghwalsh17 pushed a commit to clodaghwalsh17/nm-vllm-omni-ent that referenced this pull request May 12, 2026
…iting queue (vllm-project#1893)

Signed-off-by: gcanlin <canlinguosdu@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready label to trigger buildkite CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants