ultralytics vs pytorch-image-models

Two of the top projects in ML frameworks and libraries, side by side: who leads on each score part and who each one suits, then setup, license, activity and what each review found.

11st of 433 in ML frameworks and libraries

ultralytics

Python library and CLI for training and running YOLO vision models

22nd of 433 in ML frameworks and libraries

pytorch-image-models

PyTorch library of image models, pretrained weights and training scripts

Verdict

Both score 95; ultralytics ranks higher on stars, 63,844 to 37,315. Of the 4 score parts we measure for both, ultralytics leads on 1, pytorch-image-models on 1 and 2 are even.

  • Adoptionultralytics leads by 3 points, 98 to 95: close to even.
  • FreshnessEven at 100.
  • Maintenancepytorch-image-models leads by 4 points, 99 to 95: close to even.
  • Agent-readyEven at 70.

Pick ultralytics if you are

Engineers building object detection and other computer vision pipelines

  • One API and CLI covers train, val, predict, track and export across seven vision tasks
  • Pretrained YOLO26 n/s/m/l/x weights with published COCO mAP and CPU/T4 latency tables

Pick pytorch-image-models if you are

ML engineers training or using image backbones in PyTorch

  • Broad model zoo with pretrained weights for nearly every listed architecture family
  • Includes train.py, validate.py, inference.py and sweep.py for reproducible ImageNet-style runs
ultralytics vs pytorch-image-models: score parts and facts
What we compareultralyticspytorch-image-models
Score parts, out of 100
Adoption98, widely used95, widely used
Freshness100, active100, active
Maintenance95, healthy99, healthy
Agent-ready70, partly70, partly
Facts from GitHub and the README
Stars63.8k37.3k
LicenseAGPL-3.0 (copyleft)Apache-2.0 (permissive)
Last commitNov 2026Nov 2026
Last releaseNov 2026Nov 2026
LanguagePythonPython
DockerYesNo
GPUOptionalOptional
arm64 or Apple SiliconNot statedNot stated

ultralytics

Ultralytics provides the YOLO model family (YOLOv3 through YOLO26) with a `yolo` CLI and Python API for training, validation, prediction, tracking and export. Tasks covered are detection, instance and semantic segmentation, depth estimation, classification, pose and oriented boxes. Pretrained weights download automatically on first use, and models export to formats such as ONNX.

Who it is for: Engineers building object detection and other computer vision pipelines

Strengths

  • One API and CLI covers train, val, predict, track and export across seven vision tasks
  • Pretrained YOLO26 n/s/m/l/x weights with published COCO mAP and CPU/T4 latency tables
  • Installs via pip, Conda or Docker; reproduction commands given for benchmark numbers
  • Active: release and commit within the last two days

Weaknesses

  • AGPL-3.0; commercial use requires a separate Enterprise License
  • Vision only; no LLM or language model support
  • YOLO27 is listed as coming soon, with no models or launch date
  • GPU optional
  • Docker
  • Needs Python>=3.8, PyTorch>=1.8
  • Models: YOLOv3 to YOLO26, PyTorch .pt, ONNX export, TensorRT export

pytorch-image-models

timm is a Python library of image model architectures (ViT, EVA, ConvNeXt, Swin, EfficientNet and many more) with pretrained weights loaded from the Hugging Face Hub. It also ships optimizers, LR schedulers, data loaders and augmentations, plus reference train, validate, inference and sweep scripts for reproducing ImageNet results. Recent releases add multi-label training, NaFlexViT variable-resolution input, and forward_intermediates support in every model.

Who it is for: ML engineers training or using image backbones in PyTorch

Strengths

  • Broad model zoo with pretrained weights for nearly every listed architecture family
  • Includes train.py, validate.py, inference.py and sweep.py for reproducible ImageNet-style runs
  • forward_intermediates and prune_intermediate_layers supported across all models
  • Large optimizer set, including Muon, Kron, LAMB and foreach implementations

Weaknesses

  • Image models only; no text or LLM support
  • Some model variants ship without pretrained weights
  • RoPE and low-precision fixes can change existing model outputs between releases
  • Jan 2026 compat break in ParallelScalingBlock bias handling may affect downstream code
  • GPU optional
  • Needs PyTorch
  • Models: PyTorch, Hugging Face Hub weights

More in ML frameworks and libraries

Building with these?

We help teams pick an open-source AI stack and run it in production. Client work never changes a rank.