Adam-atan2 Fused Operator
Usage
Drop-in replacement of torch.optim.AdamW.
- Doesn't support
foreach,fusedargument, as the optimizer is already fused - Doesn't support
amsgrad,maximize,capturable,differentiableargument yet
pip install adam-atan2
from adam_atan2 import AdamATan2
# All supported arguments are listed below
optim = AdamATan2(model.parameters(),
lr=1e-3,
weight_decay=0.1,
betas=(0.9, 0.95)
)
Consistency Tests
We tested the consistency against reference AdamW-atan2 PyTorch implementation. To run tests, clone this repository, run pytest:
pip install -e .
pytest
References
Release files for adam-atan2 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| adam_atan2-0.0.3.tar.gz | 12.0 kB | Details |
Release files / adam_atan2-0.0.3.tar.gz
| Download URL | adam_atan2-0.0.3.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f07faef4a6d7476ad3be6096155a35a5ecf6a3932282367f05d45158b81ff5a8
|
|
BLAKE2b-256 checksum How to use checksums |
06a28ef8f0bb022f39d87edda9e04e77458195eb0011d13561c4e7a85e6c1c22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|