STAlloc: Enhancing Memory Efficiency in Large-Scale Model Training with Spatio-Temporal Planning
Abstract
The rapid scaling of large language models (LLMs) has significantly increased GPU memory pressure, which is further aggravated by training optimization techniques such as virtual pipeline and recomputation that disrupt tensor lifespans and introduce considerable memory fragmentation. Such fragmentation stems from the use of online GPU memory allocators in popular deep learning frameworks like PyTorch, which disregard tensor lifespans. As a result, this inefficiency can waste as much as 43% of memory and trigger out-of-memory errors, undermining the effectiveness of optimization methods.
Fields of Study & Subjects
Advanced Neural Network Applications
Topic Modeling
Parallel Computing and Optimization Techniques
Publication details
- Journal / source
- Proceedings of the 21st European Conference on Computer Systems
- Publisher
- ACM
- Pages
- 728–743
- Publication date
- 24 April 2026