- The paper introduces Albireo, a novel SiDP approach that improves memory efficiency by distributing FFN weights across GPUs.
- It leverages dual-mode execution—WaS for large batches and CaS for tail jobs—to optimize throughput and reduce NVLink bottlenecks.
- Empirical results show up to 1.8× KV cache expansion and 1.5× throughput gains, validating the paradigm for offline LLM inference.
SiDP: Memory-Efficient Data Parallelism for Offline LLM Inference
Motivation and Problem Definition
The escalating adoption of LLMs has led to a bifurcation in inference workloads: latency-critical online services and throughput-oriented offline jobs. The latter—encompassing large-scale dataset processing, evaluation, synthetic data generation, and RL rollouts—predominantly seek maximal aggregate throughput, with batch size serving as the primary lever. In these settings, increasing batch size improves arithmetic intensity and kernel utilization, yielding significant throughput gains up to a hardware-dependent threshold (Be), after which marginal utility stagnates. However, memory constraints—chiefly from model weights (W) and key-value (KV) cache for active tokens—become the dominant bottleneck, especially as batch sizes and sequence lengths grow. Data parallelism (DP), while optimal for scaling throughput, incurs redundant weight replication across devices, severely limiting available memory for KV cache and constraining B. Conversely, model parallelism (MP) shards the model to reduce per-device weight footprint but mandates step synchronization, reducing scheduling flexibility and throughput.
Albireo: Architectural Principles and Algorithms
Albireo, the presented SiDP solution, directly addresses this tension. It organizes model weights within a DP group into a distributed pool, assigning each layer to a specific GPU and allowing peers to access weights via two execution paradigms:
- Weight-as-a-Service (WaS): In large-batch regimes, non-owner GPUs asynchronously fetch required FFN weights from the owner's HBM over NVLink, caching them locally. Local computation is preserved, and remote weight fetches are overlapped with compute, minimizing contention. Decentralized, staggered prefetching (peak shifting) avoids NVLink hotspots, ensuring bandwidth-efficient operation.
- Compute-as-a-Service (CaS): In the long-tail, small-batch regime, activations are shipped to the weight-owning GPU, which performs the GEMM and returns results. Batch fusion, dummy skipping, and orchestrator-controlled mode switching optimize bandwidth and tail job completion.
Initialization parses the model, assigns layer ownership, exports remote buffer handles, and wraps FFN modules transparently. Attention weights remain locally replicated due to their smaller parameter footprint and locality constraints. All weight transfers use CUDA IPC and operate on dedicated streams via asynchronous events, allowing seamless overlap with primary computation.
Figure 1: Overview of the Albireo architecture with layer ownership, asynchronous prefetching, and dual WaS/CaS modes.
Figure 2: Memory layout and per-layer workflows for WaS and CaS in Albireo, illustrating DP group interaction and buffer management.
Empirical Evaluation: Throughput and Memory Efficiency
Albireo was benchmarked on NVIDIA H20, H200, and B200 nodes with Qwen3-32B, Qwen2.5-72B, and Llama-3.1-70B under offline workloads with large sequences. The most salient results include:
- Increased KV Cache Capacity: Albireo enlarges the available KV cache by up to 1.8× under identical DP/TP configurations. For large DP settings (e.g., TP=1, DP=8), the baseline vLLM fails to accommodate Llama-3.1-70B or Qwen2.5-72B, whereas Albireo provides ∼1MKVtokens.<imgsrc="https://emergentmind−storage−cdn−c7atfsgud9cecchk.z01.azurefd.net/paper−images/2605−28095/resultskvtokenssidpvsvllm3subplots.png"alt="Figure3"title=""class="markdown−image"loading="lazy"><pclass="figure−caption">Figure3:AlbireoenablessubstantiallygreaterKVcachecapacitycomparedtovLLM,withimprovementsupto1.8\timesundermemoryconstraints.</p></li><li><strong>End−to−EndThroughputGains:</strong>AlbireoconvertsexpandedKVcapacityintoupto1.5\timeshigherthroughputthanstrongTP+DPbaselines.Gainsscalewithbatchsize,sequencelength,andDPdegree;theadvantageismostpronouncedformemory−bound,long−contextworkloads.<imgsrc="https://emergentmind−storage−cdn−c7atfsgud9cecchk.z01.azurefd.net/paper−images/2605−28095/resultstpdpsidpH20vsseqlen.png"alt="Figure4"title=""class="markdown−image"loading="lazy"><pclass="figure−caption">Figure4:ThroughputimprovementwithAlbireoacrossparallelismconfigurationsandsequencelengthsonH20.</p><imgsrc="https://emergentmind−storage−cdn−c7atfsgud9cecchk.z01.azurefd.net/paper−images/2605−28095/resultstpdpsidpH200vsseqlen.png"alt="Figure5"title=""class="markdown−image"loading="lazy"><pclass="figure−caption">Figure5:ThroughputscalingbehaviorofAlbireoonH200,demonstratingconsistentgains.</p><imgsrc="https://emergentmind−storage−cdn−c7atfsgud9cecchk.z01.azurefd.net/paper−images/2605−28095/resultstpdpsidpB200vsseqlen.png"alt="Figure6"title=""class="markdown−image"loading="lazy"><pclass="figure−caption">Figure6:ThroughputscalingwithAlbireoonB200,supportinglargebatchsizesandsequencelengths.</p></li><li><strong>ModeAdaptivityandDesignValidation:</strong>PeakshiftingreducesNVLinkincastbottlenecks,deliveringupto3.4\timesthroughputgainsatDP=8comparedtonaiveprefetching.WaSdominatesforlargebatches,butCaSsubstantiallyimprovestailiterationlatency;orchestrator−drivenmode−switchingfurtheramplifiesend−to−endthroughput(27\%–32\%)comparedtoWaSalone.<imgsrc="https://emergentmind−storage−cdn−c7atfsgud9cecchk.z01.azurefd.net/paper−images/2605−28095/ablationgpuiterfetchtime.png"alt="Figure7"title=""class="markdown−image"loading="lazy"><pclass="figure−caption">Figure7:Prefetchlatencyvs.iterationtime,confirmingthefeasibilityofoverlappedweighttransferinWaSmode.</p><imgsrc="https://emergentmind−storage−cdn−c7atfsgud9cecchk.z01.azurefd.net/paper−images/2605−28095/ablationdpshiftvsdp.png"alt="Figure8"title=""class="markdown−image"loading="lazy"><pclass="figure−caption">Figure8:ImpactofpeakshiftingonthroughputasDPdegreeincreases.</p><imgsrc="https://emergentmind−storage−cdn−c7atfsgud9cecchk.z01.azurefd.net/paper−images/2605−28095/ablationitertimevsbatch.png"alt="Figure9"title=""class="markdown−image"loading="lazy"><pclass="figure−caption">Figure9:IterationtimebreakdownacrossWaS,CaS,Albireo,andvLLMasbatchsizevaries,demonstratingadaptiveefficiency.</p></li><li><strong>RobustnessandShort−ContextApplicability:</strong>Albireomaintainsbenefitsforshort−contextsettingsandlowermemorybudgets,providingB$0–$B1throughputimprovementformainstreamLLMs.<imgsrc="https://emergentmind−storage−cdn−c7atfsgud9cecchk.z01.azurefd.net/paper−images/2605−28095/ablationtwomodelseqtpsinglecol.png"alt="Figure10"title=""class="markdown−image"loading="lazy"><pclass="figure−caption">Figure10:ThroughputgainswithAlbireounderreducedGPUmemoryutilization,confirmingeffectivenessinshort−contextscenarios.</p></li><li><strong>AblationAnalysis:</strong>CaSoptimizations(P2P,GEMMfusion,dummyskipping)collectivelydeliverB$2 speedup in extreme small-batch regimes, overcoming the limitations of FSDP-like sharding in inference.
Figure 11: Throughput gain with and without mode switching, highlighting the critical contribution of CaS.
Figure 12: End-to-end single-request completion time under different implementations for tail workloads.
Figure 13: Distribution of batch sizes and mode switches in Albireo, showing WaS suffices for bulk iterations, with CaS invoked only briefly for tail-completion.
Practical and Theoretical Implications
Albireo fundamentally changes the scaling dynamics of offline LLM inference. By transforming FFN weights into a bandwidth-backed, shared resource within DP groups, it eliminates redundant memory consumption while retaining the independence and scalability of DP. This translates directly into larger effective batch sizes, higher throughput, and extended feasible sequence lengths for fixed hardware—without requiring global synchronization or sacrificing scheduler flexibility.
The design leverages the NVLink interconnect, making it suited primarily for intra-node deployments. Extending Albireo to multi-node or cross-cluster environments, or adapting for slower interconnects, will require further research into communication scheduling and remote weight sharing.
Theoretically, the architectural strategy demonstrates that memory bottlenecks in LLM inference are not solely a function of parameter count, but also of data-parallel weight replication. By sharding only FFN weights—responsible for the dominant parameter fraction—Albireo provides a clean path to higher throughput without increasing communication granularity beyond what is overlappable with compute.
Further generalization to mixture-of-experts models and integration with expert-parallel load balancing are promising avenues. Albireo can enable greater elasticity and memory efficiency in expert-parallel MoE deployments, reducing redundant expert replication within DP groups. The impact on scheduling, workload co-design, and robustness in heterogeneous environments remains a subject for future exploration.
Conclusion
SiDP, instantiated by Albireo, establishes a new memory-efficient data parallelism paradigm for offline LLM inference. The dual WaS/CaS execution modes, distributed weight pool layout, and asynchronous prefetch protocol collectively yield up to B3 higher KV cache capacity and B4 higher throughput than state-of-the-art baselines—robustly across multiple LLM architectures and hardware generations. The implications extend to both theoretical scalability limits and practical deployment scenarios for large-scale, throughput-oriented LLM applications.