microsoft/batch-inference

Dynamic batching library for Deep Learning inference. Tutorials for LLM, GPT scenarios.

41
/ 100
Emerging

This toolkit helps Python developers efficiently serve Deep Learning models, especially on cloud GPUs, by automatically grouping individual requests into larger batches. Developers provide a model that can process a batch of inputs, and the toolkit handles the complex logistics of combining incoming requests and then splitting the results back to each original request. This process significantly improves the speed at which the server can handle many simultaneous requests for tasks like text embeddings or GPT completions.

106 stars. No commits in the last 6 months. Available on PyPI.

Use this if you are a Python developer hosting Deep Learning models on cloud servers and want to increase the number of inference requests your server can handle per second.

Not ideal if you are not a Python developer, or if you are not deploying Deep Learning models for high-throughput inference.

deep-learning-deployment model-serving cloud-inference large-language-models machine-learning-engineering
Stale 6m
Maintenance 0 / 25
Adoption 9 / 25
Maturity 25 / 25
Community 7 / 25

How are scores calculated?

Stars

106

Forks

5

Language

Python

License

MIT

Last pushed

Aug 14, 2024

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/transformers/microsoft/batch-inference"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.