Skip to content

Queue batch prediction tasks collectively#753

Open
robberlang wants to merge 3 commits intoucbrise:developfrom
robberlang:collective_batch_prediction
Open

Queue batch prediction tasks collectively#753
robberlang wants to merge 3 commits intoucbrise:developfrom
robberlang:collective_batch_prediction

Conversation

@robberlang
Copy link
Copy Markdown

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.

@AmplabJenkins
Copy link
Copy Markdown

Can one of the admins verify this patch?

@robberlang robberlang mentioned this pull request Oct 30, 2019
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

Successfully merging this pull request may close these issues.

2 participants