paper-with-me

Papers

CompAct: Compressed Activations for Memory-Efficient LLM Training

2024-10-20 · Yara Shamshoum, Nitzan Hodos, Yuval Sieradzki, Assaf Schuster

We introduce CompAct, a technique that reduces peak memory utilization on GPU by 25-30% for pretraining and 50% for fine-tuning of LLMs. Peak device memory is a major limiting factor in training LLMs, with various recent works aiming to reduce model memory. However most works don't target the largest component of allocated memory during training: the model's compute graph, which is stored for the backward pass. By storing low-rank, compressed activations to be used in the backward pass we greatly reduce the required memory, unlike previous methods which only reduce optimizer overheads or the number of trained parameters. Our compression uses random projection matrices, thus avoiding additional memory overheads. Comparisons with previous techniques for either pretraining or fine-tuning show that CompAct substantially improves existing compute-performance tradeoffs. We expect CompAct's savings to scale even higher for larger models.

📄 PDF Abstract BibTeX arXiv:2410.15352

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

EXACT: Scalable Graph Neural Networks Training via Extreme Activation Compression

2021-09-29 · ICLR 2022 4 · Zirui Liu, Kaixiong Zhou, Fan Yang, Li Li 외

Training Graph Neural Networks (GNNs) on large graphs is a fundamental challenge due to the high memory usage, which is mainly occupied by activations (e.g., node embeddings). Previous works usually focus on reducing the…

GPUGraph Learning

Less Memory Means smaller GPUs: Backpropagation with Compressed Activations

2024-09-18 · Daniel Barley, Holger Fröning

The ever-growing scale of deep neural networks (DNNs) has lead to an equally rapid growth in computational resource requirements. Many recent architectures, most prominently Large Language Models, have to be trained usin…

GPU

Quiver neural networks

2022-07-26 · Iordan Ganev, Robin Walters

We develop a uniform theoretical approach towards the analysis of various neural network connectivity architectures by introducing the notion of a quiver neural network. Inspired by quiver representation theory in mathem…

Model Compression

The Ramifications of Making Deep Neural Networks Compact

2020-06-26 · Nandan Kumar Jha, Sparsh Mittal, Govardhan Mattela

The recent trend in deep neural networks (DNNs) research is to make the networks more compact. The motivation behind designing compact DNNs is to improve energy efficiency since by virtue of having lower memory footprint…

GPU

Statistically Motivated Second Order Pooling

2018-01-23 · Kaicheng Yu, Mathieu Salzmann

Second-order pooling, a.k.a.~bilinear pooling, has proven effective for deep learning based visual recognition. However, the resulting second-order networks yield a final representation that is orders of magnitude larger…