Skip to content

Comments

[BugFix] Fix assuming all stage model have talker#730

Merged
hsliuustc0106 merged 2 commits intovllm-project:mainfrom
princepride:fix-assuming-all-model-have-talker
Jan 10, 2026
Merged

[BugFix] Fix assuming all stage model have talker#730
hsliuustc0106 merged 2 commits intovllm-project:mainfrom
princepride:fix-assuming-all-model-have-talker

Conversation

@princepride
Copy link
Collaborator

Purpose

Related PR: #726

The original code blindly accessed self.model.talker, assuming all stage models follow the Qwen2.5-Omni interface (where talker is explicitly set to None if unused). This PR changes the access to use getattr(self.model, "talker", None) to safely handle models lacking this attribute.

Signed-off-by: princepride <wangzhipeng628@gmail.com>
Signed-off-by: princepride <wangzhipeng628@gmail.com>
@hsliuustc0106
Copy link
Collaborator

@tzhouam @yinpeiqi PTAL

@yinpeiqi
Copy link
Contributor

That’s the code for support cuda graph in talker stage. We can merge this change for now. The code will be refactored later

@hsliuustc0106 hsliuustc0106 added the ready label to trigger buildkite CI label Jan 10, 2026
@hsliuustc0106 hsliuustc0106 merged commit 0ec2da0 into vllm-project:main Jan 10, 2026
7 checks passed
@qibaoyuan
Copy link
Contributor

That’s the code for support cuda graph in talker stage. We can merge this change for now. The code will be refactored later

In this PR: #715, I have proposed the same solution, but the reviewer asked for simpler code. Could we refer to this and try to come up with a better solution?

@hsliuustc0106
Copy link
Collaborator

That’s the code for support cuda graph in talker stage. We can merge this change for now. The code will be refactored later

In this PR: #715, I have proposed the same solution, but the reviewer asked for simpler code. Could we refer to this and try to come up with a better solution?

yes

sniper35 pushed a commit to sniper35/vllm-omni that referenced this pull request Jan 11, 2026
Signed-off-by: princepride <wangzhipeng628@gmail.com>
Signed-off-by: Dong Wang <dongw2019@gmail.com>
with1015 pushed a commit to with1015/vllm-omni that referenced this pull request Jan 20, 2026
Signed-off-by: princepride <wangzhipeng628@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready label to trigger buildkite CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants