Skip to content

Conversation

@cpumaxx
Copy link
Contributor

@cpumaxx cpumaxx commented Mar 25, 2024

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

cpumaxx added 2 commits March 25, 2024 16:44
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
Copy link
Collaborator

@mscheong01 mscheong01 left a 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)

cpumaxx added 2 commits April 5, 2024 11:19
Add the ability to specify --image multiple times
Update help text
@cpumaxx cpumaxx requested a review from mscheong01 April 6, 2024 17:35
cpumaxx added 3 commits April 9, 2024 21:01
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
@cpumaxx cpumaxx requested a review from mscheong01 April 10, 2024 04:28
@cpumaxx
Copy link
Contributor Author

cpumaxx commented Apr 22, 2024

Is there anything else needed before this PR can be merged?

Copy link
Collaborator

@mscheong01 mscheong01 left a 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 👍

cpumaxx and others added 3 commits April 28, 2024 15:29
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants