Skip to main content

No project description provided

Project description

Implementation of for large batch, large learning rate training.

The paper doesn't specify clamp values for ϕ, so I use 10.

Bonus: TensorboardX logging (example below).

Try the sample

git clone
cd pytorch-lamb
pip install -e .
tensorboard --logdir=runs

Sample results

At --lr=.02, the Adam optimizer is unable to train.

Red: python --batch-size=512 --lr=.02 --wd=.01 --log-interval=30 --optimizer=adam

Blue: python --batch-size=512 --lr=.02 --wd=.01 --log-interval=30 --optimizer=lamb

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pytorch-lamb, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pytorch_lamb-1.0.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View
Filename, size pytorch_lamb-1.0.0-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page