SpectraAdamw
An AdamW variant that uses variance approximation to reduce optimizer state memory for LLM training
What does it do?
SpectraAdamW reduces memory used by the variance state by storing the 2nd moment as separate row and column averages. According to its description, it aims to reduce optimizer state overhead by 50%. An experimental Python implementation for PyTorch is available, while an optimized C++ CUDA backend is under private development.
Key features
- Store the 2nd moment as separate row and column averages
- Experimental Python implementation that replaces PyTorch AdamW with a 1-line change
- Compress momentum with FFT in a custom C++ backend