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

[Feature] Combine Batched Inference and Chat Conversation in VLMs Deployment #2628

Open
Yusepp opened this issue Oct 21, 2024 · 0 comments
Open

Comments

@Yusepp
Copy link

Yusepp commented Oct 21, 2024

Motivation

In the Vision-Language Models (VLMs) Deployment section, particularly under the Offline Inference Pipeline, there are examples that demonstrate two separate functionalities:

  • Running batched inference.
  • Running a chat conversation, which processes multiple inputs.

I’m wondering if there's a way to combine both approaches. Specifically, I’d like to provide a list of lists, where each list represents a conversation (composed of tuples of (text, image) pairs, or just text). The goal would be to run batched inference for 8 conversations at a time.

This would streamline scenarios involving multiple conversations with image and text inputs. Is there any existing support for this, or could this be considered as a new feature?

Thanks in advance!

Related resources

No response

Additional context

No response

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