xMem: A CPU-Based Approach for Accurate Estimation of GPU Memory in Deep Learning Training Workloads
Not on the map. Why?
Abstract (arXiv)
The global scarcity of GPUs necessitates more sophisticated strategies for Deep Learning jobs in shared cluster environments. Accurate estimation of how much GPU memory a job will require is fundamental to enabling advanced scheduling and GPU sharing, which helps prevent out-of-memory (OOM) errors and resource underutilization. However, existing estimation methods have limitations. Approaches relying on static analysis or historical data with machine learning often fail to accurately capture runtime dynamics. Furthermore, direct GPU analysis consumes scarce resources, and some techniques require intrusive code modifications. Thus, the key challenge lies in precisely estimating dynamic memory requirements, including memory allocator nuances, without consuming GPU resources and non-intrusive code changes. To address this challenge, we propose xMem, a novel framework that leverages CPU-only dynamic analysis to accurately estimate peak GPU memory requirements a priori. We conducted a thorough evaluation of xMem against state-of-the-art solutions using workloads from 25 different models, including architectures like Convolutional Neural Networks and Transformers. The analysis of 5209 runs, which includes ANOVA and Monte Carlo results, highlights xMem's benefits: it decreases the median relative error by 91% and significantly reduces the probability of estimation failure as safe OOM thresholds by 75%, meaning that the estimated value can often be used directly without causing OOM. Ultimately, these improvements lead to a 368% increase in memory conservation potential over current solutions.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 22 of its 75 references that are in the map. First posted on arXiv 23 Oct 2025.
Builds on
22 of 75 references.
References · 22
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019Searching for MobileNetV3cited by 1,984
- 2016An overview of gradient descent optimization algorithmscited by 1,021
- 2020Designing Network Design Spacescited by 954
- 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 937
- 2019CNN-generated images are surprisingly easy to spot... for nowcited by 842
- 2019A Survey of Deep Learning Techniques for Autonomous Drivingcited by 401
10 more
- 2023Cerebras-GPT: Open Compute-Optimal Language Models Trained on the Cerebras Wafer-Scale Clustercited by 106
- 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 65
- 2017The Microsoft 2017 Conversational Speech Recognition Systemcited by 51
- 2022Aryl: An Elastic Cluster Scheduler for Deep Learningcited by 27
- 2024Revisiting Reliability in Large-Scale Machine Learning Research Clusterscited by 27
- 2022MISO: Exploiting Multi-Instance GPU Capability on Multi-Tenant Systems for Machine Learningcited by 15
- 2024LLMem: Estimating GPU Memory Usage for Fine-Tuning Pre-Trained LLMscited by 12
- 2023Iterative Assessment and Improvement of DNN Operational Accuracycited by 3
- 2024Guardian: Safe GPU Sharing in Multi-Tenant Environmentscited by 3
- 2024Rubick: Exploiting Job Reconfigurability for Deep Learning Cluster Schedulingcited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.