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
94Health
Library PyPI

scikit-learn

Simple and efficient tools for machine learning and data analysis in Python.

67,403
BSD 3
Used by 28
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
80Health
Library PyPI

opencv-python

Pre-built, pip-installable OpenCV bindings that give Python programs full computer vision and image-processing capabilities without compiling from source.

5,412
MIT
Used by 12
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
93Health
SDK PyPI

pymilvus

The official Python SDK for Milvus, the open-source vector database for embedding-based similarity search.

1,411
Apache 2.0
Used by 9
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
92Health
Framework PyPI

Gradio

Build and share machine learning web apps and demos in pure Python.

43,633
Apache 2.0
Used by 6
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
87Health
Framework PyPI

PySpark

Python API for Apache Spark, the unified engine for large-scale distributed data processing

44,074
Apache 2.0
Used by 4
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
95Health
Library PyPI

LightGBM

A fast, distributed, high-performance gradient boosting framework based on decision tree algorithms, used for ranking, classification, and other machine learning tasks.

18,819
MIT
Used by 3
85Health
Framework PyPI

ModelScope

Alibaba's open model-hub library for NLP, CV, speech, and multi-modal AI models.

9,156
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

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