arXiv:2611.17753v1 cs.DC

Superfluid: 분산 LLM 추론을 위한 로컬 AI 서버

Superfluid: Local AI Server for Distributed LLM Inference

Prabod Rathnayaka, Isura Manchanayake, Srikandabala Kogul, Steve Siu, Fabian Waschkowski, Lukas Wesemann

제출 2026-11-13

한국어 초록

대규모 언어 모델(LLM)을 로컬 장치에서 실행하면 데이터를 비공개로 유지하고, 토큰당 비용을 없애며, 네트워크 지연을 줄이고, 연결 없이도 계속 작동할 수 있다. 현재 두 가지 변화가 이러한 모델을 서비스하는 방식에 부담을 주고 있다. 하나의 장치에서는 여러 에이전트가 로컬에서 서비스되는 모델을 대화형 사용자와 공유한다. 여러 장치에 걸쳐서는 개발자나 소규모 팀이 서로 다른 벤더의 고성능 기기를 여러 대 보유하는 경우가 많은데, 모든 로컬 서버가 한 기기에서 하나의 런타임만 서비스하므로 이 기기들은 하루 대부분 유휴 상태로 남는다. 본 논문은 두 규모 모두에서 로컬 추론을 위해 만든 오픈소스 LLM 서버인 Superfluid를 제시한다. 하나의 장치에서 Superfluid는 격리된 워커 프로세스에서 llama.cpp, MLX 또는 BaseRT를 구동하며, 하나의 스케줄러가 대화형 요청을 에이전트 작업보다 앞서 처리하고, 다수의 요청이 공유하는 프롬프트를 한 번만 계산하며, 모든 토큰을 클라이언트에 도달하기 전에 영속적 로그에 기록한다. 여러 장치에 걸쳐서는 하나의 Superfluid 서버가 기기 집합을 단일 API 엔드포인트로 만든다. 서로 다른 하드웨어를 가진 기기들이 같은 모델의 사본을 서비스하고, 측정된 속도에 따라 작업을 받으며, 부하 중에도 요청 손실 없이 합류하거나 장애가 날 수 있다. Apple M5 Pro에서 Qwen3.8-27B를 사용할 때, 에이전트 여덟 개가 작업하는 동안 전송된 채팅은 첫 토큰을 1.5초에 받았으며, llama-server, Ollama, mlx_lm.server에서는 291~612초였다. 세 칩 벤더의 기기 여섯 대에서 시뮬레이션된 사용자 64명을 한 시간 동안 서비스한 실험에서, 기기가 하나씩 합류하고 한 대가 종료된 뒤 다시 합류하는 가운데 Superfluid는 5,041개의 모든 요청에 응답하였으며, 처리량은 112 tok/s에서 534 tok/s로 증가하고 첫 토큰 시간의 중앙값은 99초에서 12초로 감소하였다. Mac Studio M3 Ultra 열두 대에서는 에이전트 384개의 요청 38,563건에 걸쳐 실패 없이 10,656 tok/s를 유지한다. Superfluid는 Apache-2.0 라이선스로 https://github.com/basecompute/superfluid 에서 이용할 수 있다.

원문 초록

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 원문에서 확인하세요.

  1. arXiv:2611.17753v1

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.