Skip to main navigation Skip to search Skip to main content

SSDTrain: An Activation Offloading Framework to SSDs for Faster Large Language Model Training

  • Kun Wu
  • , Jeongmin Brian Park
  • , Xiaofan Zhang
  • , Mert Hidayetoglu
  • , Vikram Sharma Mailthody
  • , Sitao Huang
  • , Steve Lumetta
  • , Wen Mei Hwu

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The growth rate of the GPU memory capacity has not been able to keep up with that of the size of large language models (LLMs), hindering the model training process. In particular, activations-the intermediate tensors produced during forward propagation and reused in backward propagation-dominate the GPU memory use. This leads to high training overheads such as expensive weight update costs due to the small micro-batch size. To address this challenge, we propose SSDTrain, an adaptive activation offloading framework to high-capacity NVMe SSDs. SSDTrain reduces GPU memory usage without impacting performance by fully overlapping data transfers with computation. SSDTrain is compatible with popular deep learning frameworks like PyTorch, Megatron, and DeepSpeed, and it employs techniques such as tensor deduplication and forwarding to further enhance efficiency. We extensively experimented with popular LLMs like GPT, BERT, and T5. Results demonstrate that SSDTrain reduces 47% of the activation peak memory usage. At the same time, SSDTrain perfectly overlaps the I/O with the computation and incurs negligible overhead. Compared with keeping activations in GPU memory and layerwise full recomputation, SSDTrain achieves the best memory savings with negligible throughput loss. We further analyze how the reduced activation memory use may be leveraged to increase throughput by increasing micro-batch size and reducing pipeline parallelism bubbles.

Original languageEnglish (US)
Title of host publication2025 62nd ACM/IEEE Design Automation Conference, DAC 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331503048
DOIs
StatePublished - 2025
Event62nd ACM/IEEE Design Automation Conference, DAC 2025 - San Francisco, United States
Duration: Jun 22 2025Jun 25 2025

Publication series

NameProceedings - Design Automation Conference
ISSN (Print)0738-100X

Conference

Conference62nd ACM/IEEE Design Automation Conference, DAC 2025
Country/TerritoryUnited States
CitySan Francisco
Period6/22/256/25/25

ASJC Scopus subject areas

  • Computer Science Applications
  • Control and Systems Engineering
  • Electrical and Electronic Engineering
  • Modeling and Simulation

Fingerprint

Dive into the research topics of 'SSDTrain: An Activation Offloading Framework to SSDs for Faster Large Language Model Training'. Together they form a unique fingerprint.

Cite this