qmetrics.net

Open-Source Machine Learning Infrastructure Software

293 open-source projects in Machine Learning Infrastructure, compared by GitHub stars, license and self-hosting.

Sort:Most starsRecentA–Z

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Ollama

Run open AI models locally or in the cloud

Ollama runs open language models such as Gemma, Qwen, DeepSeek and gpt-oss on macOS, Windows and Linux, locally or in the cloud. It offers a CLI, a REST API, and Python and JavaScript libraries.

★ 188.3k⟳ 2 days agoMIT
Open Source Alternative to:OpenAI API

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

llama.cpp

LLM inference engine in C/C++ for local and cloud hardware

llama.cpp runs large language models and multimodal models locally or in the cloud with minimal setup. It includes a CLI, an OpenAI-compatible server with a built-in chat app, and a C library API.

★ 136.5k⟳ todayMIT
Open Source Alternative to:OpenAI API

Whisper

General-purpose speech recognition and translation model

Whisper is a speech recognition model trained on diverse audio. It supports multilingual transcription, speech-to-English translation, and language identification via Python or the command line.

★ 113.6k⟳ 2 months agoMIT

vLLM

High-throughput, memory-efficient inference and serving engine for LLMs

vLLM is a library and server for running and serving large language models. It uses PagedAttention and continuous batching for throughput, offers an OpenAI-compatible API, and runs on many GPU, CPU and accelerator types.

★ 97.7k⟳ todayApache-2.0
Open Source Alternative to:OpenAI API

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

PaddleOCR

OCR toolkit for documents and scene text

PaddleOCR parses PDFs and images into structured Markdown or JSON with multilingual text and layout models.

★ 93.4k⟳ 2 months agoApache-2.0

OpenCV

Open-source real-time computer vision library

OpenCV offers optimized computer vision algorithms, interfaces in C++, Python, and Java, and runs on major desktop and mobile OSes.

★ 91.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0

LLaMA Factory

Unified fine-tuning toolkit for LLMs and multimodal models

LLaMA Factory is a platform to fine-tune large language and vision-language models through CLI or a web board. It bundles many training algorithms, quantization options, and inference backends.

★ 76.3k⟳ 3 days agoApache-2.0

Docling

Document parsing toolkit for generative AI pipelines

Docling ingests PDFs, office files, media, email, and many other formats into a unified document model. It targets downstream RAG and agent workflows with local execution options.

★ 71.1k⟳ yesterdayMIT

Mem0

Memory layer for AI agents and apps with persistent context

Mem0 adds a persistent memory layer to AI assistants and agents, storing user, session and agent state. It is available as a Python/npm library, a self-hosted server, or a managed cloud platform.

★ 69.5k⟳ todayApache-2.0

scikit-learn

Python toolkit for classical machine learning

scikit-learn provides algorithms and utilities for classification, regression, clustering, and model selection in Python. It builds on NumPy and SciPy.

★ 68.4k⟳ todayBSD-3-Clause

Keras

Multi-backend high-level deep learning API

Keras 3 is a deep learning framework with pluggable backends including JAX, TensorFlow, PyTorch, and OpenVINO for inference. You define models once and train or run predictions on the backend you choose.

★ 64.5k⟳ 2 days agoApache-2.0

LiteLLM

Open-source AI gateway and Python SDK for 100+ LLM providers

LiteLLM is an open-source AI gateway for calling 100+ LLM providers in the OpenAI format. It runs as a Python SDK or self-hosted proxy with virtual keys, spend tracking, guardrails and load balancing

★ 64k⟳ todayMIT · open core
Open Source Alternative to:OpenRouter

Hindsight

Long-term learning memory for conversational AI agents

Agent memory that extracts facts, recalls them with multiple search strategies, and reflects to form answers. Runs self-hosted, embedded, or via managed cloud.

★ 63.8k⟳ todayMIT

Ultralytics

YOLO computer-vision models for detection, segmentation, and pose

Ultralytics provides the ultralytics Python package and YOLO CLI for training and running models on detection, segmentation, classification, pose, depth, and tracking tasks.

★ 63.8k⟳ todayAGPL-3.0

Real-Time Voice Cloning

Real-time multispeaker text-to-speech voice cloning toolbox

Real-Time Voice Cloning implements a three-stage deep learning pipeline that builds a voice embedding from seconds of audio and synthesizes speech from arbitrary text in real time.

★ 60.3k⟳ 8 months agoMIT

FaceSwap

Local deep learning face replacement toolkit

Faceswap trains models to swap faces in images and videos on your own hardware. It provides extract, train, convert, and GUI workflows powered by TensorFlow and Keras.

★ 57.6k⟳ 3 months agoGPL-3.0

Face Recognition

Python face detection and recognition toolkit

The face_recognition package locates faces, extracts landmarks, and matches identities in images or video. It builds on dlib deep learning models and includes CLI utilities.

★ 56.9k⟳ 5 months agoMIT

whisper.cpp

Portable C/C++ inference for Whisper speech recognition

Whisper.cpp runs OpenAI Whisper ASR with a dependency-light C/C++ core and CLI tools. It targets CPUs and many GPU and NPU accelerators across common operating systems.

★ 55.6k⟳ 2 days agoMIT

Related categories