paper-with-me

Papers

Elixir: Train a Large Language Model on a Small GPU Cluster

2022-12-10 · Haichen Huang, Jiarui Fang, Hongxin Liu, Shenggui Li, Yang You

In recent years, large language models have achieved great success due to their unprecedented size. However, training these models poses a challenge for most researchers as it requires a substantial number of GPUs. To reduce GPU memory usage, memory partitioning, and memory offloading have been proposed. These approaches eliminate memory redundancies and offload memory usage to the CPU and NVMe memory, respectively, enabling training on small GPU clusters. However, directly deploying these solutions often leads to suboptimal efficiency. Only experienced experts can unleash the full potential of hardware by carefully tuning the distributed configuration. Thus, we present a novel solution, Elixir, which automates efficient large-model training based on pre-runtime model profiling. Elixir aims to identify the optimal combination of partitioning and offloading techniques to maximize training throughput. In our experiments, Elixir significantly outperforms the current state-of-the-art baseline. Our optimal configuration achieves up to a 3.4$\times$ speedup on GPT-2 models compared with SOTA solutions. We hope that our work will benefit individuals who lack computing resources and expertise, granting them access to large models. The beta version of Elixir is now available at https://github.com/hpcaitech/ColossalAI/tree/feature/elixir.

📄 PDF Abstract BibTeX arXiv:2212.05339

Code (2)

hpcaitech/colossalai 공식 구현 pytorch
hpcaitech/elixir 공식 구현 pytorch

Tasks

CPUGPULanguage ModelingLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Cosine Annealing Cosine Annealing is a type of learning rate schedule that has the effect of starting with a large learning rate that is relatively rapidly decreased to a minimum value before…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Comparing neural network training performance between Elixir and Python

2022-10-25 · Lucas C. Tavano, Lucas K. Amin, Adolfo Gustavo Serra-Seca-Neto

With a wide range of libraries focused on the machine learning market, such as TensorFlow, NumPy, Pandas, Keras, and others, Python has made a name for itself as one of the main programming languages. In February 2021, J…

GPU

ELIXIR: Efficient and LIghtweight model for eXplaIning Recommendations

2025-08-27 · Ben Kabongo, Vincent Guigue, Pirmin Lemberger arxiv

Collaborative filtering drives many successful recommender systems but struggles with fine-grained user-item interactions and explainability. As users increasingly seek transparent recommendations, generating textual exp…

Collaborative FilteringText Generation

Elixir: A system to enhance data quality for multiple analytics on a video stream

2022-12-08 · Sibendu Paul, Kunal Rao, Giuseppe Coviello, Murugan Sankaradas 외

IoT sensors, especially video cameras, are ubiquitously deployed around the world to perform a variety of computer vision tasks in several verticals including retail, healthcare, safety and security, transportation, manu…

Multi-Objective Reinforcement Learning

ELIXIR: Learning from User Feedback on Explanations to Improve Recommender Models

2021-02-15 · Azin Ghazimatin, Soumajit Pramanik, Rishiraj Saha Roy, Gerhard Weikum

System-provided explanations for recommendations are an important component towards transparent and trustworthy AI. In state-of-the-art research, this is a one-way signal, though, to improve user acceptance. In this pape…

DataElixir: Purifying Poisoned Dataset to Mitigate Backdoor Attacks via Diffusion Models

2023-12-18 · Jiachen Zhou, Peizhuo Lv, Yibing Lan, Guozhu Meng 외

Dataset sanitization is a widely adopted proactive defense against poisoning-based backdoor attacks, aimed at filtering out and removing poisoned samples from training datasets. However, existing methods have shown limit…