Skip to content

Conversation

@Isotr0py
Copy link
Member

@Isotr0py Isotr0py commented Dec 16, 2025

Purpose

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.

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
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 addresses a crash in ViT attention backend selection by replacing an assertion with a fallback mechanism. When an unsupported backend is specified, it now logs an error and proceeds with automatic selection instead of crashing. My review focuses on refining this new logic to prevent incorrect error logging when no backend is specified (a valid use case for auto-selection) and adjusting the log severity to better reflect the recoverable nature of the situation.

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
@Isotr0py Isotr0py marked this pull request as ready for review December 16, 2025 01:50
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.

@Isotr0py Isotr0py added the ready ONLY add when PR is ready to merge/full CI is needed label Dec 16, 2025
Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Comment on lines -93 to -95
selected_backend = get_current_vllm_config().attention_config.backend
if attn_backend is None:
attn_backend = selected_backend
Copy link
Member Author

Choose a reason for hiding this comment

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

After second thought, I think we have better decouple ViT attention backend and backbone attention backend config.

@Isotr0py Isotr0py requested a review from tjtanaa December 16, 2025 03:06
Copy link
Collaborator

@tjtanaa tjtanaa left a comment

Choose a reason for hiding this comment

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

LGTM.

@github-project-automation github-project-automation bot moved this to Ready in NVIDIA Dec 16, 2025
@Isotr0py Isotr0py enabled auto-merge (squash) December 16, 2025 05:04
@Isotr0py Isotr0py merged commit e94384b into vllm-project:main Dec 16, 2025
53 checks passed
@github-project-automation github-project-automation bot moved this from Ready to Done in NVIDIA Dec 16, 2025
@Isotr0py Isotr0py deleted the fix-vit-select branch December 16, 2025 08:13
weiyu0824 pushed a commit to weiyu0824/vllm that referenced this pull request Dec 16, 2025
@khluu khluu added this to the v0.13.0 milestone Dec 16, 2025
khluu pushed a commit that referenced this pull request Dec 17, 2025
)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
(cherry picked from commit e94384b)
TheCodeWrangler pushed a commit to TheCodeWrangler/vllm that referenced this pull request Dec 17, 2025
…m-project#30731)

Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn>
Signed-off-by: Nathan Price <nathan@abridge.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nvidia ready ONLY add when PR is ready to merge/full CI is needed

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants