seldon-core icon indicating copy to clipboard operation
seldon-core copied to clipboard

Explore creation of a "batching" transformer

Open Maximophone opened this issue 8 years ago • 2 comments

The unit would receive requests and aggregate them in a certain batch size.

The behaviour would be something like this:

Input transformation: When receiving new request, store it in memory and wait (needs multithreading) When enough requests have been received, returns a batch in one of them, nothing in the others

Output transformation: Wait until all outputs have arrived split the one containing the batch into all the others return all

Maximophone avatar Mar 01 '18 16:03 Maximophone

It's worth mentioning that TFServing has a pretty flexible batching configuration which can be used for inspiration.

erandagan avatar Feb 06 '19 14:02 erandagan

More likely to be part of core model servers such as tfserving or tensorrt inference server.

ukclivecox avatar Aug 20 '19 08:08 ukclivecox