Cost-Efficient LLM Training with Lifetime-Aware Tensor Offloading via GPUDirect Storage
Not on the map. Why?
Abstract (arXiv)
We present the design and implementation of a new lifetime-aware tensor offloading framework for GPU memory expansion using low-cost PCIe-based solid-state drives (SSDs). Our framework, TERAIO, is developed explicitly for large language model (LLM) training with multiple GPUs and multiple SSDs. Its design is driven by our observation that the active tensors take only a small fraction (1.7% on average) of allocated GPU memory in each LLM training iteration, the inactive tensors are usually large and will not be used for a long period of time, creating ample opportunities for offloading/prefetching tensors to/from slow SSDs without stalling the GPU training process. TERAIO accurately estimates the lifetime (active period of time in GPU memory) of each tensor with the profiling of the first few iterations in the training process. With the tensor lifetime analysis, TERAIO will generate an optimized tensor offloading/prefetching plan and integrate it into the compiled LLM program via PyTorch. TERAIO has a runtime tensor migration engine to execute the offloading/prefetching plan via GPUDirect storage, which allows direct tensor migration between GPUs and SSDs for alleviating the CPU bottleneck and maximizing the SSD bandwidth utilization. In comparison with state-of-the-art studies such as ZeRO-Offload and ZeRO-Infinity, we show that TERAIO improves the training performance of various LLMs by 1.47x on average, and achieves 80.7% of the ideal performance assuming unlimited GPU memory.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 24 of its 48 references that are in the map. First posted on arXiv 6 Jun 2025.
Builds on
24 of 48 references.
References · 24
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022Scalable Diffusion Models with Transformerscited by 6,054
- 2017Mixed Precision Trainingcited by 1,156
- 2021ZeRO-Offload: Democratizing Billion-Scale Model Trainingcited by 341
- 2018An Empirical Model of Large-Batch Trainingcited by 281
- 2021ZeRO-Infinity: Breaking the GPU Memory Wall for Extreme Scale Deep Learningcited by 256
- 2019Checkmate: Breaking the Memory Wall with Optimal Tensor Rematerializationcited by 91
- 2024TorchTitan: One-stop PyTorch native solution for production ready LLM pre-trainingcited by 85
12 more
- 2024NetLLM: Adapting Large Language Models for Networkingcited by 78
- 2018SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networkscited by 55
- 2020Training Large Neural Networks with Constant Memory using a New Execution Algorithmcited by 34
- 2024Building AI Agents for Autonomous Clouds: Challenges and Design Principlescited by 19
- 2024Smart-Infinity: Fast Large Language Model Training using Near-Storage Processing on a Real Systemcited by 15
- 2018TFLMS: Large Model Support in TensorFlow by Graph Rewritingcited by 12
- 2022GPU-Initiated On-Demand High-Throughput Storage Access in the BaM System Architecturecited by 12
- 2023G10: Enabling An Efficient Unified GPU Memory and Storage Architecture with Smart Tensor Migrationscited by 10
- 2019Beyond the Memory Wall: A Case for Memory-centric HPC System for Deep Learningcited by 9
- 2019Basic Performance Measurements of the Intel Optane DC Persistent Memory Modulecited by 9
- 2023Angel-PTM: A Scalable and Economical Large-scale Pre-training System in Tencentcited by 8
- 2020ZnG: Architecting GPU Multi-Processors with New Flash for Scalable Data Analysiscited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.
- 2026LazyTrain: Limited-resource Allocation toward Zero-waste Yield Optimization in Large Language Model Trainingcited by 1
- 2025GreedySnake: Accelerating SSD-Offloaded LLM Training with Efficient Scheduling and Optimizer Step Overlappingcited by 0
- 2026Horizon-LM: A RAM-Centric Architecture for LLM Trainingcited by 0
- 2026LazyTrain: Limited-resource Allocation toward Zero-waste Yield Optimization in Large Language Model Training12 Aug 2026
- 2026Horizon-LM: A RAM-Centric Architecture for LLM Training4 Feb 2026
- 2025GreedySnake: Accelerating SSD-Offloaded LLM Training with Efficient Scheduling and Optimizer Step Overlapping19 Dec 2025