Skip to content

Conversation

@yuekaizhang
Copy link
Contributor

@yuekaizhang yuekaizhang commented Aug 26, 2025

This PR supports qwen2audio models to process audio_embeddings as the inputs.

Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
@mergify mergify bot added the qwen Related to Qwen models label Aug 26, 2025
Copy link
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 adds support for providing pre-computed audio embeddings as input to Qwen2-Audio models. The changes correctly introduce new data structures and parsing logic to handle embeddings alongside raw audio features. However, I've identified two critical issues in the implementation. The first is a KeyError that will occur when accessing audio embeddings due to using an incorrect variable. The second is a logical error in how lists of audio embeddings are processed, where they are incorrectly concatenated, losing the essential separation between embeddings from different audio sources. I have provided code suggestions to fix both of these critical bugs.

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

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

Thanks, LGTM

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) August 26, 2025 07:45
@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Aug 26, 2025
@DarkLight1337 DarkLight1337 disabled auto-merge August 26, 2025 10:21
@DarkLight1337 DarkLight1337 enabled auto-merge (squash) August 26, 2025 10:21
@DarkLight1337
Copy link
Member

PTAL at the failing test

Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
auto-merge was automatically disabled August 26, 2025 12:47

Head branch was pushed to by a user without write access

@DarkLight1337 DarkLight1337 merged commit 9d4183d into vllm-project:main Aug 26, 2025
40 checks passed
tc-mb pushed a commit to tc-mb/vllm that referenced this pull request Aug 27, 2025
Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: tc-mb <caitianchi@modelbest.cn>
epwalsh pushed a commit to epwalsh/vllm that referenced this pull request Aug 28, 2025
Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
xiao-llm pushed a commit to xiao-llm/vllm that referenced this pull request Aug 28, 2025
Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: Xiao Yu <xiao.yu@amd.com>
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Aug 28, 2025
Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
zhewenl pushed a commit to zhewenl/vllm that referenced this pull request Sep 3, 2025
Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
FeiDaLI pushed a commit to FeiDaLI/vllm that referenced this pull request Sep 25, 2025
Signed-off-by: Yuekai Zhang <zhangyuekai@foxmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.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