Skip to content

Explicitly set qwen3_omni input processor to with truncation=False#39

Merged
sarapapi merged 1 commit intomainfrom
hotfix/qwen3omni_truncation_bug
Mar 24, 2026
Merged

Explicitly set qwen3_omni input processor to with truncation=False#39
sarapapi merged 1 commit intomainfrom
hotfix/qwen3omni_truncation_bug

Conversation

@dannigt
Copy link
Copy Markdown
Collaborator

@dannigt dannigt commented Mar 24, 2026

WhisperFeatureExtractor defaults to truncation=True, silently cutting audio longer than 30s.
Qwen3OmniMoeProcessor (tested at v4.57.6) does not overrides this.

Explicitly passing truncation=False makes sure full audio is processed, matching the fix in huggingface/transformers#41473.

@sarapapi sarapapi merged commit 382f102 into main Mar 24, 2026
1 check passed
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.

2 participants