Skip to content

Add Qwen3-Omni layers test to CI#4402

Merged
copybara-service[bot] merged 1 commit into
mainfrom
hengtaoguo-test
Jul 9, 2026
Merged

Add Qwen3-Omni layers test to CI#4402
copybara-service[bot] merged 1 commit into
mainfrom
hengtaoguo-test

Conversation

@hengtaoguo

@hengtaoguo hengtaoguo commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Description

The transformers==5.13.0 Qwen3-Omni audio reference changed how it handles packed attention inputs, while MaxText still tests batched audio inputs directly.

This PR updates the Qwen3-Omni audio reference tests to match the current transformers API. Instead of flattening multiple batch items or chunks and passing an explicit block-diagonal attention_mask, the tests now run each independent batch item/chunk separately in the PyTorch reference path. This preserves the original no-cross-attention behavior without passing a duplicate attention_mask.

Also included:

  • Skip the Qwen3-Omni preprocessing parity test, which depends on optional media packages such as decord.

Tests

python -m pytest tests/unit/qwen3_omni_layers_test.py -vv -s

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov

codecov Bot commented Jul 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@copybara-service
copybara-service Bot merged commit 8a41c4d into main Jul 9, 2026
80 of 81 checks passed
@copybara-service
copybara-service Bot deleted the hengtaoguo-test branch July 9, 2026 22:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants