arXiv:2606.21712v2 cs.DC

BatchGen: 확장 가능하고 효율적인 배치 추론을 위한 아키텍처

BatchGen: An Architecture for Scalable and Efficient Batch Inference

Tairan Xu, Leyang Xue, Zhan Lu, Jinfu Deng, Hongyang Xiao, Yinsicheng Jiang, Congjie He, Matej Sandor, Le Xu, Luo Mai

제출 2026-11-19

한국어 초록

배치 추론은 AI 연산의 핵심적인 방식이 되었으나, 기존 추론 엔진은 여전히 대화형 서빙을 위해 설계된 실행 모델에 의존한다. 수백만 개의 시퀀스로 확장되면 배치 워크로드는 두 가지 근본적인 요구 사항을 드러낸다. 하나는 런타임에서만 나타나는 시퀀스 간 및 시퀀스 내부의 극단적인 부하 변동을 처리하는 능력이고, 다른 하나는 대규모 GPU 군집 전반에서 높은 활용률을 유지하는 능력이다. 기존 시스템은 이러한 요구를 충족하지 못해 달성 가능한 처리량의 상당 부분을 잃는다. 우리는 배치 추론을 위한 새로운 아키텍처 기반인 시퀀스 코루틴 연산 모델을 소개하며, 이 모델은 각 시퀀스를 세밀한 이벤트 기반 코루틴으로 표현한다. 이 모델은 런타임이 작업을 동적으로 재구성할 수 있게 하는 표현력 있는 프리미티브를 제공하여, 더 큰 전문가 수준 배치를 가능하게 하고, 스트래glers를 완화하며, 장치 간 작업을 재할당하고, 비용 효율적이거나 메모리가 제한된 GPU에서도 활용률을 유지하게 한다. 이 추상화를 바탕으로 클러스터 규모에서 코루틴 모델을 사용하는 실서비스 수준의 시스템인 BatchGen을 구현한다. 128-GPU 클러스터에서 BatchGen은 배치 완료 시간을 최대 $2.3\times$ 단축하며, 메모리가 제한된 가속기에서는 가장 강력한 오프로딩 기준선보다 최대 $9.6\times$ 높은 성능을 보인다. BatchGen은 https://github.com/batchgen-project/batchgen 에서 오픈소스로 공개할 예정이다.

원문 초록

Batch inference has become a central mode of AI computation, yet existing inference engines still rely on execution models designed for interactive serving. When scaled to millions of sequences, batch workloads reveal two fundamental requirements: the ability to handle extreme inter- and intra-sequence load variation that emerges only at runtime, and the ability to sustain high utilization across large fleets of GPUs. Existing systems fail to meet these requirements, losing substantial fractions of achievable throughput. We introduce a new architectural foundation for batch inference: the sequence coroutine compute model, which represents each sequence as a fine-grained, event-driven coroutine. This model exposes expressive primitives that allow the runtime to reorganize work dynamically, enabling larger expert-level batches, mitigating stragglers, reallocating work across devices, and maintaining utilization even on cost-effective or memory-constrained GPUs. Building on this abstraction, we implement BatchGen, a production-ready system that uses the coroutine model at cluster scale. On a 128-GPU cluster, BatchGen reduces batch completion time by up to $2.3\times$, and on memory-constrained accelerators it outperforms the strongest offloading baseline by up to $9.6\times$. We will open-source BatchGen at https://github.com/batchgen-project/batchgen

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2606.21712v2제출 시각 미확인

함께 살펴볼 논문

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

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

토론

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