mlsanityData to 14 Oct 2026

LoongTrain: Efficient Training of Long-Sequence LLMs with Head-Context Parallelism

arXiv 2406.18485 ↗First posted 26 Jun 2024cs.DCcited by 17

Not on the map. Why?

Abstract (arXiv)

Efficiently training LLMs with long sequences is important yet challenged by the massive computation and memory requirements. Sequence parallelism has been proposed to tackle these problems, but existing methods suffer from scalability or efficiency issues. We propose LoongTrain, a novel system to efficiently train LLMs with long sequences at scale. The core of LoongTrain is the 2D-Attention mechanism, which combines both head-parallel and context-parallel techniques to break the scalability constraints while maintaining efficiency. We introduce Double-Ring-Attention and analyze the performance of device placement strategies to further speed up training. We implement LoongTrain with the hybrid ZeRO and Selective Checkpoint++ techniques. Experiment results show that LoongTrain outperforms state-of-the-art baselines, i.e., DeepSpeed-Ulysses and Megatron Context Parallelism, in both end-to-end training speed and scalability, and improves Model FLOPs Utilization (MFU) by up to 2.88x.

Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). First posted on arXiv 26 Jun 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 3; 2025: 7; 2026: 7.

17 papers.

Sort:

By area:

  1. 2024LongVILA: Scaling Long-Context Visual Language Models for Long Videoscited by 309
  2. 2025MAGI-1: Autoregressive Video Generation at Scalecited by 276
  3. 2025Scaling RL to Long Videoscited by 84
  4. 2024xDiT: an Inference Engine for Diffusion Transformers (DiTs) with Massive Parallelismcited by 56
  5. 2026LongLive-2.0: An NVFP4 Parallel Infrastructure for Long Video Generationcited by 30
  6. 2025DSV: Exploiting Dynamic Sparsity to Accelerate Large-Scale Video DiT Trainingcited by 15
  7. 2025360-LLaMA-Factory: Plug & Play Sequence Parallelism for Long Post-Trainingcited by 4
  8. 2026DASH: Deterministic Attention Scheduling for High-throughput Reproducible LLM Trainingcited by 4
  9. 2024Hydraulis: Balancing Large Transformer Model Training via Co-designing Parallel Strategies and Data Assignmentcited by 3
  10. 2025Arctic Long Sequence Training: Scalable And Efficient Training For Multi-Million Token Sequencescited by 3
  11. 2026LongStraw: Long-Context RL Beyond 2M Tokens under a Fixed GPU Budgetcited by 3
  12. 2025MTraining: Distributed Dynamic Sparse Attention for Efficient Ultra-Long Context Trainingcited by 1
5 more
  1. 2025Optimizing Long-context LLM Serving via Fine-grained Sequence Parallelismcited by 1
  2. 2026Untied Ulysses: Memory-Efficient Context Parallelism via Headwise Chunkingcited by 1
  3. 2026FlashCP: Load-Balanced Communication-Efficient Context Parallelism for LLM Trainingcited by 1
  4. 2026Block Parallelism For Efficient Distributed Long-Context Diffusion Language Model Trainingcited by 0
  5. 2026Memory-Efficient Expert Routing for Distributed MoE Trainingcited by 0