Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

PyTorch Python Packages

Python packages with the GitHub topic pytorch. Sorted by monthly downloads, with stars and forks.
huggingface
huggingface-hub

The official CLI and Python client for the Hugging Face Hub.

300.6M 4K 1K
microsoft
onnxruntime

ONNX Runtime is a runtime accelerator for Machine Learning models

155.1M 22K 4K
huggingface
transformers

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

120.6M 169K 35K
huggingface
datasets

🤗 The largest hub of ready-to-use datasets for AI models with fast, easy-to-use and efficient data manipulation tools

64.9M 22K 4K
arogozhnikov
einops

Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)

27.2M 10K 406
explosion
thinc

🔮 A refreshing functional take on deep learning, compatible with your favorite libraries

24.6M 3K 297
wandb
wandb

The AI developer platform. Use Weights & Biases to train and fine-tune models, and manage models from experimentation to production.

19.8M 11K 923
onnx
onnx

Open standard for machine learning interoperability

17.5M 22K 4K
ray-project
ray

Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

16.4M 44K 8K
aws
sagemaker

A library for training and deploying machine learning models on Amazon SageMaker

16.4M 2K 1K
Lightning-AI
torchmetrics

Machine learning metrics for distributed, scalable PyTorch applications.

13.2M 2K 586
Lightning-AI
pytorch-lightning

Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.

11.7M 31K 4K
huggingface
timm

The largest collection of PyTorch image encoders / backbones. Including train, eval, inference, export scripts, and pretrained weights -- ResNet, ResNeXT, EfficientNet, NFNet, Vision Transformer (ViT), MobileNetV4, MobileNet-V3 & V2, RegNet, DPN, CSPNet, Swin Transformer, MaxViT, CoAtNet, ConvNeXt, and more

11.6M 37K 5K
keras-team
keras

Deep Learning for humans

11.4M 64K 20K
huggingface
peft

🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.

9.7M 22K 3K
huggingface
diffusers

🤗 Diffusers: State-of-the-art diffusion models for image, video, and audio generation in PyTorch.

6.5M 35K 8K
pytorch
torchaudio

Data manipulation and transformation for audio signal processing, powered by PyTorch

6M 3K 818
lanpa
tensorboardx

tensorboard for pytorch (and chainer, mxnet, numpy, ...)

5.4M 8K 849
ultralytics
ultralytics

Ultralytics YOLO27, YOLO26, YOLO11, YOLOv8 — object detection, instance segmentation, semantic segmentation, image classification, pose estimation, object tracking

5.2M 64K 12K
ultralytics
ultralytics-thop

PyTorch model profiler for computing MACs and parameter counts to measure deep learning model complexity.

4.8M 163 8
Lightning-AI
lightning

Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.

4.8M 31K 4K
flashinfer-ai
flashinfer-python

FlashInfer: Kernel Library for LLM Serving

4.2M 7K 2K
aws
sagemaker-core

A library for training and deploying machine learning models on Amazon SageMaker

3.6M 2K 1K
bitsandbytes-foundation
bitsandbytes

Accessible large language models via k-bit quantization for PyTorch.

3.6M 9K 957
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology