PyLO: Towards Accessible Learned Optimizers in PyTorch
Not on the map. Why?
Abstract (arXiv)
Learned optimizers have been an active research topic over the past decade, with increasing progress toward practical, general-purpose optimizers that can serve as drop-in replacements for widely used methods like Adam. However, recent advances such as VeLO, which was meta-trained for 4000 TPU-months, remain largely inaccessible to the broader community, in part due to their reliance on JAX and the absence of user-friendly packages for independently using the optimizers after meta-training. To address this gap, we introduce PyLO, a PyTorch-based library that brings learned optimizers to the remaining ~70% of machine learning community via the familiar torch.optim.Optimizer interface. Unlike prior work focused on limited-scale academic tasks, our emphasis is on applying learned optimization to real-world large-scale pre-training tasks. Our systems contribution includes CUDA-accelerated implementations of the small fc lopt(Metz et al., 2022a) and VeLO(Metz et al., 2022b) learned optimizers, achieving substantial performance gains, with training throughput on ViT-B/16 (batch size 32) increasing from 39.36 and 49.73 to 205.59 and 191.18 samples per second, respectively. PyLO has the versatility that allows us to easily combine learned optimizers with existing optimization tools such as learning rate schedules and weight decay. When doing so, we discover that learned optimizers can substantially benefit from it. Our code is available at https://github.com/Belilovsky-Lab/pylo
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 17 of its 37 references that are in the map. First posted on arXiv 12 Jun 2025.
Builds on
17 of 37 references.
References · 17
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2023Segment Anythingcited by 8,234
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2019ZeRO: Memory Optimizations Toward Training Trillion Parameter Modelscited by 1,301
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2016Learning to learn by gradient descent by gradient descentcited by 620
- 2021Learning to Optimize: A Primer and A Benchmarkcited by 208
5 more
- 2021Real-time Neural Radiance Caching for Path Tracingcited by 91
- 2022VeLO: Training Versatile Learned Optimizers by Scaling Upcited by 57
- 2022Practical tradeoffs between memory, compute, and performance in learned optimizerscited by 32
- 2024μLO: Compute-Efficient Meta-Generalization of Learned Optimizerscited by 7
- 2023Is Scaling Learned Optimizers Worth It? Evaluating The Value of VeLO's 4000 TPU Monthscited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.