Skip to content

[BugFix] Fix benchmarks#2210

Open
LJH-LBJ wants to merge 2 commits intovllm-project:mainfrom
LJH-LBJ:fix-benchmark
Open

[BugFix] Fix benchmarks#2210
LJH-LBJ wants to merge 2 commits intovllm-project:mainfrom
LJH-LBJ:fix-benchmark

Conversation

@LJH-LBJ
Copy link
Contributor

@LJH-LBJ LJH-LBJ commented Mar 26, 2026

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

Purpose

Fix : #1872

Changes

1. Fix goodput audio_ttfp metric key typo

File: vllm_omni/benchmarks/metrics/metrics.py

The goodput calculation was reading audio_ttft instead of audio_ttfp, causing the audio first-packet latency SLO to be silently ignored.

Changed "audio_ttft""audio_ttfp" in the goodput config lookup.

2. Add audio_duration to CLI --percentile-metrics help

File: vllm_omni/entrypoints/cli/benchmark/serve.py

vllm bench serve --help was missing audio_duration in the --percentile-metrics help text, even though the implementation supports it.

Updated help string to include "audio_ttfp", "audio_rtf", "audio_duration".

3. Fix script name in qwen3-omni benchmark README

File: benchmarks/qwen3-omni/README.md

README referenced non-existent extract_prompts.py. The actual script is extract_tts_prompts.py.

Changed python extract_prompts.pypython extract_tts_prompts.py.

4. Lazy-import imageio in test conftest

File: tests/conftest.py

Top-level import imageio.v3 caused ModuleNotFoundError for any test run in environments without imageio, blocking unrelated tests (e.g., benchmark unit tests).

Moved imageio imports into the function bodies that actually need them (assert_video_valid and generate_synthetic_video).

Test Plan

Test Result


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)

LJH-LBJ and others added 2 commits March 16, 2026 10:35
Signed-off-by: Junhong Liu <98734602+LJH-LBJ@users.noreply.github.com>
@LJH-LBJ LJH-LBJ requested a review from hsliuustc0106 as a code owner March 26, 2026 03:59
if "audio_ttfp" in goodput_config_dict:
valid_metrics.append(audio_ttfps)
slo_values.append(goodput_config_dict["audio_ttft"] / MILLISECONDS_TO_SECONDS_CONVERSION)
slo_values.append(goodput_config_dict["audio_ttfp"] / MILLISECONDS_TO_SECONDS_CONVERSION)
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe we can add UT for this feature?

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.

[Bug]: Omni-Modality model benchmarks

2 participants