DynaTrain: Fast Online Parallelism Switching for Elastic LLM Training

Yuanqing Wang, Yuchen Zhang, Hao Lin, Junhao Hu, Chunyang Zhu +7 more
5/12/2026
cs.LGcs.DC
moe

No confident code implementation found for this paper.

Abstract

Modern large language model (LLM) training is inherently dynamic: resource fluctuations, RLHF phase shifts, and cluster elasticity continually reshape the optimal parallelism layout, posing a significant challenge to existing training frameworks built around a static execution model. We present DynaTrain, a distributed training system for sub-second, online reconfiguration across arbitrary multi-dimensional parallelism.

Show full abstract

At its core, we propose a Virtual Parameter Space (VPS) abstraction that unifies all distributed training states under one logical coordinate space, turning any parallelism configuration into a deterministic mapping and collapsing complex transition into manageable geometric intersections. On top of VPS, a state routing-and-transition layer executes rank-local transfers under a memory-aware, deadlock-free schedule, and an Elastic Device Manager overlaps new-world construction with ongoing training to mask topology-change cost. On dense and MoE models up to 235B parameters, DynaTrain reconfigures a 70B dense model in under 2s and a 235B MoE model in 4.36s, outperforming state-of-the-art checkpoint-based and elastic systems by up to three orders of magnitude while preserving correctness.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026dynatrain,
  title  = {DynaTrain: Fast Online Parallelism Switching for Elastic LLM Training},
  author = {Yuanqing Wang and Yuchen Zhang and Hao Lin and Junhao Hu and Chunyang Zhu and Quanlu Zhang and Boxun Li and Guohao Dai and Zhi Yang and Daning Cheng and Yunquan Zhang and Yu Wang},
  year   = {2026},
  eprint = {2605.18815},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.18815v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.18815.svg)](https://codeofpaper.com/paper/2605.18815)

Discussion