Skip to content

Fix Qwen3-Omni generate output arguments - #42

Merged
mgaido91 merged 2 commits into
mainfrom
fix_qwen3omni_inference
Jul 17, 2026
Merged

Fix Qwen3-Omni generate output arguments#42
mgaido91 merged 2 commits into
mainfrom
fix_qwen3omni_inference

Conversation

@sarapapi

Copy link
Copy Markdown
Collaborator

Qwen3-Omni generate in the newer HuggingFace transformers versions return only one output argument, while previously, two arguments were returned---(text_ids, audio) tuples. This PR modifies the code to work with both older (e.g., 5.0.0) and newer (e.g., 5.1.16) versions of the code.

@sarapapi
sarapapi requested a review from mgaido91 July 13, 2026 19:25
@sarapapi sarapapi self-assigned this Jul 13, 2026
@sarapapi sarapapi added the bug Something isn't working label Jul 13, 2026
@mgaido91
mgaido91 merged commit a794b40 into main Jul 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants