Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queue batch prediction tasks collectively #753

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

robberlang
Copy link

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

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