Preconditioning optimizers.
Project description
precondition: Preconditioning Optimizers
Installation (note package name is precondition but pypi distribution name is precondition-opt):
pip3 install -U precondition-opt
Currently, this contains several preconditioning optimizer implementations. Please refer to the citations below.
Shampoo (distributed_shampoo.py)
@article{anil2020scalable,
title={Scalable second order optimization for deep learning},
author={Anil, Rohan and Gupta, Vineet and Koren, Tomer and Regan, Kevin and Singer, Yoram},
journal={arXiv preprint arXiv:2002.09018},
year={2020}
}
Sketchy (distributed_shampoo.py), logical reference implementation as a branch in Shampoo.
@article{feinberg2023sketchy,
title={Sketchy: Memory-efficient Adaptive Regularization with Frequent Directions},
author={Feinberg, Vladimir and Chen, Xinyi and Sun, Y Jennifer and Anil, Rohan and Hazan, Elad},
journal={arXiv preprint arXiv:2302.03764},
year={2023}
}
SM3 (sm3.py).
@article{anil2020scalable,
title={Scalable second order optimization for deep learning},
author={Anil, Rohan and Gupta, Vineet and Koren, Tomer and Regan, Kevin and Singer, Yoram},
journal={arXiv preprint arXiv:2002.09018},
year={2020}
}
This external repository was seeded from existing open-source work available at this google-research repository.
This is not an officially supported Google product.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file precondition-opt-0.3.0.tar.gz.
File metadata
- Download URL: precondition-opt-0.3.0.tar.gz
- Upload date:
- Size: 45.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e09fdc9b5340d4647fe273f765a290d262f64c3c92f9a3a5a5b752cada10ce1e
|
|
| MD5 |
be9bbf84fe19d92e6fcecd994853eac2
|
|
| BLAKE2b-256 |
404629caa6f990baf36bcef7d0bc197a8a3eb6fee6e73f9ca772085976335df3
|
File details
Details for the file precondition_opt-0.3.0-py3-none-any.whl.
File metadata
- Download URL: precondition_opt-0.3.0-py3-none-any.whl
- Upload date:
- Size: 49.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
850b320d7b67dc9eff099ba7bece83f658039a9281f1f3ae8d12e215c5c29e7e
|
|
| MD5 |
b59a2130f6a2e9d2d8a3629baf343a17
|
|
| BLAKE2b-256 |
0ba5be8e8236369271459574f83ca06e0e8e79f64a9186baef801e6b4831dc27
|