TL;DR
SPLASH is a novel serving system that dynamically switches between different parallelization strategies for Large Language Models (LLMs) during inference. By introducing a new "zero-redundancy" layout called Decoupled Ownership Parallelism (DOP) and a seamless handoff mechanism, it achieves up to 1.73x throughput improvements with negligible switching overhead (<0.51%).
What Problem Does This Paper Address?
In LLM serving, there is no "one-size-fits-all" strategy for parallelizing the attention mechanism. Different workloads favor different layouts:
- Tensor Parallelism (TP): Best for low concurrency (few requests).
- Data-Parallel Attention (DP-attention): Best for many independent requests.
- Context Parallelism (CP): Best for extremely long prompts that exceed a single GPU's memory.
Modern workloads like reinforcement learning (RL) rollouts or agentic tasks are dynamic: they might start with a massive batch of short requests that eventually "drain" into a few very long reasoning traces. A serving engine that fixes its layout at launch becomes inefficient as the workload evolves. Traditionally, changing layouts required draining all active requests and restarting workers—a costly process that kills performance.
Methods
The authors introduce SPLASH, which enables live switching between four attention layouts within a single worker group.
1. Decoupled Ownership Parallelism (DOP)
The paper identifies a new layout, DOP, made possible by modern attention architectures like DeepSeek’s Multi-head Latent Attention (MLA). DOP shards attention weights (like TP) but keeps each request’s KV cache on a single "owner" rank (like DP-attention). This "zero-redundancy" approach stores every weight and every history only once, freeing up significant memory for the KV cache.
2. Seamless Handoff
SPLASH performs switches at batch boundaries without stopping inference. It uses an "overlapped transfer" approach: while layer $i-1$ is computing, the system moves the state needed for layer $i$ in the background. Because most layouts share significant state, SPLASH only moves the "difference" using three primitives:
- Discard: Freeing redundant state locally.
- All-gather: Fetching missing weight shards.
- All-to-all: Exchanging KV cache blocks when ownership changes.
3. Transition-Aware Scheduler
A specialized scheduler monitors the current batch (number of requests and their context lengths) and uses a cost model to predict which layout will be fastest for the next step. It triggers a switch only when a different layout offers a significant enough margin to justify the (already small) transition cost.
Datasets and Models
The system was evaluated using state-of-the-art models across different hardware platforms:
- Models: GLM-5.3 (78 layers), DeepSeek-V3.2, and GLM-5.3-Flash.
- Hardware: NVIDIA B200 (FP8), NVIDIA H200 (FP8), and DCU BW1000 (Int8).
- Benchmarks: The authors performed extensive sweeps over input lengths (1K to 512K tokens) and batch sizes (1 to 512) to map out the "performance regimes" of each layout.
Key Insights and Ideas
- Decoupling is Key: The core "aha moment" is that where a request's KV cache lives and how attention weights are sharded are two independent choices.
- Regime-Based Performance: No layout dominates. As shown in Figure 1, TP wins for short contexts, DP-attention for medium batches, CP for long contexts, and DOP for the largest, longest-running batches.
- Zero-Redundancy Gains: By eliminating redundant copies of weights and caches, DOP provides a massive boost to KV capacity (up to 60% over DP-attention), allowing the system to admit more requests simultaneously.
Key Results
- Throughput: SPLASH improved end-to-end serving throughput by 1.3x to 1.73x over fixed-layout deployments on B200 GPUs.
- KV Capacity: DOP offered 27–60% more KV capacity than standard data-parallel attention.
- Overhead: The median overhead for a live switch is under 0.51% of the execution step, making transitions effectively "free" in the context of total request latency.
- DOP Performance: In long-context scenarios (256K–512K tokens), DOP outperformed the next best alternative (CP) by 3.4–11.0%.
Limitations and Future Work
- Graph Capture: Current implementation requires capturing CUDA graphs for every supported layout at startup, which increases initialization time and memory usage for graph storage.
- Memory Headroom: A switch requires enough temporary memory to hold one layer's worth of buffers for both the source and destination layouts simultaneously.
- Future Directions: The authors suggest that jointly optimizing batch size and admission control alongside layout selection is the next logical step for maximizing serving efficiency.
The implementation is open-source and available at https://github.com/ict-agent/SPLASH-sglang.
Summary updated