跳到正文
arXiv (AI + Vision + Imaging)· Prabod Rathnayaka, Isura Manchanayake, Srikandabala Kogul, Steve Siu, Fabian Waschkowski, Lukas Wesemann·· 9 天前精选AI 评分55

Superfluid:面向本地LLM推理的分布式开源服务器

Superfluid: Local AI Server for Distributed LLM Inference

AI 导读

研究团队提出开源本地LLM推理服务器Superfluid,在单机上通过统一调度器驱动llama.cpp、MLX或BaseRT的隔离工作进程,把交互请求排在智能体任务之前,并将多台异构机器聚合为单一API端点。

推荐理由

论文给出跨厂商异构设备统一调度本地LLM推理的实测数据,可对照单机多智能体场景的首token延迟差距。

正文 · 原文

arXiv:2611.17753v1 Announce Type: cross Abstract: Running large language models (LLMs) on local devices keeps data private, removes per-token cost, cuts network latency, and keeps working without a connection. Two shifts now strain how such models are served. On one device, several agents share a locally served model with an interactive user. Across devices, a developer or small team often owns several capable machines from different vendors, which sit idle most of the day because every local server serves one runtime on one machine. We present Superfluid, an open-source LLM server built for local inference at both scales. On one device, Superfluid drives llama.cpp, MLX, or BaseRT in isolated worker processes through one scheduler that moves interactive requests ahead of agent work, computes a prompt shared by many requests once, and writes every token to a durable log before it reaches the client. Across devices, one Superfluid server turns a fleet of machines into a single API endpoint. Machines with different hardware serve copies of the same model, receive work according to their measured speed, and can join or fail under load without losing a request. For Qwen3.8-27B on an Apple M5 Pro, a chat sent while eight agents are working receives its first token in 1.5 s, against 291-612 s on llama-server, Ollama, and mlx_lm.server. On six machines from three chip vendors serving 64 simulated users for one hour, Superfluid answers all 5,041 requests while machines join one at a time and one is killed and rejoins; throughput grows from 112 to 534 tok/s and the median first-token time falls from 99 to 12 s. On twelve Mac Studio M3 Ultras it sustains 10,656 tok/s across 38,563 requests from 384 agents without a failure. Superfluid is available under the Apache-2.0 licence at https://github.com/basecompute/superfluid.

来源:arXiv (AI + Vision + Imaging) · arxiv.org