EcoServe 是一个开源的大语言模型服务系统,采用部分解耦架构和跨实例编排,在缺乏 NVLink 或 InfiniBand 等高性能互连的普通 GPU 集群上高效运行推理。

Stars

23

7 天增长

暂无数据

Fork 数

1

开放 Issue

0

开源协议

Apache-2.0

最近更新

2026-07-05

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它通过避免 KV 缓存传输并采用创新的滚动激活机制来保持低 TTFT,解决了在廉价硬件上部署 LLM 的实际难题,相关论文已被 OSDI '26 收录。

适合谁使用

  • 从事 LLM 服务和系统研究的学者
  • 在成本受限的 GPU 集群上部署 LLM 的工程师
  • 关注解耦推理架构的开发者
  • vLLM 的贡献者或希望提升性能的用户

典型使用场景

  • 在没有 NVLink 或 InfiniBand 的集群上提供大语言模型服务
  • 使用普通 GPU 降低推理成本同时满足 SLO 要求
  • 在生产环境中探索预填充/解码解耦调度

项目优势

  • 数据精简设计:仅传输令牌和控制信号,不传输 KV 缓存
  • 基于 vLLM 0.7.3,继承其成熟且广泛使用的推理引擎
  • 提供完整的宏实例实现,包含自适应调度器和在线扩缩容机制
  • 包含基准测试工具和性能分析流程,便于复现

使用前须知

  • 启动前需要在独立分支上生成预填充性能分析配置文件
  • 依赖 pdsh 和 SSH,增加了部署复杂性
  • 仅支持 Linux 和 NVIDIA GPU 及 CUDA,限制了可移植性

README 快速开始

EcoServe

Efficient LLM Serving on Commodity GPU Clusters with Data-Reduced Cross-Instance Orchestration (OSDI '26)

EcoServe is an LLM serving system built for commodity GPU clusters — clusters without high-performance interconnects such as NVLink or InfiniBand. It follows a partially disaggregated (PaDG) strategy: within each instance, prefill and decode are disaggregated along the time dimension to mitigate prefill–decode interference; across instances, a cooperating group is cyclically ("rolling") activated — forming a macro instance — so that prefills are always in flight and TTFT stays low. An adaptive scheduler routes requests within a macro instance while a mitosis scaling mechanism adjusts capacity online, together improving goodput.

This repository provides EcoServe's macro instance implementation — the core cross-instance orchestration layer (rolling activation, adaptive scheduling, and the API-server / macro-instance / instance roles) that realizes the PaDG strategy on top of vLLM.

Built on vLLM 0.7.3 — EcoServe code lives in ecoserve/, and most of the vLLM source is kept as-is apart from a few minor changes to the scheduler. See the paper for details.

Architecture

EcoServe wires the API server, the macro-instance, and the vLLM instances together over ZeroMQ — only requests, control signals, and generated tokens cross the network, never KV cache (the "data-reduced" part of the design).

              request                route + control
  clients ──►  API server  ─────────►  Macro instance  ─────────►  Instances
          ◄──  (/generate)             (scheduler)     ◄─ state ──  (vLLM engines)
              tokens  ▲                                                  │
                      └──────────────  generated tokens  ────────────────┘
  • API server (head node) — the client-facing /generate endpoint; forwards each request to the macro instance and streams back the tokens it receives from instances.
  • Macro instance (head node) — the cross-instance scheduler. It tracks every instance's state and decides when and where requests run, driving rolling activation by sending control signals that toggle which instance currently takes prefills.
  • *Instances

项目描述

[OSDI' 26] Efficient LLM Serving on Commodity GPU Clusters with Data-Reduced Cross-Instance Orchestration

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482