← 开源
llumnix-project

llumnix-ray

Efficient and easy multi-instance LLM serving

InfrastructureDeploy & ServeOrchestrationPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
561
Star
50
Fork
+0
本周
10
贡献者
创建于 2024-05-20 · 更新于 2026-09-24 · 今日第 17003 名
主要开发者
KuilongCuiTong0217ZeldaHuang

llumnix-project/llumnix-ray 排名第 17,003,有 561 个星标。

同类别比较

llumnix-project/llumnix-ray 排名第 17,003,此处有 8 个同类条目;maxbbraun/llama4micro 排名第 17,005。

同类别比较
名称排名指标
facebookresearch/HolisticTraceAnalysis16,976
语言:
Python
星标数:
562
分叉数:
98
简介:
A library to analyze PyTorch traces.
Dstack-TEE/dstack16,988
语言:
Rust
星标数:
561
分叉数:
99
简介:
Open framework for confidential AI
cloudkj/layer16,994
语言:
Scheme
星标数:
561
分叉数:
18
简介:
Neural network inference the Unix way
kelindar/search17,000
语言:
Go
星标数:
561
分叉数:
24
简介:
Go library for embedded vector search and semantic embeddings using llama.cpp
maxbbraun/llama4micro17,005
语言:
C++
星标数:
561
分叉数:
37
简介:
A "large" language model running on a microcontroller
zengxiao-he/tessera17,012
语言:
Python
星标数:
561
分叉数:
10
WebAssembly/wasi-nn17,018
星标数:
560
分叉数:
42
简介:
Neural Network proposal for WASI
Mirrowel/LLM-API-Key-Proxy17,055
语言:
Python
星标数:
558
分叉数:
105
简介:
Universal LLM Gateway: One API, every LLM. OpenAI/Anthropic-compatible endpoints with multi-provider translation and intelligent load-balancing.
关键参数与规格
关键参数与规格
参数值
语言Python
类别Infrastructure
子类别Deploy & Serve,Orchestration
星标数561
分叉数50
贡献者10
创建日期2024-05-20
更新日期2026-09-24
1 天星标数0
7 天星标数0
排名17,003
上次排名16,794
排名变化-209
7 天星标排名15,853
上次 7 天星标排名15,859
7 天星标排名变化6
总星标排名17,706
上次总星标排名17,675
总星标排名变化-31
国家China
README 摘录

2026) We have refactored and upgraded Llumnix to Llumnix v1, a new architecture designed to be more modular and cloud-native, and better suited for production environments. We will keep iterating Llumnix v1 in the future. , the Ray-based architecture (Llumnix v0), is a better choice for local deployments and quick prototyping and experimentation of scheduling ideas. 5] We created a developer slack for discussion and collaboration. 7] We officially released the first version of Llumnix. 6] We released our

OSDI '24 research paper on arxiv. 🚀 Why Llumnix Llumnix is a cross-instance request scheduling layer built on top of LLM inference engines such as vLLM. Llumnix provides optimized multi-instance serving performance in terms of: *Low latency* **Reduced time-to-first-token** (TTFT) and queuing delays with less memory fragmentation **Reduced time-between-tokens** (TBT) and preemption stalls with better load balancing *High throughput* Integration with state-of-the-art inference engines Support for techniques like prefill-decode disaggregation

Llumnix achieves this with: Dynamic, fine-grained, KV-cache-aware scheduling Continuous **rescheduling** across instances Enabled by a KV cache migration mechanism with near-zero overhead Exploited for continuous load balancing, de-fragmentation, and prefill-decode disaggregation Llumnix is easy to use with: Minimal code changes required for vanilla vLLM deployments Seamless integration with existing multi-instance deployment platforms Fault tolerance, elasticity, and high service availability Extensibility to more inference engines and scheduling policies Getting Started Llumnix provides two entrypoints

and for deploying Llumnix. The entrypoint provides a compatible deployment method with the default single-instance vLLM. By contrast, using the entrypoint, user can easily deploy Llumnix via Ray job submission API. If you are already utilizing vLLM for multi-instance LLM serving deployments, simply replace the vLLM serving deployment command for each instance with the command provided below: During the serving deployment execution, Llumnix will automatically configure itself and serve as the request scheduling layer on top of the

multiple vLLM engine instances. For deploying Llumnix using the module, please refer to QuickStart. Visit our documentation to get started: Quick Start Supported Models Fault Tolerance Simulator Prefill-decode Disaggregation Performance We evaluate the performance of the KV-cache-aware load-balancing scheduler and migration mechanism of Llumnix with 16 Qwen2. 5-7B instances (each using an A10-24GB GPU) and 16 Llama2-13B instances (each using an A800-80GB GPU). We use Poisson distributions with different request rates to

generate request arrivals. For the input/output lengths of requests, we use ShareGPT dataset. Llumnix outperforms a simple round-robin scheduler in TTFT (prefill) by up to 6. 1x for mean and P99, and 12% for P99 TBT (decode). Llumnix also shows significantly shorter average preemption stalls (by two orders of magnitude). With the KV-cache-aware load-balancing scheduler and the migration mechanism, Llumnix also outperforms a simple load balancing scheduler based on queue sizes in TTFT (prefill) by

up to 4. 1x for mean and P99, and 15% for P99 TBT (decode). Roadmap Llumnix is currently in an

常见问题

记录了多少星标和分叉?

llumnix-project/llumnix-ray 有 561 个星标和 50 个分叉。

仓库排名是多少?

llumnix-project/llumnix-ray 排名第 17,003。

记录的语言和类别是什么?

llumnix-project/llumnix-ray 有 561 个星标,语言为 Python,类别为 Infrastructure。

哪个仓库排名最接近?

llumnix-project/llumnix-ray 与 maxbbraun/llama4micro 比较,后者排名第 17,005,有 561 个星标。

README

Llumnix

Efficient and easy multi-instance LLM serving

| Documentation | Paper | Developer Slack |


About the Llumnix V1 Upgrage (Mar. 2026)

We have refactored and upgraded Llumnix to Llumnix v1, a new architecture designed to be more modular and cloud-native, and better suited for production environments. We will keep iterating Llumnix v1 in the future. See the new repository for details!

This repository, i.e., the Ray-based architecture (Llumnix v0), is a better choice for local deployments and quick prototyping and experimentation of scheduling ideas.


🔥 Latest News

  • [2025.5] We created a developer slack for discussion and collaboration.
  • [2025.1] We updated vLLM to version v0.6.3.post1.
  • [2024.11] Llumnix v0.1.0 launched!
  • [2024.7] We officially released the first version of Llumnix.
  • [2024.6] We released our OSDI '24 research paper on arxiv.

🚀 Why Llumnix

Llumnix is a cross-instance request scheduling layer built on top of LLM inference engines such as vLLM.

Llumnix provides optimized multi-instance serving performance in terms of:

  • Low latency
    • Reduced time-to-first-token (TTFT) and queuing delays with less memory fragmentation
    • Reduced time-between-tokens (TBT) and preemption stalls with better load balancing
  • High throughput
    • Integration with state-of-the-art inference engines
    • Support for techniques like prefill-decode disaggregation

Llumnix achieves this with:

  • Dynamic, fine-grained, KV-cache-aware scheduling
  • Continuous rescheduling across instances
    • Enabled by a KV cache migration mechanism with near-zero overhead
    • Exploited for continuous load balancing, de-fragmentation, and prefill-decode disaggregation

Llumnix is easy to use with:

  • Minimal code changes required for vanilla vLLM deployments

  • Seamless integration with existing multi-instance deployment platforms

  • Fault tolerance, elasticity, and high service availability

  • Extensibility to more inference engines and scheduling policies

Getting Started

Llumnix provides two entrypoints api_server and serve for deploying Llumnix. The api_server entrypoint provides a compatible deployment method with the default single-instance vLLM. By contrast, using the serve entrypoint, user can easily deploy Llumnix via Ray job submission API.

If you are already utilizing vLLM for multi-instance LLM serving deployments, simply replace the vLLM serving deployment command python -m entrypoints.vllm.api_server ... for each instance with the command provided below:

python -m llumnix.entrypoints.vllm.api_server \
    --host $HOST \
    --port $PORT \
    ...

During the serving deployment execution, Llumnix will automatically configure itself and serve as the request scheduling layer on top of the multiple vLLM engine instances.

For deploying Llumnix using the serve module, please refer to QuickStart.

Visit our documentation to get started:

Performance

We evaluate the performance of the KV-cache-aware load-balancing scheduler and migration mechanism of Llumnix with 16 Qwen2.5-7B instances (each using an A10-24GB GPU) and 16 Llama2-13B instances (each using an A800-80GB GPU).

We use Poisson distributions with different request rates to generate request arrivals. For the input/output lengths of requests, we use ShareGPT dataset.

Llumnix outperforms a simple round-robin scheduler in TTFT (prefill) by up to 6.4x and 12.1x for mean and P99, and 12% for P99 TBT (decode). Llumnix also shows significantly shorter average preemption stalls (by two orders of magnitude).

With the KV-cache-aware load-balancing scheduler and the migration mechanism, Llumnix also outperforms a simple load balancing scheduler based on queue sizes in TTFT (prefill) by up to 4.6x and 9.1x for mean and P99, and 15% for P99 TBT (decode).

Roadmap

Llumnix is currently in an alpha stage. Moving forward, we have work items planned including but not limited to:

  • Architectural improvement: improving the scalability and efficiency of distributed serving and coordination;
  • Policy optimization: better dispatching, migration, auto-scaling policies;
  • New features: incorporating more inference engine features;
  • Engineering: testing, CI/CD, etc.

Publication

Please cite our paper if you use Llumnix in your research:

@inproceedings{sun2024llumnix,
  title={Llumnix: Dynamic Scheduling for Large Language Model Serving},
  author={Biao Sun and Ziming Huang and Hanyu Zhao and Wencong Xiao and Xinyi Zhang and Yong Li and Wei Lin},
  booktitle={18th USENIX Symposium on Operating Systems Design and Implementation (OSDI 24)},
  year={2024}
}

License

Llumnix is licensed under the Apache 2.0 License.

排名相邻
同类项目