Activation Memory: Peak RAM Usage During Forward Pass

Intermediate activations generated during an LLM's forward pass can transiently consume significant memory, particularly for deeper models, contributing to the peak RAM requirements on devices.

Sources

Open the full topic