Superpipeline: A Universal Approach for Reducing GPU Memory Usage in Large Models
Not on the map. Why?
Abstract (arXiv)
The rapid growth in machine learning models, especially in natural language processing and computer vision, has led to challenges when running these models on hardware with limited resources. This paper introduces Superpipeline, a new framework designed to optimize the execution of large AI models on constrained hardware during both training and inference. Our approach involves dynamically managing model execution by dividing models into individual layers and efficiently transferring these layers between GPU and CPU memory. Superpipeline reduces GPU memory usage by up to 60% in our experiments while maintaining model accuracy and acceptable processing speeds. This allows models that would otherwise exceed available GPU memory to run effectively. Unlike existing solutions that focus mainly on inference or specific model types, Superpipeline can be applied to large language models (LLMs), vision-language models (VLMs), and vision-based models. We tested Superpipeline's performance across various models and hardware setups. The method includes two key parameters that allow fine-tuning the balance between GPU memory use and processing speed. Importantly, Superpipeline does not require retraining or changing model parameters, ensuring that the original model's output remains unchanged. Superpipeline's simplicity and flexibility make it useful for researchers and professionals working with advanced AI models on limited hardware. It enables the use of larger models or bigger batch sizes on existing hardware, potentially speeding up innovation across many machine learning applications. This work marks an important step toward making advanced AI models more accessible and optimizing their deployment in resource-limited environments. The code for Superpipeline is available at https://github.com/abbasiReza/super-pipeline.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 28 references that are in the map. First posted on arXiv 11 Oct 2024.
Builds on
20 of 28 references.
References · 20
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2023PaLM 2 Technical Reportcited by 1,162
- 2016Training Deep Nets with Sublinear Memory Costcited by 848
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
- 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 295
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2023LLM in a flash: Efficient Large Language Model Inference with Limited Memorycited by 177
8 more
- 2023REST: Retrieval-Based Speculative Decodingcited by 150
- 2021TeraPipe: Token-Level Pipeline Parallelism for Training Large-Scale Language Modelscited by 75
- 2024ReLU2 Wins: Discovering Efficient Activation Functions for Sparse LLMscited by 67
- 2023Compressing LLMs: The Truth is Rarely Pure and Never Simplecited by 62
- 2018SuperNeurons: Dynamic GPU Memory Management for Training Deep Neural Networkscited by 55
- 2023Intriguing Properties of Quantization at Scalecited by 49
- 2023Norm Tweaking: High-performance Low-bit Quantization of Large Language Modelscited by 33
- 2023Alternating Updates for Efficient Transformerscited by 13
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference
- 2024Inference Performance Optimization for Large Language Models on CPUs
- 2024AQUA: Network-Accelerated Memory Offloading for LLMs in Scale-Up GPU Domains
- 2026AI Hardware Accelerators for Large Language Models: Architectures and the Memory Wall ↗
- 2026PipeWeave: Synergizing Analytical and Learning Models for Unified GPU Performance Prediction ↗
- 2026Characterizing CPU-Induced Slowdowns in Multi-GPU LLM Inference
- 2025InfiniteHiP: Extending Language Model Context Up to 3 Million Tokens on a Single GPU
- 2024GUIDE: A Global Unified Inference Engine for Deploying Large Language Models in Heterogeneous Environments