Why Optimizer State Dominates Training Memory
What a Hugging Face post says about why the optimizer state takes a significant share of training memory and what GaLore does about it.
For: Learners who know what training a model involves.
Why optimizer state matters
The optimizer state, especially in adaptive optimization algorithms like Adam, represents a significant portion of the memory footprint during model training.[1]
What GaLore does
GaLore addresses this by projecting the gradients into a lower-dimensional subspace before they are processed by the optimizer.[1]
Sources
- GaLore (huggingface.co · checked )
More articles
- LearningWhy Long Sequences Are Hard to Train OnWhat a Hugging Face post says about why long-sequence training has become essential, which tasks need it and how attention scales.
- LearningWhy Padding Is the Usual Way and Packing the AlternativeWhat a Hugging Face post says padding input sequences in mini-batches is and what packing examples without padding is.
- LearningWhat Low-Precision Data Types Buy YouWhat a Hugging Face post says quantization is, what fewer bits means for memory and why that matters for large models on consumer devices.