Skip to content
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

RFE: batch size >1 #246

Open
ppbrown opened this issue Feb 10, 2025 · 0 comments
Open

RFE: batch size >1 #246

ppbrown opened this issue Feb 10, 2025 · 0 comments

Comments

@ppbrown
Copy link

ppbrown commented Feb 10, 2025

I am officially requesting what someone THOUGHT #56 was asking for:

I would like

model.answer_question(enc_image, PROMPT, tokenizer)

to be able to accept an array of image tensors, rather than only a single one.

Right now, I'm using moondream for captioning large (100,000+ image) batches. Im running more than one instance of moondream, which somewhat improves my throughput, from 4 im/sec to maybe 7im/sec.

I Imagine though, that if it properly supported batch mode, throughput might go up to 10im/sec or more?

I am informed that some other "automodel" models support this sort of thing, so it would be awesome if moondream did too.

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

No branches or pull requests

1 participant