-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
add batching support in inference server #11466
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Haifeng Qian <[email protected]>
Signed-off-by: haifengqian <[email protected]> Signed-off-by: Haifeng Qian <[email protected]>
… sequence in a batch Signed-off-by: Haifeng Qian <[email protected]>
In theory, with the previous implementation it would have been possible for a thread to re-use the output from a previous batch, if it happened to grab the lock before the thread with queryid == 0. Signed-off-by: Haifeng Qian <[email protected]>
This can give a small speedup for free, since usually batched queries all come in within <0.5s Signed-off-by: Haifeng Qian <[email protected]>
944f83a
to
3409659
Compare
[🤖]: Hi @haifengqian 👋, We wanted to let you know that a CICD pipeline for this PR just finished successfully So it might be time to merge this PR or get some approvals I'm just a bot so I'll leave it you what to do next. //cc @pablo-garay @ko3n1g |
beep boop 🤖: 🙏 The following files have warnings. In case you are familiar with these, please try helping us to improve the code base. Your code was analyzed with PyLint. The following annotations have been identified:
Thank you for improving NeMo's documentation! |
1 similar comment
beep boop 🤖: 🙏 The following files have warnings. In case you are familiar with these, please try helping us to improve the code base. Your code was analyzed with PyLint. The following annotations have been identified:
Thank you for improving NeMo's documentation! |
[🤖]: Hi @haifengqian 👋, We wanted to let you know that a CICD pipeline for this PR just finished successfully So it might be time to merge this PR or get some approvals I'm just a bot so I'll leave it you what to do next. //cc @pablo-garay @ko3n1g |
What does this PR do ?
add batching support in inference server
Collection: nlp
GitHub Actions CI
The Jenkins CI system has been replaced by GitHub Actions self-hosted runners.
The GitHub Actions CI will run automatically when the "Run CICD" label is added to the PR.
To re-run CI remove and add the label again.
To run CI on an untrusted fork, a NeMo user with write access must first click "Approve and run".
Before your PR is "Ready for review"
Pre checks:
PR Type: