Skip to content

[Bugfix] Fix incompatibility between #33372 and #32863#33475

Merged
vllm-bot merged 4 commits intovllm-project:mainfrom
DarkLight1337:fix-return-dict
Jan 31, 2026
Merged

[Bugfix] Fix incompatibility between #33372 and #32863#33475
vllm-bot merged 4 commits intovllm-project:mainfrom
DarkLight1337:fix-return-dict

Conversation

@DarkLight1337
Copy link
Copy Markdown
Member

@DarkLight1337 DarkLight1337 commented Jan 31, 2026

Purpose

Fix kwargs not defined error because #32863 was merged without considering the changes from #33372.

Test Plan

Test Result


Essential Elements of an Effective PR Description Checklist
  • The purpose of the PR, such as "Fix some issue (link existing issues this PR will resolve)".
  • The test plan, such as providing test command.
  • The test results, such as pasting the results comparison before and after, or e2e results
  • (Optional) The necessary documentation update, such as updating supported_models.md and examples for a new model.
  • (Optional) Release notes update. If your change is user facing, please update the release notes draft in the Google Doc.

…ect#32863

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
@DarkLight1337 DarkLight1337 requested a review from hmellor January 31, 2026 13:09
@mergify mergify bot added the bug Something isn't working label Jan 31, 2026
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
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 addresses a critical bug where a NameError would occur in several renderers due to an undefined kwargs variable. The fix correctly removes the lines causing the error. Additionally, the logic to set return_dict=False for chat template application has been centralized in vllm/renderers/params.py, which is a good refactoring that improves maintainability. Other related files have been cleaned up for consistency. The changes are correct and effectively resolve the issue.

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
@vllm-bot vllm-bot merged commit 4cb59de into vllm-project:main Jan 31, 2026
5 of 6 checks passed
@DarkLight1337 DarkLight1337 deleted the fix-return-dict branch February 2, 2026 09:28
PiratePai pushed a commit to PiratePai/epd_shm that referenced this pull request Feb 3, 2026
…ect#32863 (vllm-project#33475)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
Signed-off-by: Pai <416932041@qq.com>
ItzDEXX pushed a commit to ItzDEXX/vllm that referenced this pull request Feb 19, 2026
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.

3 participants