[Feature] Combine Batched Inference and Chat Conversation in VLMs Deployment
- Dominant language
- Python
- Stars
- 8.1k
- Forks
- 748
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 54
Description
### 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_
Contributor guide
Assessment
This issue has not been assessed yet.