arXiv:2605.06914v2 cs.DC

LLM 서빙에서 분기 병렬성의 속도 조절

Pacing Branch Parallelism in LLM Serving

Swapnil Gandhi, Siva Kumar Sastry Hari, William J. Dally, Christos Kozyrakis

제출 2026-11-03

한국어 초록

최근 방법들은 LLM 출력의 요청 내 병렬성을 노출하여 독립적인 분기들을 동시에 디코딩할 수 있게 한다. 기존 서빙 시스템은 이러한 분기를 즉시 실행하거나 고정된 상한 하에서 실행한다. 우리는 두 방식 모두 취약함을 보인다. 즉시 허용하면 공유 디코드 단계가 늘어나 직렬 단계에 있는 함께 배치된 요청들의 성능이 저하되고, 보수적인 고정 상한은 애초에 분기를 노출한 동기였던 처리량을 포기하게 한다. 우리는 허용된 분기로 인해 발생하는 초과 단계 지연을 \emph{분기 외부효과}라고 부르며, 안전한 폭은 배치 구성, 컨텍스트 길이, 누적된 여유에 의존하고 이 모두가 워크로드 트레이스 전반에서 지속적으로 변한다는 것을 보인다. 우리는 추가 분기를 기회적 폭으로 취급하여, 예측된 분기 외부효과가 배치의 현재 여유 예산 내에 들어올 때만 허용하는 단계별 허용 제어기 PACE를 소개한다. 분기 수준 스케줄링이 연산과 메모리를 분리하기 때문에 단계별 조절은 실용적이다. 분기들이 요청의 프리픽스 KV를 공유하므로 폭을 늘리거나 줄여도 메모리 회수가 필요하지 않다. Qwen3-32B에서 PACE는 99% SLO 달성률을 유지하면서 분기 병렬성 없이 서빙할 때보다 굿풋을 $1.77\times$, 즉시 허용 방식보다 $1.48\times$ 향상시킨다. 최대 671B 매개변수를 가진 다섯 개의 추가 밀집 및 전문가 혼합 모델에서도 비슷한 이득($1.72$--$2.15\times$)이 유지된다. 코드는 https://github.com/Swapnil-Gandhi/PACE 에서 제공된다.

원문 초록

Recent methods expose intra-request parallelism in LLM outputs, allowing independent branches to decode concurrently. Existing serving systems execute these branches eagerly or under fixed caps. We show that both are brittle: eager admission inflates the shared decode step, degrading co-batched requests in serial stages, while conservative fixed caps forgo the throughput that motivated exposing branches in the first place. We call the excess step latency caused by admitted branches the \emph{branch externality} and show that the safe width depends on batch composition, context lengths, and accumulated slack, all of which change continuously over a workload trace. We introduce PACE, a per-step admission controller that treats extra branches as opportunistic width, admitted only when the predicted branch externality fits within the batch's current slack budget. Per-step regulation is practical because branch-level scheduling decouples compute from memory: branches share the request's prefix KV, so expanding or contracting width requires no memory reclamation. On Qwen3-32B, PACE improves goodput by $1.77\times$ over serving without branch parallelism and by $1.48\times$ over eager admission while maintaining 99\% SLO attainment. Comparable gains ($1.72$--$2.15\times$) hold on five additional dense and mixture-of-experts models with up to 671B parameters. Code is available at https://github.com/Swapnil-Gandhi/PACE

제출 이력

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

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

함께 살펴볼 논문

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

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

토론

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