arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.07853cs.LGcs.AIcs.DC
收藏

多模态模型训练的GPU内存预测

GPU Memory Prediction for Multimodal Model Training

Korea University(韩国大学);KT Corporation(KT公司)

Jinwoo Jeong, Minchul Kang, Younghun Go, Changyong Shin, Hyunho Lee, Junho Yoon, Gyeongsik Yang, Chuck Yoo

AI总结:

本文提出了一种用于多模态模型训练的GPU内存预测框架,通过分解模型结构和分析训练行为,实现了高精度的内存预测。

摘要:

随着代理AI系统中的深度学习模型在规模和复杂性上不断增长,GPU内存需求也随之增加,往往超出可用的GPU内存容量,从而导致out-of-memory(OoM)错误。众所周知,OoM会中断整个训练过程,并浪费大量的计算资源。因此,为了防止OoM,准确预测GPU内存使用是至关重要的。然而,先前的研究仅关注单模态架构,未能推广到多模态模型,尽管多模态模型是代理AI系统中常用的选择。为了解决这一限制,我们提出了一种框架,通过分析多模态模型的架构和训练行为来预测峰值GPU内存使用。具体而言,该框架将多模态模型分解为其构成的层,并应用分解法来估算每一层的内存使用。我们的评估显示,我们的框架实现了约8.7%的平均MAPE的高预测精度。

英文摘要:

As deep learning models in agentic AI systems grow in scale and complexity, GPU memory requirements increase and often exceed the available GPU memory capacity, so that out-of-memory (OoM) errors occur. It is well known that OoM interrupts the whole training itself and wastes substantial computational resources. Therefore, to prevent OoM, accurate prediction of GPU memory usage is essential. However, previous studies focus only on unimodal architectures and fail to generalize to multimodal models, even though the multimodal models are a common choice in agentic AI systems. To address this limitation, we propose a framework that predicts the peak GPU memory usage by analyzing the model architecture and training behavior of multimodal models. Specifically, the framework decomposes the multimodal model into its constituent layers and applies factorization to estimate the memory usage of each layer. Our evaluation shows that our framework achieves high prediction accuracy of ~8.7% average MAPE.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑