Skip to content

Conversation

DarkLight1337
Copy link
Member

@DarkLight1337 DarkLight1337 commented Sep 22, 2025

Purpose

Remove dead code

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.

@DarkLight1337 DarkLight1337 added the ready ONLY add when PR is ready to merge/full CI is needed label Sep 22, 2025
return visual(pixel_values_on_device,
grid_thw=video_grid_thw_on_device).cpu()

# V1 Test: this calls a V0 internal.
Copy link
Member Author

Choose a reason for hiding this comment

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

I forgot to remove this in #18465

@mergify mergify bot added multi-modality Related to multi-modality (#4194) qwen Related to Qwen models labels Sep 22, 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 focuses on removing dead code by deleting V0-only methods (get_max_tokens_by_modality and get_max_multimodal_tokens) from the MultiModalRegistry. The changes are straightforward and correctly remove the deprecated functionality along with its import. I've identified one area for improvement: the function processor_only_cache_from_config seems to be orphaned by these changes and should also be removed from vllm/multimodal/cache.py to complete the dead code cleanup and avoid future confusion.

@DarkLight1337 DarkLight1337 merged commit 6d0b827 into vllm-project:main Sep 22, 2025
43 of 45 checks passed
@DarkLight1337 DarkLight1337 deleted the drop-v0-registry branch September 22, 2025 05:58
FeiDaLI pushed a commit to FeiDaLI/vllm that referenced this pull request Sep 25, 2025
charlifu pushed a commit to ROCm/vllm that referenced this pull request Sep 25, 2025
yewentao256 pushed a commit that referenced this pull request Oct 3, 2025
xuebwang-amd pushed a commit to xuebwang-amd/vllm that referenced this pull request Oct 10, 2025
choprahetarth pushed a commit to Tandemn-Labs/vllm that referenced this pull request Oct 11, 2025
lywa1998 pushed a commit to lywa1998/vllm that referenced this pull request Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

multi-modality Related to multi-modality (#4194) qwen Related to Qwen models 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