Dynamic Parallelism Reconfiguration for Large Scale Models

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 116 papers23 conceptsfrozen 2026-10-04

In the early days of distributed deep learning, parallelism was a static decision. A developer would choose a degree of Tensor Parallelism (TP) or Pipeline Parallelism (PP) at launch, and the model would remain sharded in that configuration until the process was killed. While simple, this "one-size-fits-all" approach creates a fundamental efficiency trap: the optimal way to shard a model changes constantly based on the workload.

A new research direction, spanning from early probabilistic compilers to modern Large Language Model (LLM) serving, argues that parallelism should be a dynamic runtime variable. By reconfiguring how models are sharded on the fly, systems can adapt to fluctuating traffic, varying sequence lengths, and the distinct computational phases of modern AI.

The Static Parallelism Trap

The core problem with static parallelism is that different workloads have conflicting hardware requirements. For example, in LLM inference, the "prefill" phase (processing the input prompt) is compute-bound and benefits from high throughput, while the "decoding" phase (generating tokens one by one) is memory-bandwidth bound and sensitive to latency.

As Aurick Qiao and Samyam Rajbhandari demonstrate in Shift Parallelism: Low-Latency, High-Throughput LLM Inference for Dynamic Workloads, a static configuration forces a compromise. High Tensor Parallelism reduces latency but introduces communication overhead that kills throughput during traffic bursts. Conversely, Sequence Parallelism (SP) scales throughput but leaves individual users waiting longer for their first token.

The solution is to stop treating the GPU cluster as a rigid grid. Instead, systems like Arctic Inference dynamically toggle between TP and SP based on real-time traffic. When the system is quiet, it uses TP to deliver tokens as fast as possible; when a burst of requests arrives, it shifts to SP to maximize the number of requests processed per second.

Adapting to Growing Contexts

The need for dynamism is even more acute in "agentic" workloads, where a conversation grows longer with every turn. As the context window fills up, the memory required to store the Key-Value (KV) cache grows linearly, often leading to Out-of-Memory (OOM) errors on static configurations.

Zhen Tan and colleagues address this in EARL: Efficient Agentic Reinforcement Learning Systems for Large Language Models. Their system uses a "Parallelism Selector" that monitors sequence length in real-time. As a conversation evolves from a few hundred to several thousand tokens, EARL increases the degree of tensor parallelism to spread the memory load across more GPUs. This prevents "performance collapse" without requiring the user to over-provision hardware from the start.

Similarly, Gyges, developed by Jin Zhao and others, implements "in-place" transformations. It can transform an instance from a high-throughput state (TP=1) to a high-capacity state (TP=4) to handle long-context queries, achieving up to a 6.57x throughput improvement by repurposing idle resources.

Intra-Layer and Step-Level Fluidity

The most granular form of this idea moves reconfiguration from the "request level" down to the "layer" or "step" level.

In Helix Parallelism: Rethinking Sharding Strategies for Interactive Multi-Million-Token LLM Decoding, Nidhi Bhatia and the NVIDIA team decouple the sharding of the attention mechanism from the feed-forward network (FFN) within a single transformer layer. By dynamically switching the GPU's role mid-execution, they maximize memory bandwidth for weight loading, which is critical for ultra-long context models like DeepSeek-R1.

This concept extends beyond LLMs to Diffusion Transformers (DiTs). TetriServe exploits the fact that image generation happens in discrete denoising steps. Because these steps are largely stateless, Runyu Lu and the team can reconfigure GPU assignments between every single step, allowing the scheduler to prioritize urgent image requests by instantly increasing their parallelism.

Resilience and Resource Heterogeneity

Dynamic reconfiguration also provides a path toward cheaper, more resilient compute. Cloud providers offer "spot" instances at a massive discount, but they can be reclaimed at any time. SpotServe, by Xupeng Miao, uses dynamic reparallelization to keep an inference pipeline running even as nodes are ripped out of the cluster. When a node is lost, the system automatically reshards the model across the remaining GPUs, maintaining service availability at a fraction of the cost.

Even in stable clusters, the problem of "where" to put a job is complex. Tesserae, proposed by Md. Tareq Mahmood and Shivaram Venkataraman, treats 3D parallelism (data, tensor, and pipeline) as tunable variables during scheduling. By adjusting these strategies on the fly, the scheduler can "pack" jobs more tightly onto shared resources, improving completion times by over 1.6x.

Why It Works: Exploiting Conditional Independence

The intuition for why these systems work traces back to early work in probabilistic programming. Augur, by Jean-Baptiste Tristan and Guy L. Steele Jr., used just-in-time compilation to exploit conditional independence in Bayesian models.

Modern dynamic parallelism is the spiritual successor to this idea. It recognizes that the "independence" of data—whether it's tokens in a sequence, steps in a diffusion process, or phases in an RLHF loop—is not a static property of the code, but a dynamic property of the data itself. By deferring the "how" of parallelization until the "what" of the data is known, these systems move closer to the theoretical limits of hardware efficiency.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_dynamic_parallelism_reconfiguration_for__655cadfb,
  title = {Dynamic Parallelism Reconfiguration for Large Scale Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dynamic-parallelism-reconfiguration-for-large-scale-models/rdr_655cadfb7d1b4b0e82d05dcc1d0088a9},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_dynamic_parallelism_reconfiguration_for__655cadfb_v1,
  title = {Dynamic Parallelism Reconfiguration for Large Scale Models},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/dynamic-parallelism-reconfiguration-for-large-scale-models/rdr_655cadfb7d1b4b0e82d05dcc1d0088a9/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}