-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
[Bugfix] Merge MM embeddings by index instead of token IDs #16229
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
DarkLight1337
merged 60 commits into
vllm-project:main
from
DarkLight1337:rm-merge-mm-embeddings
Sep 27, 2025
Merged
Changes from 12 commits
Commits
Show all changes
60 commits
Select commit
Hold shift + click to select a range
dfebf51
[Bugfix] Merge multimodal embeddings by `is_embed` mask instead of to…
DarkLight1337 437dacd
Rename
DarkLight1337 bbe7096
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 57e9f03
Use #16007
DarkLight1337 d5c9555
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 e08deaa
Fix
DarkLight1337 302b2c5
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 6a1307f
Update
DarkLight1337 3a4740a
Fix
DarkLight1337 68c54d8
Draft
DarkLight1337 6ddc91e
Fix device
DarkLight1337 28cc8cb
Persistent buffer
DarkLight1337 c335908
Avoid unnecessary initialization
DarkLight1337 cbb70ea
Fix reset
DarkLight1337 76f2925
Update
DarkLight1337 b6e8775
Simplify
DarkLight1337 fee0d27
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 f71a40b
Use padded tokens
DarkLight1337 3af1bdb
Fix wrong device
DarkLight1337 003800e
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 975569d
Debug
DarkLight1337 8d6b6c4
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 c001581
Fix?
DarkLight1337 9e4512c
Simplify the code
DarkLight1337 e002d44
Reduce diffs
DarkLight1337 1934f25
Avoid intermediate variable
DarkLight1337 573cb4b
Standardize input embeddings logic
DarkLight1337 fa5e688
Cleanup
DarkLight1337 0799fdb
Fix
DarkLight1337 7f58edc
Fix
DarkLight1337 1e9ec64
Comment out debug path
DarkLight1337 439b264
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 a9f7e84
fix tpu recompilations
NickLucche 29e0ad5
Remove sanity check for code simplicity
DarkLight1337 9a6768e
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 f6e7e62
Update interface for all MM models
DarkLight1337 74a4d5f
Avoid circular import
DarkLight1337 6d3a733
Fix `get_input_embeddings`
DarkLight1337 d30a4a6
Improve logging for unimpl methods
DarkLight1337 ad27e91
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 028aedf
More fixes
DarkLight1337 38058d1
Fix
DarkLight1337 a71a832
Fix
DarkLight1337 3d4495a
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 7d8f58d
Fix V0
DarkLight1337 e33a195
Rename `do_language_embed_multimodal -> handle_oov_mm_token`
DarkLight1337 ead536d
Update docstring
DarkLight1337 6db35c3
Add doc
DarkLight1337 7dc2675
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 d13fca8
Update DotsOCR
DarkLight1337 beb9df0
Fix wrong condition
DarkLight1337 8a6fb1b
fix qwen3-vl
ywang96 2eefc2d
Fix wrong condition
DarkLight1337 b79860e
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 7769ec1
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 aa67033
Reduce diff
DarkLight1337 3656239
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 9260170
Simplify
DarkLight1337 2ac91b6
Fix doc
DarkLight1337 3033297
Merge branch 'main' into rm-merge-mm-embeddings
DarkLight1337 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
Some comments aren't visible on the classic Files Changed page.
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
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.
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.
This makes the code format consistent with model runner