GaLore 2: Large-Scale LLM Pre-Training by Gradient Low-Rank Projection

DiJia Su, Andrew Gu, Jane Xu, Yuandong Tian, Jiawei ZhaoarXiv 2025 · DOI

Introduction

Training Large Language Models (LLMs) is notoriously memory-intensive. A Llama 7B model typically requires ~58 GB of VRAM for training, primarily due to optimizer states and gradients. This "memory wall" restricts high-end model training to industrial clusters, leaving consumer hardware like the NVIDIA RTX 4090 (24 GB) behind.

GaLore (Gradient Low-Rank Projection) initially addressed this by projecting gradients into a low-rank subspace. However, it suffered from computational bottlenecks during subspace updates and lacked integration with distributed training frameworks. GaLore 2 overcomes these hurdles, enabling full-scale pre-training on 500 billion tokens with significantly reduced memory footprints.

Methods: Overcoming the Bottlenecks

GaLore 2 introduces two critical optimizations to make low-rank gradient projection viable for massive models.

Fast Randomized SVD

The original GaLore relied on standard Singular Value Decomposition (SVD) to update the projection subspace, which became a significant computational drag for large weight matrices. GaLore 2 utilizes a randomized SVD algorithm that is 15x faster. This allows for frequent subspace updates (every 200–500 steps) without stalling the training pipeline.

FSDP Integration for Distributed Training

To scale beyond a single GPU, GaLore 2 integrates with Fully Sharded Data Parallel (FSDP). The authors implemented a custom PyTorch hook that shards weights and optimizer states across GPUs while performing per-layer low-rank updates.

The GaLore 2 training pipeline integrated with FSDP, showing per-layer forward/backward passes and low-rank weight updates across multiple ranks.

This architecture ensures that the memory savings of GaLore are preserved even in large-scale distributed environments, effectively decoupling the optimizer's memory requirements from the total parameter count.

Experimental Results

The framework was tested by training a Llama 7B model from scratch on the C4 dataset for 500 billion tokens.

500B Token Scaling

A key concern with low-rank methods is whether they can maintain performance over long training runs. GaLore 2 demonstrates that the low-rank structure of gradients persists throughout pre-training.

Validation perplexity of GaLore 2 compared to the 8-bit Adam baseline over a 500-billion-token training run.

As shown in the validation curves, GaLore 2 matches the performance of the full-rank 8-bit Adam baseline almost perfectly. This confirms that high-rank gradients are not necessary for achieving state-of-the-art LLM performance.

Efficiency and Benchmarks

  • Memory Savings: For a Llama 3 8B model, GaLore 2 + FSDP reduced VRAM usage by approximately 5 GB per GPU compared to standard AdamW + FSDP.
  • Downstream Performance: On benchmarks like MMLU, ARC, and HellaSwag, GaLore 2 models performed within 1% of full-rank baselines, proving that the memory-efficient approach does not "dumb down" the resulting model.

Conclusion

GaLore 2 represents a significant step toward democratizing LLM training. By combining fast randomized SVD with seamless FSDP integration, it allows researchers to train multi-billion parameter models on hardware previously considered insufficient. The success of the 500B token run suggests that low-rank gradient projection is a robust, scalable solution for the next generation of AI development.

Summary updated

BibTeX
@misc{su2025galore,
  author = {DiJia Su and Andrew Gu and Jane Xu and Yuandong Tian and Jiawei Zhao},
  title = {{GaLore 2: Large-Scale LLM Pre-Training by Gradient Low-Rank Projection}},
  year = {2025},
  eprint = {2504.20437},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.20437},
}
Figure