Observed since 20 Oct, 20:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A family of highly efficient, lightweight yet powerful optimizers.
A comprehensive, all-in-one collection of state-of-the-art optimization algorithms for deep learning. Designed for maximum efficiency, minimal memory footprint, and superior performance across diverse model architectures and training scenarios.
pip install adv_optm
Requires PyTorch 2.3+ for torch.compile support.
This major update introduces a complete architectural refactor of the library:
🆕 New Optimizers & Scaling
SinkSGD_adv: Added a powerful new optimizer to the lineup.💾 Memory & State Precision Control
state_precision): Drastically reduce memory overhead with new optimizer state modes:
factored (Rank-2 factored mode)fp32 (Full precision)bf16_sr & int8_sr (BF16/Int8 with Stochastic Rounding)factored_2nd): Available for all Adam variants. Works seamlessly alongside any state_precision setting to further slash memory usage.⚙️ Advanced Dynamics & Momentum
normed_momentum): Applies optimizer normalization before momentum (Normalization then Momentum/NtM). Available for AdamW_adv, SignSGD_adv, and SinkSGD_adv.nesterov) and a dedicated coefficient (nesterov_coef) across all optimizers.accelerated_ns): Enhanced for Muon variants by integrating a dynamic lower bound.orthogonal_gradient): Standard OrthoGrad flattened and a new matrix-wise mode iterative.⚓ Weight Decay Innovations
centered_wd): Pulls weights toward their pre-train state (anchor). To save memory, anchor precision (centered_wd_mode) can be set to full, float8, int8, or int4.fisher_wd): Now available for Adam variants based on the FAdam paper.SinkSGD_adv and SignSGD_adv.(Note: Lion_Prodigy_adv, Simplified_AdEMAMix, and heuristic cautious/grams modes have been deprecated in favor of these superior, theoretically-grounded features).
SignSGD_adv family.torch.compile Support: Fully implemented for all advanced optimizers. Enable via compiled_optimizer=True to heavily fuse and optimize the optimizer step path.nnmf_factor=True.| Optimizer | Description |
|---|---|
Muon_adv | Advanced Muon implementation featuring CANS, NorMuon, Low-Rank Orthogonalization, and more. |
AdaMuon_adv | Combines Muon's geometry with Adam-like adaptive scaling and sign-based orthogonalization. |
from adv_optm import AdamW_adv
optimizer = AdamW_adv(
model.parameters(),
lr=1e-3,
)
| Section | Description |
|---|---|
| Optimizers | Full list of available optimizers with descriptions |
| Settings & Features | Common settings shared across all optimizers |
| Momentum Settings | Momentum-related configurations (Nesterov, normed momentum, etc.) |
| Adam-Related Settings | AdamW, Adopt, and Prodigy specific settings (Kourkoutas-β, FAdam, Atan2, etc.) |
| Muon-Related Settings | Muon and AdaMuon specific settings (Newton-Schulz, CANS, NorMuon, MARS-M, etc.) |
| Memory & Precision | State precision, factored modes, and memory-saving techniques |
| Weight Decay | Weight decay variants (centered, Fisher, cautious, geometric) |
| Advanced Features | OrthoGrad, spectral normalization, stochastic sign, and more |
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 2.5.16 | 15 Oct 2026 | 1 |
This describes our collected data; it is not a security assessment.
Shared repository data · GitHub
Observed since 20 Oct, 20:05 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:eb480a151b2bc44bb9004d507b201b283e8fa2f00f85f183c77feafacaaee1d9