Is there any way to do dynamic batching?

Say I have a vision model deployed and I send 5 images within x time is there a way to actually stack the images, pass them through the model and return the 5 responses? I was able to find concurrent handlers etc. but nothing actual batching (other than sending them all in the same request of course)
2 Replies
ashleyk
ashleyk9mo ago
There is no batching, the concurrency thing is only solution available.
Mandelion
Mandelion9mo ago
I see ok thanks, so I guess should handle that on my side then and send single requests
Want results from more Discord servers?
Add your server