clipper icon indicating copy to clipboard operation
clipper copied to clipboard

Queue batch prediction tasks collectively

Open robberlang opened this issue 5 years ago • 1 comments

This PR allows inputs of batch queries (using input_batch) to be sent to the model container all together (limited to the maximum batch size), rather than individually. It does this by adding all of the subqueries of the batch query at once to the model queue, so that the queue is locked and the waiters notified once only for the entire batch rather than locking the queue and notifying for each subquery individually.

robberlang avatar Oct 30 '19 15:10 robberlang

Can one of the admins verify this patch?

AmplabJenkins avatar Oct 30 '19 15:10 AmplabJenkins