-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Update llava-cli.cpp to support comma-delimited image lists #6307
Conversation
Add in the ability to specify a comma-delimited list of images at the command line for batch-processing of multiple images without needing to reload the model file.
cleanup whitespace
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 had to do something similar when implementing the retrieval
example: receive multiple files to one parameter. It seems that the most preferred method for this is to get the users to specify the parameter multiple times for multiple files.
Can you fix this modification as likewise?
Details: #6193 (comment)
Add the ability to specify --image multiple times
Update help text
change params image datatype to vector
update image flag processing code to work with vector type
Change functions to use image as a vector datatype
Is there anything else needed before this PR can be merged? |
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.
Please fix the merge conflicts too. Thanks for your contribution 👍
also need to update function body and call Co-authored-by: Georgi Gerganov <[email protected]>
Updated llava main function to pass image correctly for updated load_image
fix image param and add additional help info text
Add the ability to specify a comma-delimited list of images to llava-cli for batch-processing of multiple images without needing to reload the model file.
If this overall approach is acceptable, we can clean up variable names, help text, etc