-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
[Model] Support VLMs with transformers backend #20543
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
Merged
Isotr0py
merged 28 commits into
vllm-project:main
from
zucchini-nlp:vlm-transformers-v2
Jul 20, 2025
+625
−87
Merged
Changes from 18 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
aa2ebec
add vision LLMs
zucchini-nlp 75d8ca7
fix param dtype
Isotr0py 5da4358
v0 backward compatibility
Isotr0py f71449c
Merge branch 'main' into vlm-transformers-v2
Isotr0py f6458bc
fix out-of-date signature
Isotr0py cc1b223
revert auto mm preprocessor
Isotr0py 7efbdda
address test.txt
Isotr0py 2918b6b
fix typo and make pre-commiter happy
Isotr0py e7e6869
add transformers fallback test with image input
Isotr0py 97a1e2b
fix failing test
Isotr0py 637639e
Update vllm/model_executor/model_loader/utils.py
zucchini-nlp 82b088b
update docs
zucchini-nlp 69164c2
fix text-only model fallback
Isotr0py 11043b3
reduce qwen2.5vl test image size and update comment
Isotr0py 162fb1e
Merge remote-tracking branch 'upstream/main' into vlm-transformers-v2
Isotr0py f25d2cb
address comments
zucchini-nlp ed7de1e
delete get hf inputs
zucchini-nlp d5ecec2
style
zucchini-nlp 2a1cc73
Only call `inspect_model_cls` once in `ModelConfig.__post_init__`
hmellor 5c61d3c
Add correct Transformers backend class to `hf_config.architectures`
hmellor 606bc50
Don't automatically add all Transformers backend classes in `_normali…
hmellor 21b8abe
Make condition clearer
hmellor 5e262e8
Clean up `resolve_transformers_arch`
hmellor 091aeb4
Merge branch 'main' into vlm-transformers-v2
Isotr0py 79b4aab
disable oom qwen2_5vl test
Isotr0py 8b556eb
fix nonetype architectures
Isotr0py 205be1d
Merge remote-tracking branch 'upstream/main' into vlm-transformers-v2
Isotr0py f9dca5c
fix pooling models auto conversion
Isotr0py File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.