$npx skillfedfor your agent

pytorch_optimizer

optimizer & lr scheduler & objective function collections in PyTorch

Worth itPyPI Software DevelopmentReleased May 2026163.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytorch_optimizer-3.10.1-py3-none-any.whl
v3.10.1 · released 2026-05-23 · Python >=3.8 · 2 runtime deps: numpy, torch

Yes. The package has low install friction, active maintenance, a permissive license, no known vulnerabilities, and solves a real friction point in PyTorch training—accessing a broad range of optimizers and schedulers through a consistent API. Install it if you want to experiment with modern training methods or need access to research optimizer variants without implementing them yourself.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.8 and PyTorch >=1.10.
  • Optional integrations (bitsandbytes, q-galore-torch, torchao) must be installed separately if needed.
  • Low install friction with only numpy and torch as runtime dependencies.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in commercial and private projects with minimal restrictions.

last release 2026-05-23 (83 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 163,663 downloads/mo, #10,566 on PyPI

Verify before relying

pip install pytorch-optimizer

from pytorch_optimizer import AdamP

model = YourModel()
optimizer = AdamP(model.parameters(), lr=1e-3)
  • Whether the 100+ optimizers, 10+ schedulers, and 10+ loss functions cover the specific training methods your project requires
  • Performance characteristics and convergence behavior compared to using PyTorch's built-in optimizers directly
  • Compatibility with your specific PyTorch version and hardware setup (CPU vs GPU)
Same gist for agents: .md · .json

What it is and what it does

pytorch-optimizer bundles a large collection of optimizer implementations, learning rate schedulers, and loss functions for PyTorch, all accessible through a unified API. Instead of implementing or hunting down individual optimizer variants, you can import them by name or class and use them like standard PyTorch optimizers. The package includes both classic methods and recent research variants, with practical features like foreach support, Lookahead integration, and Gradient Centralization built in.

It's designed for practitioners who want to experiment with modern training techniques without rewriting boilerplate code. The package supports optional ecosystem integrations and has been tested and actively maintained. You can discover available components programmatically, load optimizers by name, or use a factory function to configure them with additional features in one call.

Use it for

  • Quickly experiment with different optimizer variants during model development without implementing each one from scratch
  • Build training pipelines that support multiple optimizer choices through a consistent loader API
  • Apply practical training enhancements like Lookahead or Gradient Centralization to any optimizer in the collection
  • Access recent research optimizers (AdamP, DualAdam, etc.) alongside classic methods in a single package
  • Integrate with optional ecosystem tools like bitsandbytes for quantized training when needed

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package has low install friction, active maintenance, a permissive license, no known vulnerabilities, and solves a real friction point in PyTorch training—accessing a broad range of optimizers and schedulers through a consistent API. Install it if you want to experiment with modern training methods or need access to research optimizer variants without implementing them yourself.

Install

pytorch-optimizer on PyPI

Before you install

Low install friction with only numpy and torch as runtime dependencies. Actively maintained with a recent release.

Requires Python >=3.8 and PyTorch >=1.10. Optional integrations (bitsandbytes, q-galore-torch, torchao) must be installed separately if needed.

License in practice

Apache-2.0 permissive license allows use in commercial and private projects with minimal restrictions.

Quickstart

pip install pytorch-optimizer

from pytorch_optimizer import AdamP

model = YourModel()
optimizer = AdamP(model.parameters(), lr=1e-3)

Verify before relying

  • Whether the 100+ optimizers, 10+ schedulers, and 10+ loss functions cover the specific training methods your project requires
  • Performance characteristics and convergence behavior compared to using PyTorch's built-in optimizers directly
  • Compatibility with your specific PyTorch version and hardware setup (CPU vs GPU)

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
numpytorch
MaintenanceActively maintained 83 days since the last release
First released
Downloads163,663 / month, #10,566 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python Modules

Evidence: pytorch_optimizer-3.10.1-py3-none-any.whl

Tags

Capabilities
pytorch optimizers collectionadvanced learning rate schedulerspytorch training algorithmsgradient descent variantsdeep learning optimizer toolkitpytorch loss functionsadaptive optimization methods
Topics
pytorch-trainingoptimizer-collection
PyPI keywords
A2GradADOPTAPOLLOASGDAccSGDAdEMAMixAdaBeliefAdaBoundAdaDeltaAdaFactorAdaGCAdaHessianAdaLomoAdaMaxAdaModAdaMuonAdaNormAdaPNMAdaSmoothAdaiAdaliteAdamGAdamMiniAdamPAdamSAdanAggMoAidaAliGAliceAmosApolloAvaGradBCEBCEFocalBCOSBi-TemperedCAMECondaDAdaptAdaGradDAdaptAdamDAdaptAdanDAdaptLionDAdaptSGDDeMoDiceDiffGradDualAdamEXAdamEmoFactEmoLynxEmoNaviEmoNecoEmoZealFAdamFOCUSFTRLFiraFlashAdamWFocalFocalCosineFocalTverskyFriendlySAMFromageGCSAMGSAMGaLoreGramsGravityGrokFastJaccardKateLARSLDAMLOMOLaPropLambLionLoRARiteLookSAMLookaheadLovaszHingeMADGRADMARSMSVAGMunoNeroNovoGradOrthoGradPAdamPCGradPIDPNMPSGDProdigyQGaLoreQHAdamQHMRACSRAdamRangerRanger21RotoGradSAMSCIONSGDPSGDWSM3SOAPSPAMSPlusSRMMSWATSScalableShampooScheduleFreeAdamWScheduleFreeRAdamScheduleFreeSGDShampooSignSGDSimplified-AdEMAMixSoftF1SopihaHStableAdamWStableSPAMTAMTRACTigerTverskyVSGDWSAMWSDYogibSAMbitsandbytesdeep-learninglr scheduleroptimizerpytorch

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “pytorch optimizers collection”

  • pytorch_optimizerProvides a collection of modern optimizers, learning rate schedulers,…
  • torch-optimizerProvides a collection of alternative optimization algorithms for…
  • flashoptimFlashOptim provides drop-in replacements for PyTorch optimizers (SGD,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also pyswarms · pytorch_revgrad · torch-optimizer · schedulefree · pytorch-ranger · torchtnt · lion-pytorch · prodigyopt · fvcore · flashoptim

Further reading