Training Ultra Long Context Language Model with Fully Pipelined Distributed Transformer
Jinghan Yao, Sam Ade Jacobs, Masahiro Tanaka, Olatunji Ruwase, Hari Subramoni, Dhabaleswar K. Panda

TL;DR
This paper introduces FPDT, a novel fully pipelined distributed transformer architecture that significantly enhances the training efficiency of long-context LLMs, enabling longer sequences on limited hardware.
Contribution
The paper presents FPDT, a new training method that allows training ultra-long context LLMs efficiently on limited hardware, surpassing current solutions in sequence length and resource utilization.
Findings
Achieved 16x longer sequence training compared to state-of-the-art.
Trained 8B parameter LLM with 2 million sequence length on 4 GPUs.
Maintained over 55% of maximum feasible utilization (MFU).
Abstract
Large Language Models (LLMs) with long context capabilities are integral to complex tasks in natural language processing and computational biology, such as text generation and protein sequence analysis. However, training LLMs directly on extremely long contexts demands considerable GPU resources and increased memory, leading to higher costs and greater complexity. Alternative approaches that introduce long context capabilities via downstream finetuning or adaptations impose significant design limitations. In this paper, we propose Fully Pipelined Distributed Transformer (FPDT) for efficiently training long-context LLMs with extreme hardware efficiency. For GPT and Llama models, we achieve a 16x increase in sequence length that can be trained on the same hardware compared to current state-of-the-art solutions. With our dedicated sequence chunk pipeline design, we can now train 8B LLM…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques
MethodsRefunds@Expedia|||How do I get a full refund from Expedia? · Linear Layer · Attention Dropout · Discriminative Fine-Tuning · Multi-Head Attention · Cosine Annealing · Residual Connection · Linear Warmup With Cosine Annealing · Byte Pair Encoding · Absolute Position Encodings
