-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
[V0 Deprecation] Remove V0-only methods in multi-modal registry #25362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[V0 Deprecation] Remove V0-only methods in multi-modal registry #25362
Conversation
Signed-off-by: DarkLight1337 <[email protected]>
return visual(pixel_values_on_device, | ||
grid_thw=video_grid_thw_on_device).cpu() | ||
|
||
# V1 Test: this calls a V0 internal. |
There was a problem hiding this comment.
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
There was a problem hiding this 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.
…-project#25362) Signed-off-by: DarkLight1337 <[email protected]>
…-project#25362) Signed-off-by: DarkLight1337 <[email protected]> Signed-off-by: charlifu <[email protected]>
Signed-off-by: DarkLight1337 <[email protected]> Signed-off-by: yewentao256 <[email protected]>
…-project#25362) Signed-off-by: DarkLight1337 <[email protected]> Signed-off-by: xuebwang-amd <[email protected]>
…-project#25362) Signed-off-by: DarkLight1337 <[email protected]>
…-project#25362) Signed-off-by: DarkLight1337 <[email protected]>
Purpose
Remove dead code
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.md
andexamples
for a new model.