Metraipolis › archive › dc_70827007ac53
NSP: Accelerating Variable-Length LLM Training via Nested Sequence Parallelism — arXiv:2609.22755
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.22755
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T06:52:59.718Z
- SHA-256 of the archived text
c612257ac9f650ce826c1d946b2d2cc2ba756cf7971797ca77bd1713cebf93ba- Stable URL of this page
https://metraipolis.com/documento/dc_70827007ac53
How to cite
NSP: Accelerating Variable-Length LLM Training via Nested Sequence Parallelism — arXiv:2609.22755 — arXiv (en), https://arxiv.org/abs/2609.22755 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_70827007ac53 (Metraipolis archive dc_70827007ac53, sha256 c612257ac9f650ce826c1d946b2d2cc2ba756cf7971797ca77bd1713cebf93ba)
BibTeX
@misc{dc70827007ac53,
title = {NSP: Accelerating Variable-Length LLM Training via Nested Sequence Parallelism — arXiv:2609.22755},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.22755},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_70827007ac53; sha256 c612257ac9f650ce826c1d946b2d2cc2ba756cf7971797ca77bd1713cebf93ba},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.22755. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Long-context LLM training on long-tailed corpora faces a central communication--balance tradeoff. Such sequence-length heterogeneity makes any single sequence-parallelism (SP) degree a poor fit for the workload: a small degree leaves the few long sequences badly imbalanced, while a large degree forces the many short sequences that dominate the workload to pay excessive communication. Existing dynamic-SP systems mix SP degrees within a batch, but to run several groups at once they partition the GPUs into disjoint groups, which reintroduces imbalance across groups and forces costly micro-batch workarounds. We present NSP, a sequence-parallel training system that resolves this tradeoff by nesting differently sized SP groups on shared GPUs within a single training iteration. This lets long sequences use larger SP groups while keeping short sequences on smaller ones, so communication is incurred only where needed and load is balanced per GPU rather than per group. NSP realizes this idea with a tree-structured routing planner that assigns sequences under memory constraints and an executor that exploits the resulting hierarchy through inter-level phase streaming and tree-level recomputation. NSP supports common SP backends and requires no model changes. We evaluate NSP on Qwen3-MoE workloads with up to 384K-token contexts across multiple long-tail datasets on an internal production GPU cluster. Across these settings, NSP consistently improves end-to-end training throughput, outperforming Static SP by up to 1.48x and FlexSP by up to 1.16x. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-22 in cs.DC). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2609.22755 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-09T06:50:13.520Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).