Skip to content

✳️ An unofficial implementation of Stochastic Polyak Step-size in PyTorch

License

Notifications You must be signed in to change notification settings

iceychris/sps-pytorch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sps-pytorch

Please find the official implementation of the authors here.

This repo aims to reproduce and extend the SPS optimizer by Nicolas Loizou, Sharan Vaswani, Issam Laradji and Simon Lacoste-Julien presented in their paper titled Stochastic Polyak Step-size for SGD: An Adaptive Learning Rate for Fast Convergence.

Results

RNN-T
step size sps
step size over9000

Run

  • clone and patch fastai
# clone
git clone https://github.com/fastai/fastai
cd fastai
git checkout 1.0.60
pip install -e ".[dev]"

# patch
git apply fastai.patch
  • python train.py --opt sps --epochs 5

Resources

About

✳️ An unofficial implementation of Stochastic Polyak Step-size in PyTorch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages