talira

Compare

vit-pytorchtimm (PyTorch Image Models)Transformers
What it isPyTorch implementations of the Vision Transformer and dozens of its variantsLarge collection of PyTorch image models and backbones with pretrained weights and training scriptsHugging Face's Python library of model definitions for text, vision, audio and multimodal models
KindOpen sourceOpen sourceOpen source
Trust0.600.750.79
Stars2559737316169280
Last commit2026-11-252026-11-272026-11-24
LicenceMITApache-2.0Apache-2.0
PricingFree and open sourceFree and open sourceFree and open source
Free tierYesYesYes
Self-hostable———
Ways to run it———
SOC 2———
HIPAA———
SSO———
API———
Plugins———
MCP server———
CompanyPhil WangHugging FaceHugging Face
Features
  • Vision Transformer (ViT) in PyTorch
  • many ViT variants (NaViT, CaiT, CvT, MaxViT, MobileViT and more)
  • distillation from a convolutional teacher
  • masked autoencoder and simple masked image modelling pretraining
  • a wide range of image model architectures, nearly all with pretrained weights
  • multi-scale feature map extraction for using models as backbones
  • reference training, validation and inference scripts
  • optimizers, schedulers and augmentations for image training
  • model definitions for text, vision, audio, video and multimodal models
  • loads 1M+ checkpoints from the Hugging Face Hub
  • Pipeline API for inference
  • Trainer for training and fine-tuning
  • transformers serve and transformers chat commands
  • works with training frameworks and inference engines that reuse its model definitions
Limitations
    • Most pretrained weights were trained on ImageNet, which was released for non-commercial research only, so their makers advise legal advice before using them commercially.
    • Some weights it references carry their own non-commercial licences, such as Facebook's WSL and SSL ResNeXt models (CC-BY-NC 4.0).