-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
[Model] Expose Phi3v num_crops as a mm_processor_kwarg #8658
Merged
DarkLight1337
merged 33 commits into
vllm-project:main
from
alex-jw-brooks:phi3v_num_crops
Sep 24, 2024
Merged
Changes from 32 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
550378b
Allow for processor kwarg overrides
alex-jw-brooks 190606f
Pass processor through to partial
alex-jw-brooks b1ca041
Add default & processor kwarg override tests
alex-jw-brooks 195e31c
Don't allow ctx or inputs as kwargs
alex-jw-brooks 1472d04
Add kwarg override for processor to dummy data factories
alex-jw-brooks f10601f
Add kwarg override forr processor to max token calc
alex-jw-brooks 429097a
Move kwarg only override func to utils
alex-jw-brooks 159cfc2
Force processor kwargs to be keyword-only
alex-jw-brooks af91930
Pass unfiltered processor kwargs to default mapper
alex-jw-brooks 9adad10
Add hack for mapper preprocessor kwargs
alex-jw-brooks 9f7aed8
Simplify dummy data processor kwarg & add tests
alex-jw-brooks ff59e44
Add tests for max multimodal token kwarg overrides
alex-jw-brooks 6b26454
Format registry
alex-jw-brooks 0e2d53d
Fix default mapper comparison
alex-jw-brooks 5a3341b
Move kwarg filtering into hf processor getter
alex-jw-brooks 3e1fe54
Enable processor_kwargs in video processor
alex-jw-brooks feccfd7
Add tests for mapper processor_kwargs
alex-jw-brooks 3ada64d
Update mapper not on multimodal processor kwargs
alex-jw-brooks 58dcc63
processor kwarg test cleanup
alex-jw-brooks 1cee215
Move context builder to test utils
alex-jw-brooks d5f9efa
Use common context builder in processor kwarg tests
alex-jw-brooks b5d434b
Update vllm/entrypoints/llm.py
alex-jw-brooks a096301
Update vllm/inputs/registry.py
alex-jw-brooks 79962e0
Update vllm/inputs/registry.py
alex-jw-brooks 2cb1f72
Update vllm/inputs/registry.py
alex-jw-brooks 37eb532
Update vllm/inputs/registry.py
alex-jw-brooks a4c7c3d
Update vllm/inputs/registry.py
alex-jw-brooks 36dd2cb
Fix formatting
alex-jw-brooks f95c86f
Rename processor kwargs to mm processor kwargs
alex-jw-brooks 632dac1
Expose phi3v num crops processor override
alex-jw-brooks 9eca61a
Merge branch 'main' into phi3v_num_crops
DarkLight1337 a3ab6cb
Merge branch 'main' into phi3v_num_crops
DarkLight1337 4a9ccae
Update phi3v examples with num crops overrides
alex-jw-brooks 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 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 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 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.
Can you link to the HF repo explaining how to use
num_crops
?Please update the multi-image input example as well.