Skip to content

[CI/Build] Qwen3 Omni Tests#3802

Open
clodaghwalsh17 wants to merge 4 commits into
vllm-project:mainfrom
redhat-et:qwen3-omni-tests
Open

[CI/Build] Qwen3 Omni Tests#3802
clodaghwalsh17 wants to merge 4 commits into
vllm-project:mainfrom
redhat-et:qwen3-omni-tests

Conversation

@clodaghwalsh17
Copy link
Copy Markdown

Purpose

Improve test coverage for the Qwen3 Omni model

Test Plan

  • Ran tests on 2 H100 GPUs
  • pytest -s -v tests/e2e/offline_inference/test_qwen3_omni.py
  • pytest -s -v tests/e2e/online_serving/test_qwen3_omni_expansion.py

Test Result

Tests pass as expected


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)

Signed-off-by: Clodagh Walsh <clodaghwalsh17@gmail.com>
Signed-off-by: Clodagh Walsh <clodaghwalsh17@gmail.com>
Signed-off-by: Clodagh Walsh <clodaghwalsh17@gmail.com>
Signed-off-by: Clodagh Walsh <clodaghwalsh17@gmail.com>
@clodaghwalsh17 clodaghwalsh17 requested a review from yenuo26 as a code owner May 21, 2026 16:36
@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@hsliuustc0106
Copy link
Copy Markdown
Collaborator

Missing test results in PR description. Please paste the actual pytest output for:

  • test_qwen3_omni.py
  • test_qwen3_omni_expansion.py

Also, the PR checklist items are unchecked — please mark what's complete.

Copy link
Copy Markdown
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

This PR expands end-to-end test coverage for the Qwen3-Omni model by adding more modality combinations in both offline inference and online serving test suites.

Changes:

  • Added offline inference tests for text→text, text→audio, image→text, image→audio, and video→text.
  • Added an online serving test for audio→audio using a vendored WAV asset.
  • Updated offline prompt selection logic to include text/image/audio prompt variants.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
tests/e2e/online_serving/test_qwen3_omni_expansion.py Adds an audio→audio online E2E test that sends an audio data URL built from a local asset.
tests/e2e/offline_inference/test_qwen3_omni.py Broadens offline E2E coverage across more input/output modality combinations and expands prompt variants.

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

Comment on lines +45 to +52
def get_question(prompt_type="text"):
prompts = {
"video": "Describe the video briefly.",
"image": "Describe the image.",
"audio": "Describe the audio.",
"text": "What is the capital of the United Kingdom?",
}
return prompts.get(prompt_type, prompts["video"])
return prompts.get(prompt_type, prompts["text"])
Comment on lines +556 to +557
audio_path = Path(__file__).parent.parent.parent / "assets" / "audio-prompt.wav"
audio_data_url = f"data:audio/wav;base64,{base64.b64encode(audio_path.read_bytes()).decode('utf-8')}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants