Skip to content

fix: pad audio to hop length for Qwen3-Omni prompt match (cp of #4363) - #4695

Merged
yuki-97 merged 1 commit into
NVIDIA-NeMo:r0.8.0from
yuekaizhang:yuekai/r0.8.0-pad-audio-hop-length
Oct 13, 2026
Merged

yuki-97 merged 1 commit into
NVIDIA-NeMo:r0.8.0from
yuekaizhang:yuekai/r0.8.0-pad-audio-hop-length

Conversation

@yuekaizhang

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • ruff check / ruff format --check on changed files
  • pytest tests/unit/data/datasets/test_audiomcq_dataset.py (25 passed)
  • CI
  • Re-run vlm_grpo-qwen3-omni-30ba3b-audiomcq-4n8g-megatron.v1 nightly on r0.8.0 after merge

…atch

Partial cherry-pick of NVIDIA-NeMo#4363 (audio padding only; the Megatron-Bridge bump
and unrelated changes are not included).

r0.8.0 already carries the strict rollout prompt validation (NVIDIA-NeMo#4182), but not
the learner-side audio padding. Qwen3-Omni pre-pads audio to hop_length in
vLLM, so for audio whose length is not a multiple of hop_length the learner
and vLLM disagree by one audio token and the
vlm_grpo-qwen3-omni-30ba3b-audiomcq-4n8g-megatron.v1 nightly fails at step 0
validation with "vLLM processed prompt differs from the learner prompt".

Signed-off-by: Yuekai Zhang <[email protected]>
Signed-off-by: Yuekai Zhang <[email protected]>
@copy-pr-bot

copy-pr-bot Bot commented Oct 13, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions Bot added the Documentation Improvements or additions to documentation label Oct 13, 2026
@yuekaizhang yuekaizhang changed the title fix: pad audio to hop length for Qwen3-Omni learner/vLLM prompt match (partial cp of #4363) fix: pad audio to hop length for Qwen3-Omni prompt match (cp of #4363) Oct 13, 2026

@yuki-97 yuki-97 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.

Thanks for checking the failure and cherry-picking the audio padding fix onto r0.8.0.

Checked:

  • The cherry-picked changes are identical to #4363 for every file this PR touches (processor, TaskDataSpec, raw_dataset, config typing, recipe, docs, unit tests), and the unrelated parts of #4363 are left out.

@yuki-97 yuki-97 added the CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) label Oct 13, 2026
@yuki-97

yuki-97 commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

/ok to test 961c5c1

@yuki-97
yuki-97 enabled auto-merge (squash) October 13, 2026 06:59
@yuki-97
yuki-97 merged commit 19666f8 into NVIDIA-NeMo:r0.8.0 Oct 13, 2026
93 of 95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI:Lfast Runs a fast test suite and re-use nightly `main` container (but sync dependencies to PRs version) Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants