Packages

Machine Learning & Deep Learning Packages

Machine-learning and deep-learning frameworks and model libraries for training, fine-tuning, and serving models (PyTorch, scikit-learn, Transformers).

135 packages

Packages in Machine Learning & Deep Learning

96Health
Library PyPI

PyTorch

A Python-first tensor library with GPU acceleration and a dynamic, define-by-run autograd engine for building and training deep neural networks.

103,425
BSD 3
Used by 40
95Health
Framework PyPI

Transformers

State-of-the-art pretrained models for text, vision, audio, and multimodal inference and training.

166,736
Apache 2.0
Used by 38
95Health
SDK PyPI

huggingface_hub

The official Python client and hf CLI for the Hugging Face Hub, for downloading, uploading, and managing models, datasets, and Spaces.

3,939
Apache 2.0
Used by 26
95Health
Library PyPI

Datasets

One-line loading and fast, Arrow-backed processing for thousands of ML datasets

22,013
Apache 2.0
Used by 25
95Health
Library PyPI

ONNX Runtime

Cross-platform, high-performance ML inference and training accelerator for ONNX models

21,936
MIT
Used by 16
71Health
Library Cargo

safetensors

A safe, zero-copy binary format for storing and loading ML tensors without pickle

3,901
Apache 2.0
Used by 12
90Health
Library PyPI

PEFT

Hugging Face's library of state-of-the-art parameter-efficient fine-tuning methods for large models.

21,730
Apache 2.0
Used by 11
76Health
Library PyPI

torchaudio

GPU-accelerated audio processing library built on PyTorch, with differentiable transforms, Kaldi-compatible features, and pretrained speech models.

2,948
Other
Used by 10
95Health
Library npm

onnxruntime-node

Microsoft's official Node.js binding for running ONNX model inference in production JavaScript apps

21,936
MIT
Used by 7
61Health
Library PyPI

einops

A readable, framework-independent notation for tensor rearrangement, reduction, and repetition.

9,605
MIT
Used by 7
89Health
Library PyPI

bitsandbytes

8-bit and 4-bit quantization primitives that make large language models fit and train on far less GPU memory.

8,500
MIT
Used by 6
93Health
Library PyPI

diffusers

Hugging Face's modular Python toolbox of pretrained diffusion pipelines, models, and schedulers for image, video, and audio generation.

34,621
Apache 2.0
Used by 5
91Health
SDK PyPI

wandb

Official Python SDK and CLI for the Weights & Biases ML experiment tracking platform

11,262
MIT
Used by 5
93Health
Library PyPI

timm (PyTorch Image Models)

The largest collection of pretrained PyTorch image models, layers, and training utilities.

37,174
Apache 2.0
Used by 3
92Health
Framework PyPI

PyTorch Lightning

A deep learning framework that organizes PyTorch training code and automates multi-GPU, mixed-precision, and distributed training.

31,364
Apache 2.0
Used by 3
94Health
Library PyPI

DeepSpeed

Distributed deep learning optimization library for training and serving massive models

43,161
Apache 2.0
Used by 2
92Health
Framework PyPI

PyTorch Lightning

The deep learning framework that separates PyTorch research code from engineering boilerplate, scaling from CPU to multi-node GPU clusters without code changes.

31,364
Apache 2.0
Used by 2
54Health
Library PyPI

EasyOCR

Ready-to-use Python OCR supporting 80+ languages and all popular writing scripts.

30,036
Apache 2.0
Used by 2
92Health
Library PyPI

kornia

A differentiable computer vision library for PyTorch, with 500+ GPU-ready ops for image processing, augmentation, and geometry.

11,385
Apache 2.0
Used by 2
48Health
Library PyPI

GFPGAN

Restore realistic detail to low-quality faces in PyTorch using a pretrained GAN prior

37,683
Apache 2.0
Used by 1
81Health
Library PyPI

InsightFace

A Python library for state-of-the-art 2D and 3D face detection, recognition, and alignment.

29,848
MIT
Used by 1
93Health
Framework PyPI

fastai

A high-level deep learning framework that layers state-of-the-art training APIs on top of PyTorch.

28,198
Apache 2.0
Used by 1
70Health
Library PyPI

stable-baselines3

Reliable PyTorch implementations of reinforcement learning algorithms with a consistent, sklearn-like API.

13,850
MIT
Used by 1
93Health
Library PyPI

PyOD

The most comprehensive Python library for anomaly and outlier detection, with 60+ detectors across tabular, time series, graph, text, image, and audio data.

10,015
Other
Used by 1

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers