Skip to content

[Bugfix]: avoid overriding audio/text kwargs (Qwen3-Omni)#31790

Merged
DarkLight1337 merged 1 commit intovllm-project:mainfrom
Jzz1943:qwen3-kwargs-fix
Jan 6, 2026
Merged

[Bugfix]: avoid overriding audio/text kwargs (Qwen3-Omni)#31790
DarkLight1337 merged 1 commit intovllm-project:mainfrom
Jzz1943:qwen3-kwargs-fix

Conversation

@Jzz1943
Copy link
Copy Markdown
Contributor

@Jzz1943 Jzz1943 commented Jan 6, 2026

This PR fixes an issue in Qwen3OmniMoeThinker where audio_kwargs/text_kwargs could be overridden when restructuring kwargs for Transformers < 4.58.0.
We now preserve existing nested kwargs and only set truncation as a default, allowing audio_kwargs/text_kwargsto take precedence when provided by user.

@Jzz1943 Jzz1943 requested a review from sighingnow as a code owner January 6, 2026 08:32
@mergify mergify bot added the qwen Related to Qwen models label Jan 6, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly fixes an issue where user-provided audio_kwargs and text_kwargs were being overwritten in the Qwen3OmniMoeThinker multimodal processor. The change ensures that existing dictionary contents are preserved by safely updating the truncation setting instead of reassigning the dictionaries. This is a good fix that improves the robustness of multimodal argument handling for older versions of the transformers library. The implementation is clean and correct.

@Jzz1943 Jzz1943 changed the title [fix] prevent audio/text kwargs override in Qwen3OmniMoeThinker [Bugfix]: avoid overriding audio/text kwargs when moving truncation in Qwen3OmniMoeThinker Jan 6, 2026
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) January 6, 2026 10:12
@Jzz1943 Jzz1943 changed the title [Bugfix]: avoid overriding audio/text kwargs when moving truncation in Qwen3OmniMoeThinker [Bugfix]: avoid overriding audio/text kwargs in Qwen3OmniMoeThinker Jan 6, 2026
@DarkLight1337
Copy link
Copy Markdown
Member

Thanks!

@Jzz1943 Jzz1943 changed the title [Bugfix]: avoid overriding audio/text kwargs in Qwen3OmniMoeThinker [Bugfix]: avoid overriding audio/text kwargs (Qwen3-Omni) Jan 6, 2026
@DarkLight1337 DarkLight1337 disabled auto-merge January 6, 2026 10:16
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) January 6, 2026 10:16
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Jan 6, 2026
Signed-off-by: Zhongze Jiang <jiangzhongze.jzz@ant-intl.com>
auto-merge was automatically disabled January 6, 2026 11:09

Head branch was pushed to by a user without write access

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) January 6, 2026 11:10
@DarkLight1337 DarkLight1337 merged commit 2c1a4f2 into vllm-project:main Jan 6, 2026
53 checks passed
Anexdeus pushed a commit to Anexdeus/vllm that referenced this pull request Jan 6, 2026
…ct#31790)

Signed-off-by: Zhongze Jiang <jiangzhongze.jzz@ant-intl.com>
Signed-off-by: Anexdeus <5142168@mail.ru>
LucasWilkinson pushed a commit to neuralmagic/vllm that referenced this pull request Jan 6, 2026
…ct#31790)

Signed-off-by: Zhongze Jiang <jiangzhongze.jzz@ant-intl.com>
yugong333 pushed a commit to yugong333/vllm that referenced this pull request Jan 9, 2026
…ct#31790)

Signed-off-by: Zhongze Jiang <jiangzhongze.jzz@ant-intl.com>
akh64bit pushed a commit to akh64bit/vllm that referenced this pull request Jan 16, 2026
…ct#31790)

Signed-off-by: Zhongze Jiang <jiangzhongze.jzz@ant-intl.com>
dsuhinin pushed a commit to dsuhinin/vllm that referenced this pull request Jan 21, 2026
…ct#31790)

Signed-off-by: Zhongze Jiang <jiangzhongze.jzz@ant-intl.com>
Signed-off-by: dsuhinin <suhinin.dmitriy@gmail.com>
ItzDEXX pushed a commit to ItzDEXX/vllm that referenced this pull request Feb 19, 2026
…ct#31790)

Signed-off-by: Zhongze Jiang <jiangzhongze.jzz@ant-intl.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

qwen Related to Qwen models ready ONLY add when PR is ready to merge/full CI is needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants