Lune

ICDE2022顶会

TSPLIT: Fine-grained GPU Memory Management for Efficient DNN Training via Tensor Splitting

Xiaonan Nie, Xupeng Miao, Zhi Yang, Bin Cui

摘要

Since Deep Neural Networks (DNNs) are deeper and larger, performing DNNs training on existing accelerators (e.g., GPUs) is challenging due to their limited device memory capacity. Existing memory management systems reduce the mem-ory footprint via tensor offloading and recomputing. However, this coarse-grained, one-tensor-at-a-time memory management often incurs high peak GPU memory usage and cannot fully utilize available hardware resources (e.g., PCIe). In this paper, we propose TSPLIT, a fine-grained DNN memory management system that breaks apart memory bottlenecks while maintaining the efficiency of DNNs training. TSPLIT achieves this by proposing a model-guided approach to holistically exploit the tensor-split and its joint optimization with out-of-core execution methods (via offload and recompute). We further provide an efficient implementation of TSPLIT with proposed splittable tensor abstraction, profiling-based planner, and optimized DNN runtime. Evaluations on 6 DNN models show that compared to vDNN and SuperNeurons, TSPLIT can achieve maximum model scale up to 10.5× and 3.1 x and throughput improved up to 4.7× and 2.7 × under the same memory over-subscription, respectively.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelism 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
  • Ratel: Optimizing Holistic Data Movement to Fine-tune 100B Model on a Consumer GPU 引用了 Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelism
  • Ratel: Optimizing Holistic Data Movement to Fine-tune 100B Model on a Consumer GPU 引用了 FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement
  • Ratel: Optimizing Holistic Data Movement to Fine-tune 100B Model on a Consumer GPU 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
  • Ratel: Optimizing Holistic Data Movement to Fine-tune 100B Model on a Consumer GPU 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
  • FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement 引用了 Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic Parallelism
  • FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement 引用了 Efficient large-scale language model training on GPU clusters using megatron-LM
  • FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device Placement 引用了 GShard: Scaling Giant Models with Conditional Computation and Automatic Sharding
  • Efficient large-scale language model training on GPU clusters using megatron-LM 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
  • PQCache: Product Quantization-based KVCache for Long Context LLM Inference 引用了 ZeRO-Offload: Democratizing Billion-Scale Model Training
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Galvatron: Efficient Transformer Training over Multiple GPUs Using Automatic ParallelismXupeng Miao, Yujie Wang, Youhe Jiang, Chunan Shi 等VLDB 2023 · 113 次引用
  2. FlexMoE: Scaling Large-scale Sparse Pre-trained Model Training via Dynamic Device PlacementXiaonan Nie, Xupeng Miao, Zilong Wang, Zichao Yang 等SIGMOD 2023 · 40 次引用
  3. PQCache: Product Quantization-based KVCache for Long Context LLM InferenceHailin Zhang, Xiaodong Ji, Yilin Chen, Fangcheng Fu 等SIGMOD 2025 · 13 次引用
  4. Ratel: Optimizing Holistic Data Movement to Fine-tune 100B Model on a Consumer GPUChangyue Liao, Mo Sun, Zihan Yang, Jun Xie 等ICDE 2025 · 4 次引用
  5. Occamy: Memory-efficient GPU Compiler for DNN InferenceJaeho Lee, Shinnung Jeong, Seungbin Song, Kunwoo Kim 等DAC 2023 · 3 次引用

它引用的 Paper14

  1. GShard: Scaling Giant Models with Conditional Computation and Automatic ShardingDmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen 等ICLR 2021 · 1,954 次引用
  2. Contrastive Learning for Sequential RecommendationXu Xie, Fei Sun, Zhaoyang Liu, Shiwen Wu 等ICDE 2022 · 674 次引用
  3. ZeRO-Offload: Democratizing Billion-Scale Model TrainingJie Ren, Samyam Rajbhandari, Reza Yazdani Aminabadi, Olatunji Ruwase 等USENIX ATC 2021 · 657 次引用
  4. Efficient large-scale language model training on GPU clusters using megatron-LMDeepak Narayanan, Mohammad Shoeybi, Jared Casper, Patrick LeGresley 等SC 2021 · 576 次引用
  5. A Unified Architecture for Accelerating Distributed DNN Training in Heterogeneous GPU/CPU ClustersYimin Jiang, Yibo Zhu, Chang Lan, Bairen Yi 等OSDI 2020 · 390 次引用

相关 Paper

  1. Tensor Movement Orchestration in Multi-GPU Training SystemsShao-Fu Lin, Yi-Jung Chen, Hsiang-Yun Cheng, Chia-Lin YangHPCA 2023 · 5 次引用
  2. Efficient GPU Memory Management for Nonlinear DNNsDonglin Yang, Dazhao ChengHPDC 2020 · 18 次引用
  3. Zico: Efficient GPU Memory Sharing for Concurrent DNN TrainingGangmuk Lim, Jeongseob Ahn, Wencong Xiao, Youngjin Kwon 等USENIX ATC 2021 · 65 次引用
  4. GMLake: Efficient and Transparent GPU Memory Defragmentation for Large-scale DNN Training with Virtual Memory StitchingCong Guo, Rui Zhang, Jiale Xu, Jingwen Leng 等ASPLOS 2024 · 30 次引用
  5. T-Control: An Efficient Dynamic Tensor Rematerialization System for DNN TrainingZehua Wang, Junmin Xiao, Xiaochuan Deng, Huibing Wang 等ASPLOS 2026 · 2 次引用
黄昏的海面,两侧是细线勾勒的悬崖