Skip to content

[Test] Add example test cases for omni online#1086

Merged
hsliuustc0106 merged 11 commits intovllm-project:mainfrom
yenuo26:example
Feb 9, 2026
Merged

[Test] Add example test cases for omni online#1086
hsliuustc0106 merged 11 commits intovllm-project:mainfrom
yenuo26:example

Conversation

@yenuo26
Copy link
Contributor

@yenuo26 yenuo26 commented Jan 29, 2026

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

Purpose

Add example test cases for omni online

Test Plan

pytest -sv test_qwen2_5_omni.py --html=report.html --self-contained-html
pytest -sv test_qwen3_omni.py --html=report.html --self-contained-html

Test Result

Result Test Duration Links
Skipped tests/examples/online_serving/test_qwen2_5_omni.py::test_stream_001[omni_server0]::setup 0 ms ('/workspace/vllm-omni/tests/examples/online_serving/test_qwen2_5_omni.py', 239, 'Skipped: There is a known issue with stream error.')
Passed tests/examples/online_serving/test_qwen2_5_omni.py::test_send_multimodal_request_001[omni_server0] 00:02:40
Passed tests/examples/online_serving/test_qwen2_5_omni.py::test_send_multimodal_request_002[omni_server0] 00:01:12
Passed tests/examples/online_serving/test_qwen2_5_omni.py::test_send_multimodal_request_003[omni_server0] 00:00:41
Passed tests/examples/online_serving/test_qwen2_5_omni.py::test_modality_control_001[omni_server0] 00:00:13
Passed tests/examples/online_serving/test_qwen2_5_omni.py::test_modality_control_002[omni_server0] 00:00:41
Passed tests/examples/online_serving/test_qwen2_5_omni.py::test_modality_control_003[omni_server0] 00:00:47

Summary:
0 Failed
6 Passed
⚠️ 1 Skipped
0 Expected failures
0 Unexpected passes
0 Errors
0 Reruns

Result Test Duration
Passed tests/examples/online_serving/test_qwen_omni.py::test_send_multimodal_request_001[omni_server0] 00:04:16
Passed tests/examples/online_serving/test_qwen_omni.py::test_send_multimodal_request_002[omni_server] 00:00:22
Passed tests/examples/online_serving/test_qwen_omni.py::test_send_multimodal_request_003[omni_server] 00:00:24
Passed tests/examples/online_serving/test_qwen_omni.py::test_modality_control_001 00:00:07
Passed tests/examples/online_serving/test_qwen_omni.py::test_modality_control_002 00:00:31
Passed tests/examples/online_serving/test_qwen_omni.py::test_modality_control_003 00:00:29
Passed tests/examples/online_serving/test_qwen_omni.py::test_stream_001[omni_server] 00:00:42

Summary:
⏱️ Total time: 00:06:50
7 Passed
0 Failed
0 Skipped
0 Expected failures
0 Unexpected passes
0 Errors
0 Reruns

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)

wangyu31577 and others added 3 commits January 28, 2026 16:43
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5fdb4b1438

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

wangyu31577 added 2 commits January 29, 2026 22:27
Signed-off-by: wangyu31577 <[email protected]>
Signed-off-by: wangyu31577 <[email protected]>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds example pytest-based “online serving” test cases for Qwen Omni models (Qwen2.5-Omni and Qwen3-Omni), including a CI-oriented stage config and some test utility refactoring.

Changes:

  • Added example online serving tests that execute the shipped client scripts/shell scripts and assert on returned text/audio.
  • Added a Qwen2.5-Omni CI stage config YAML for multi-stage server startup.
  • Refactored Whisper-based audio transcription helpers in tests/conftest.py and added an optional port override to OmniServer.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
tests/examples/online_serving/test_qwen3_omni.py New example online-serving tests for Qwen3-Omni using example clients and simple output assertions.
tests/examples/online_serving/test_qwen2_5_omni.py New example online-serving tests for Qwen2.5-Omni using example clients and simple output assertions.
tests/e2e/stage_configs/qwen2_5_omni_ci.yaml New multi-stage CI stage config for Qwen2.5-Omni.
tests/conftest.py Refactors audio transcription helpers and adds optional port parameter support for OmniServer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

hsliuustc0106 and others added 5 commits February 9, 2026 11:43
- Updated `convert_audio_file_to_text` to conditionally clear GPU cache based on availability.
- Changed `port` type annotation in `OmniServer` class to support optional integer.
- Modified `omni_server` fixture documentation to clarify its scope.
- Enhanced `extract_content_after_keyword` function to raise an error if keywords are not found, improving error handling in tests.

Signed-off-by: yenuo26 <[email protected]>
…sts and adjust timeout settings

- Reduced timeout for "Omni Model Test with H100" from 180 to 60 minutes.
- Added a new test step for "Omni Model Test" with specific commands and environment settings.
- Included additional test script `test_qwen3_omni.py` in the H100 test step.

Signed-off-by: yenuo26 <[email protected]>
@yenuo26
Copy link
Contributor Author

yenuo26 commented Feb 9, 2026

@hsliuustc0106 @david6666666 Please help add the "ready" label.

@hsliuustc0106 hsliuustc0106 added the ready label to trigger buildkite CI label Feb 9, 2026
Copy link
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

@hsliuustc0106 hsliuustc0106 merged commit b81e0a8 into vllm-project:main Feb 9, 2026
7 checks passed
@yenuo26 yenuo26 deleted the example branch February 12, 2026 06:35
YanickSchraner pushed a commit to YanickSchraner/vllm-omni that referenced this pull request Feb 20, 2026
Signed-off-by: wangyu31577 <[email protected]>
Signed-off-by: Hongsheng Liu <[email protected]>
Signed-off-by: yenuo26 <[email protected]>
Co-authored-by: wangyu31577 <[email protected]>
Co-authored-by: Hongsheng Liu <[email protected]>
Co-authored-by: Copilot <[email protected]>
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