#166 · Primary category: Deep Learning Frameworks
Adan
Adan: Adaptive Nesterov Momentum Algorithm for Faster Optimizing Deep Models
Project last updated:06/08/25
GitHub Stars
822
Forks
70
Contributors
5
License
Apache-2.0
Why we included this project
Adan is a drop-in optimizer for PyTorch: you swap it in for Adam or AdamW with a couple of lines of code, keep your weight-decay and gradient-clipping settings, and get faster convergence without redesigning the training loop. It implements the Adaptive Nesterov Momentum algorithm from the paper published in IEEE TPAMI, and the repo includes both a standard version and a fused CUDA variant that keeps memory use down when training large models. The results span a wide range of architectures, from vision transformers and ResNets to BERT, GPT-2, and MoE training, and several downstream projects, including text-to-3D work like DreamFusion and Consistent3D, already use Adan as their default optimizer. If you are willing to raise the learning rate a bit, the documented recipes and reproducibility notes make it straightforward to test whether the speedup carries over to your own model.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
tensorflow
An Open Source Machine Learning Framework for Everyone
pytorch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
keras
Deep Learning for humans
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
ray
Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.