DeepFlow: Serverless Large Language Model Serving at Scale
Abstract
This paper introduces DeepFlow, a scalable and serverless AI platform designed to efficiently serve large language models (LLMs) at scale in cloud environments. DeepFlow addresses key challenges such as resource allocation, serving efficiency, and cold start latencies through four main design components. First, it uses a simple serverless abstraction called the request-job-task model, which helps manage AI workloads across post-training and model serving tasks. Second, it builds an in-house serving engine FlowServe using a microkernel-inspired design, NPU-centric execution, and SPMD-based parallelism to optimize LLM serving. The system also includes novel scheduling policies tailored for both PD-disaggregated and PD-colocated configurations. With optimizations like pre-warmed pods, DRAM pre-loading, and NPU-fork, DeepFlow can scale up to 64 instances in seconds. DeepFlow has been in production for over a year, operating on a large Ascend NPU cluster and providing industrystandard APIs for fine-tuning, agent serving, and model serving to our customers.
Community
This paper named “ DeepFlow: Serverless Large Language Model Serving at Scale” introduces the internal design of a MaaS platform, including serverless infrastructure, serving engine, scheduling algorithm, and scaling optimization.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Hierarchical Autoscaling for Large Language Model Serving with Chiron (2025)
- KunServe: Elastic and Efficient Large Language Model Serving with Parameter-centric Memory Management (2024)
- Locality-aware Fair Scheduling in LLM Serving (2025)
- EchoLM: Accelerating LLM Serving with Real-time Knowledge Distillation (2025)
- Efficient Deployment of Large Language Models on Resource-constrained Devices (2025)
- Rethinking cloud abstractions for tenant-provider cooperative optimization of AI workloads (2025)
- A System for Microserving of LLMs (2024)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper