$npx skillfedfor your agent

pytorch-ranger

Ranger - a synergistic optimizer using RAdam (Rectified Adam) and LookAhead in one codebase

SkipPyPI Artificial IntelligenceReleased Mar 2020160.0K downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pytorch_ranger-0.1.1-py3-none-any.whl
v0.1.1 · released 2020-03-30 · Python >=3.5 · 1 runtime deps: torch

No—install only if you are reproducing historical research or maintaining legacy code. The package is abandoned (last commit 2021-12-01) and receives no maintenance, bug fixes, or compatibility updates for modern PyTorch versions. For new projects, use actively maintained optimizers like torch.optim.AdamW or community-supported alternatives. The permissive Apache license poses no legal barrier, but the lack of maintenance makes it a liability.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires torch as a runtime dependency; PyTorch must be installed separately.
  • Low install friction with a pure Python wheel.
  • However, the package is abandoned—last commit was 2021-12-01.

License · maintenance · safety

Apache (permissive) — Licensed under Apache (permissive), so you can use it freely in commercial and open-source projects without restrictive obligations.

last release 2020-03-30 (2328 days) · last repo commit 2021-12-01 · 12 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 160,045 downloads/mo, #10,677 on PyPI

Verify before relying

pip install pytorch_ranger

from pytorch_ranger import Ranger
model = ...  # your PyTorch model
optimizer = Ranger(model.parameters())
  • Whether the optimizer variants (RangerVA, RangerQH) are stable or still experimental given the beta status.
  • Current compatibility with recent PyTorch versions, given the last commit was in 2021.
  • Whether memory issues mentioned in the description (save/load stranding weights) are fully resolved in version 0.1.1.
Same gist for agents: .md · .json

What it is and what it does

Ranger is a PyTorch optimizer that merges two optimization techniques—RAdam for rectified adaptive momentum and LookAhead for weight averaging—into a single implementation. It was designed to improve training stability and generalization in deep learning models. The package provides three optimizer variants: Ranger (the main version), RangerVA (using calibrated anisotropic adaptive learning rates), and RangerQH, each with different parameter configurations.

You use it like any PyTorch optimizer: instantiate it with your model's parameters and pass it to your training loop. The package depends only on torch and installs as a lightweight pure-Python wheel. However, the project is no longer maintained—the last commit was 2021-12-01—so it receives no updates, bug fixes, or compatibility patches for newer PyTorch releases.

Use it for

  • Training convolutional neural networks where you want better convergence than standard Adam, especially with Mish activation functions.
  • Fine-tuning large models where weight averaging via LookAhead helps stabilize learning and reduce overfitting.
  • Experimenting with alternative optimization strategies for image classification tasks on platforms like FastAI.
  • Comparing optimizer performance in research or benchmarking studies of deep learning training dynamics.

Worth the install?

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

Skip

No—install only if you are reproducing historical research or maintaining legacy code.

The package is abandoned (last commit 2021-12-01) and receives no maintenance, bug fixes, or compatibility updates for modern PyTorch versions. For new projects, use actively maintained optimizers like torch.optim.AdamW or community-supported alternatives. The permissive Apache license poses no legal barrier, but the lack of maintenance makes it a liability.

Install

pytorch-ranger on PyPI

Before you install

Low install friction with a pure Python wheel. However, the package is abandoned—last commit was 2021-12-01. No active maintenance or updates.

Requires torch as a runtime dependency; PyTorch must be installed separately.

License in practice

Licensed under Apache (permissive), so you can use it freely in commercial and open-source projects without restrictive obligations.

Quickstart

pip install pytorch_ranger

from pytorch_ranger import Ranger
model = ...  # your PyTorch model
optimizer = Ranger(model.parameters())

Verify before relying

  • Whether the optimizer variants (RangerVA, RangerQH) are stable or still experimental given the beta status.
  • Current compatibility with recent PyTorch versions, given the last commit was in 2021.
  • Whether memory issues mentioned in the description (save/load stranding weights) are fully resolved in version 0.1.1.

Package facts

LicenseApache permissive
Python supportSupports the current Python release >=3.5
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
torch
MaintenanceAbandoned 2,328 days since the last release
Last repo commit
First released
Downloads160,045 / month, #10,677 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: pytorch_ranger-0.1.1-py3-none-any.whl

Tags

Capabilities
pytorch optimizer radam lookaheaddeep learning optimizer rangeradaptive learning rate optimizerneural network training optimizerradam lookahead combinationpytorch ranger optimizer
Topics
optimizerabandoned

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 optimizer radam lookahead”

  • pytorch-rangerRanger is a PyTorch optimizer that combines RAdam (Rectified Adam)…
  • torch-optimizerProvides a collection of alternative optimization algorithms for…
  • pytorch_optimizerProvides a collection of modern optimizers, learning rate schedulers,…

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

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
huggingface-hub Worth it
PyPI · Artificial Intelligence · released Aug 2026

Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.

Install it if you work with Hugging Face Hub models or datasets.

Apache-2.0pure Python · 3.10.0+
442.4Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo

See also torch-optimizer · lion-pytorch · pytorch_optimizer · schedulefree · adam-atan2-pytorch · flashoptim · prodigyopt · opacus · pytorch-forecasting · arm-pytorch-utilities

Further reading