跳转到内容

Reducing Activation Recomputation in Large Transformer Models

作者: Vijay Anand Korthikanti, Jared Casper, Sangkug Lym, Matei Zaharia, Jonathan Ragan-Kelley, Amar Phanishayee (2023)

arXiv: 2205.05198

领域

架构

TLDR(中文)

Megatron-Core 的显存工程论文:把激活值分成「必存」与「可重算」两类,提出选择性重计算(只重算 attention 核心、MLP 激活整段存)加序列并行,用远小于全量重计算的额外 FLOPs 拿到大部分显存收益;还系统分析了 transformer 各层激活的构成公式,是大模型训练显存规划的参考标准。

TLDR (English)

The Megatron-Core memory engineering paper: classifies activations into must-store and recomputable, proposing selective recomputation (recompute only the attention core, keep MLP activations) plus sequence parallelism to capture most memory savings with far fewer extra FLOPs than full recomputation; it also derives the per-layer activation formulas for transformers, becoming the reference for memory planning in large-model training.

出现在这些文章里

同被引用

这些论文与本文出现在同一篇文章中

相关论文

同一领域的其他论文