service-streamer
Boosting your Web Services of Deep Learning Applications.
ShannonAI/service-streamer is ranked 10,996 with 1,242 stars.
ShannonAI/service-streamer is ranked 10,996 among these 8 peers; ENTERPILOT/GoModel is ranked 11,007.
| Name | Rank | Metrics |
|---|---|---|
| OpenRouterArchived/openrouter-runner | 10,936 |
|
| carlosazaustre/tenacitOS | 10,943 |
|
| dmlc/dlpack | 10,950 |
|
| xllm-go/bypass | 10,983 |
|
| ENTERPILOT/GoModel | 11,007 |
|
| margelo/react-native-fast-tflite | 11,011 |
|
| chengzeyi/Comfy-WaveSpeed | 11,015 |
|
| objectbox/objectbox-dart | 11,028 |
|
| Parameter | Value |
|---|---|
| Language | Python |
| Category | Infrastructure |
| Subcategory | Deploy & Serve |
| Stars | 1,242 |
| Forks | 185 |
| Contributors | 8 |
| Created date | 2019-08-05 |
| Updated date | 2026-10-08 |
| Stars in 1 day | 0 |
| Stars in 7 days | 0 |
| Rank | 10,996 |
| Previous rank | 10,960 |
| Rank change | -36 |
| 7-day stars rank | 12,844 |
| Previous 7-day stars rank | 10,071 |
| 7-day stars rank change | -2,773 |
| Total stars rank | 9,431 |
| Previous total stars rank | 9,418 |
| Total stars rank change | -13 |
Service Streamer Boosting your Web Services of Deep Learning Applications. • Highlights • Installation • Develop BERT Service in 5 Minutes • API • Benchmark • FAQ • • Made by ShannonAI • :globe_with_meridians: What is Service Streamer ? A mini-batch collects data samples and is usually used in deep learning models. In this way, models can utilize the parallel computing capability of GPUs. However, requests from users for web services are usually discrete. If using conventional loop server or threaded server, GPUs will be idle dealing
with one request at a time. And the latency time will be linearly increasing when there are concurrent user requests. ServiceStreamer is a middleware for web service of machine learning applications. Queue requests from users are sampled into mini-batches. ServiceStreamer can significantly enhance the overall performance of the system by improving GPU utilization. Highlights :hatching_chick: **Easy to use**: Minor changes can speed up the model ten times. :zap: **Fast processing speed**: Low latency for online inference of machine
learning models. :octopus: **Good expandability**: Easy to be applied to multi-GPU scenarios for handling enormous requests. :crossed_swords: **Applicability**: Used with any web frameworks and/or deep learning frameworks. Installation Install ServiceStream by using ,requires **Python >= 3. 5** : Develop BERT Service in 5 Minutes We provide a step-by-step tutorial for you to bring BERT online in 5 minutes. The service processes 1400 sentences per second. Text Infilling is a task in natural language processing: given a sentence
with several words randomly removed, the model predicts those words removed through the given context. BERT has attracted a lot of attention in these two years and it achieves State-Of-The-Art results across many nlp tasks. BERT utilizes "Masked Language Model (MLM)" as one of the pre-training objectives. MLM models randomly mask some of the tokens from the input, and the objective is to predict the original vocabulary id of the masked word based on its context
. MLM has similarities with text infilling. It is natural to introduce BERT to text infilling task. First, we define a model for text filling task bert_model. The function accepts a batch of sentences and returns predicted position results of the token. Second, utilize Flask to pack predicting interfaces to Web service. Third, encapsulate model functions through . Three lines of code make the prediction speed of BERT service reach 200+ sentences per second (16x faster). Finally, encapsulate models through Streamer
and start service workers on multiple GPUs. Streamer further accelerates inference speed and achieves 1000+ sentences per second (80x faster). API Quick Start In general, the inference speed will be faster by utilizing parallel computing. **ServiceStreamer** is a middleware for web service of machine learning applications. Queue requests from users are scheduled into mini-batches and forward into GPU workers. ServiceStreamer sacrifices a certain delay (default maximum is 0. 1s) and enhance the overall performance by improving the ratio of
GPU utilization. Start web server on multi-threading (or coordination). Your server can usually achieve 10x ( ) times faster by adding
How many stars and forks are recorded?
ShannonAI/service-streamer has 1,242 stars and 185 forks.
What is the repository rank?
ShannonAI/service-streamer is ranked 10,996.
What language and category are recorded?
ShannonAI/service-streamer has 1,242 stars, uses Python and belongs to Infrastructure.
Which repository is closest in rank?
ShannonAI/service-streamer is compared with ENTERPILOT/GoModel, ranked 11,007 with 1,240 stars.