$npx skillfedfor your agent

timm

PyTorch Image Models

Worth itPyPI Software DevelopmentReleased Jul 202615.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — timm-1.0.28-py3-none-any.whl
v1.0.28 · released 2026-07-11 · Python >=3.8 · 5 runtime deps: torch, torchvision, pyyaml, huggingface_hub, safetensors

Yes. Timm is a mature, actively maintained library with no known vulnerabilities, permissive licensing, and low install friction. It is the de facto standard for accessing a diverse set of pretrained image models in PyTorch. Install it if you need pretrained models, model zoo access, or a training framework for vision tasks.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires torch and torchvision; model inference requires compatible GPU or CPU with sufficient memory depending on model size.
  • Low friction: pure Python wheel with five runtime dependencies (torch, torchvision, pyyaml, huggingface_hub, safetensors).
  • Active maintenance—last commit 2026-08-11, release 34 days ago—with a large repository (37066 stars) and consistent updates.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes.

last release 2026-07-11 (34 days) · last repo commit 2026-08-11 · 37,066 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 15,367,053 downloads/mo, #1,189 on PyPI

Verify before relying

pip install timm
import timm
model = timm.create_model('vit_base_patch16', pretrained=True)
output = model(torch.randn(1, 3, 256, 256))
  • Specific input image dimensions and memory requirements for different model families.
  • Compatibility guarantees across PyTorch versions beyond the tested range (1.13 to 2.9.1).
  • Whether all model variants and pretrained weights remain available on Hugging Face Hub.
Same gist for agents: .md · .json

What it is and what it does

Timm is a model zoo and training framework for PyTorch image models. It bundles hundreds of pretrained architectures—vision transformers (ViT, EVA, DINOv3), efficient CNNs (EfficientNet, ConvNeXt), and hybrid designs—with their weights hosted on Hugging Face Hub. You use it to load a pretrained model in one line, fine-tune it on your data, or extract features for downstream tasks.

The package depends on torch, torchvision, pyyaml, huggingface_hub, and safetensors. It supports Python 3.8–3.12 and is actively maintained; recent releases add new model families (DINOv3, MobileCLIP-2, SigLIP-2), optimizer variants (Muon, NAdaMuon), and infrastructure improvements (meta-device initialization, pickle security hardening). Training and inference scripts are included.

Use it for

  • Load a pretrained ViT or ConvNeXt model and fine-tune it on your image classification dataset.
  • Extract intermediate feature maps from a pretrained model for use in a downstream vision task.
  • Benchmark inference speed and accuracy across multiple model architectures on your hardware.
  • Train a custom image model from scratch using timm's training scripts and optimizer support.
  • Integrate a pretrained encoder (e.g., DINOv3 ViT) into a multimodal or self-supervised pipeline.

Worth the install?

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

Worth it

Yes.

Timm is a mature, actively maintained library with no known vulnerabilities, permissive licensing, and low install friction. It is the de facto standard for accessing a diverse set of pretrained image models in PyTorch. Install it if you need pretrained models, model zoo access, or a training framework for vision tasks.

Install

timm on PyPI

Before you install

Low friction: pure Python wheel with five runtime dependencies (torch, torchvision, pyyaml, huggingface_hub, safetensors). Active maintenance—last commit 2026-08-11, release 34 days ago—with a large repository (37066 stars) and consistent updates.

Requires torch and torchvision; model inference requires compatible GPU or CPU with sufficient memory depending on model size.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes.

Quickstart

pip install timm
import timm
model = timm.create_model('vit_base_patch16', pretrained=True)
output = model(torch.randn(1, 3, 256, 256))

Verify before relying

  • Specific input image dimensions and memory requirements for different model families.
  • Compatibility guarantees across PyTorch versions beyond the tested range (1.13 to 2.9.1).
  • Whether all model variants and pretrained weights remain available on Hugging Face Hub.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
torchtorchvisionpyyamlhuggingface_hubsafetensors
MaintenanceActively maintained 34 days since the last release
Last repo commit
First released
Downloads15,367,053 / month, #1,189 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 :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming 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: timm-1.0.28-py3-none-any.whl

Tags

Capabilities
pytorch image models pretrainedvision transformer weightstimm model zooimage classification pytorchpretrained cnn modelsvit dino convnextmodel hub integration
Topics
vision-modelspretrained-weightsmodel-zoo
PyPI keywords
pytorchimage-classification

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 image models pretrained”

  • timmTimm provides a large collection of pretrained PyTorch image…
  • efficientnet-pytorchLoads and runs pretrained EfficientNet image classification models in…
  • pytorchcvProvides a collection of pretrained computer vision models for…

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 effdet · segmentation-models-pytorch · vit-pytorch · efficientnet-pytorch · torchxrayvision · pretrainedmodels · transformers · open-clip-torch · torch-ema · pyiqa