Metraipolis › archive › dc_73c1fc303c90

StateFlow: Sequence Pipeline Parallelism for Long-Context Modeling with Linear Recurrence — arXiv:2608.06838

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.06838
License (as archived)
CC0-1.0
Archived
2026-10-19T09:47:46.576Z
SHA-256 of the archived text
fa2387b05724eda89aa8f50a6999de57a25f27db161d66b3ee722701957f6808
Stable URL of this page
https://metraipolis.com/documento/dc_73c1fc303c90

How to cite

StateFlow: Sequence Pipeline Parallelism for Long-Context Modeling with Linear Recurrence — arXiv:2608.06838 — arXiv (en), https://arxiv.org/abs/2608.06838 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_73c1fc303c90 (Metraipolis archive dc_73c1fc303c90, sha256 fa2387b05724eda89aa8f50a6999de57a25f27db161d66b3ee722701957f6808)
BibTeX
@misc{dc73c1fc303c90,
  title = {StateFlow: Sequence Pipeline Parallelism for Long-Context Modeling with Linear Recurrence — arXiv:2608.06838},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.06838},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_73c1fc303c90; sha256 fa2387b05724eda89aa8f50a6999de57a25f27db161d66b3ee722701957f6808},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.06838. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Long-context training is increasingly important for large language models, and linear attention and state space models have become popular for improving long-context efficiency. However, efficiently parallelizing long-sequence training for recurrent and hybrid models remains challenging. We present StateFlow, a sequence pipeline parallelism system for models with linear recurrence. StateFlow partitions each sequence into chunks and schedules their execution while propagating boundary states and gradients across chunks, thereby reducing activation lifetimes and improving training throughput. StateFlow further uses profile-guided nonuniform chunking to balance recurrence and softmax attention computation in hybrid models, and overlaps state transitions that expose limited parallelism with surrounding computation. Applying StateFlow to models with up to 32B parameters and 256K context length, we achieve up to \(2.22\times\) throughput improvements and \(2.45\times\) memory reduction compared to conventional pipeline parallelism, enabling otherwise infeasible configurations.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-10 in cs.DC).
Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC).
Pagina del lavoro: https://arxiv.org/abs/2608.06838 — 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-19T09:47:05.165Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-08-10?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).