Skip to main content

Adam-atan2 Fused Operator

Usage

Drop-in replacement of torch.optim.AdamW.

  • Doesn't support foreach, fused argument, as the optimizer is already fused
  • Doesn't support amsgrad, maximize, capturable, differentiable argument 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

Metadata

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)

Source distribution for adam-atan2 0.0.3
File Size Uploaded Provenance Actions
adam_atan2-0.0.3.tar.gz 12.0 kB Without provenance Details for adam_atan2-0.0.3.tar.gz

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

Security for adam-atan2 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page