Open-source AI repos
Open-source AI, all in one place.
13,356 open-source AI repositories for learning, teaching, research and building. Kept up to date by the community: anyone can add a repo with a pull request.
227 repos in Run models locally matching “py”
Runtimes, inference servers and quantisation for running models on your own hardware.
Run models locally
Stars:7.7kmlx-lm
Run LLMs with MLX
Python · MIT · updated 10 days agoDetails›Run models locally
Stars:7.7kreef
Infrastructure for continually self‑improving agents
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:7kflashinfer
FlashInfer: Kernel Library for LLM Serving
Cuda · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:6.8kLLMLingua
[EMNLP'23, ACL'24] To speed up LLMs' inference and enhance LLM's perceive of key information, compress the prompt and KV-Cache, which achieves up to 20x compression with minimal performance loss.
Python · MIT · updated 22 days agoDetails›Run models locally
Stars:6.4kserving
A flexible, high-performance serving system for machine learning models
C++ · Apache-2.0 · updated 12 days agoDetails›Run models locally
Stars:6.1kgpustack
A GPU cluster manager for high-performance AI model serving (vLLM, SGLang) and on-demand SSH-accessible GPU instances.
Python · Apache-2.0 · updated 11 days agoDetails›Run models locally
Stars:6.1klit-llama
Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Adapter fine-tuning, pre-training. Apache 2.0-licensed.
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:6kshimmy
Pure-Rust WebGPU inference engine — OpenAI-API compatible, GGUF native, runs on any GPU. No Python. No llama.cpp. Single binary.
Rust · Apache-2.0 · updated 19 days agoDetails›Run models locally
Stars:6kagentops
Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI
Python · MIT · updated 5 months agoDetails›Run models locally
Stars:5.9kmlx-vlm
MLX-VLM is a package for inference and fine-tuning of Vision Language Models (VLMs) on your Mac using MLX.
Python · MIT · updated 10 days agoDetails›Run models locally
Stars:5.8kopenmed
Local-first healthcare AI: clinical NER and HIPAA PII de-identification on hardware you control. 2,200+ medical models, 35 model-backed PII languages, and Python, MLX, Android and browser runtimes. Apache-2.0 SDK.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:5.8krlm
General plug-and-play inference library for Recursive Language Models (RLMs), supporting various sandboxes.
Python · MIT · updated 10 days agoDetails›Run models locally
Stars:5.8kToolBench
[ICLR'24 spotlight] An open platform for training, serving, and evaluating large language model for tool learning.
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:5.7kRouteLLM
A framework for serving and evaluating LLM routers - save LLM costs without compromising quality
Python · Apache-2.0 · updated 2 years agoDetails›Run models locally
Stars:5.6kmini-sglang
A compact implementation of SGLang, designed to demystify the complexities of modern LLM serving systems.
Python · MIT · updated 6 months agoDetails›Run models locally
Stars:5.3kllm-d
Achieve state of the art inference performance with modern accelerators on Kubernetes
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:5.1kcube-studio
cube studio开源云原生一站式机器学习/深度学习/大模型AI平台,mlops算法链路全流程,算力租赁平台,notebook在线开发,拖拉拽任务流pipeline编排,多机多卡分布式训练,超参搜索,推理服务VGPU虚拟化,边缘计算,标注平台自动化标注,deepseek等大模型sft微调/奖励模型/强化学习训练,vllm/ollama/mindie大模型多机推理,私有知识库,AI模型市场,支持国产cpu/gpu/npu 昇腾生态,支持RDMA,支持pytorch/tf/mxnet/deepspeed/paddle/colossalai/horovod/ray/volcano等分布式
updated 1 month agoDetails›Run models locally
Stars:4.7kexllamav2
A fast inference library for running LLMs locally on modern consumer-class GPUs
Python · MIT · updated 8 months agoDetails›Run models locally
Stars:4.4kagentic-rag-for-dummies
A modular Agentic RAG built with LangGraph — learn Retrieval-Augmented Generation Agents in minutes.
Jupyter Notebook · MIT · updated 21 days agoDetails›Run models locally
Stars:4.4kLightLLM
LightLLM is a Python-based LLM (Large Language Model) inference and serving framework, notable for its lightweight design, easy scalability, and high-speed performance.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:4.3koptillm
Optimizing inference proxy for LLMs
Python · Apache-2.0 · updated 15 days agoDetails›Run models locally
Stars:4.2kGenerativeAIExamples
Generative AI reference workflows optimized for accelerated infrastructure and microservice architecture.
Jupyter Notebook · Apache-2.0 · updated 26 days agoDetails›Run models locally
Stars:4.2klangroid
Harness LLMs with Multi-Agent Programming
Python · MIT · updated 10 days agoDetails›Run models locally
Stars:4.1koneDNN
Open-source library of optimized deep learning operations (matmul, convolution, attention) for CPUs (x64, AArch64, RISC-V) and Intel GPUs. Used by PyTorch, TensorFlow, OpenVINO, and ONNX Runtime.
C++ · Apache-2.0 · updated 11 days agoDetails›Run models locally
Stars:4.1kcsghub
CSGHub is a brand-new open-source platform for managing LLMs, developed by the OpenCSG team. It offers both open-source and on-premise/SaaS solutions, with features comparable to Hugging Face. Gain full control over the lifecycle of LLMs, datasets, and agents, with Python SDK…
Vue · Apache-2.0 · updated 18 days agoDetails›Run models locally
Stars:4.1kFedML
FEDML - The unified and scalable ML library for large-scale distributed training, model serving, and federated learning. FEDML Launch, a cross-cloud scheduler, further enables running any AI jobs on any GPU cloud or on-premise cluster. Built on this library, TensorOpera AI…
Python · Apache-2.0 · updated 19 days agoDetails›Run models locally
Stars:4kLitServe
A minimal Python framework for building custom AI inference servers with full control over logic, batching, and scaling.
Python · Apache-2.0 · updated 0 months agoDetails›Run models locally
Stars:3.7kFastDeploy
High-performance Inference and Deployment Toolkit for LLMs and VLMs based on PaddlePaddle
Python · Apache-2.0 · updated 2 months agoDetails›Run models locally
Stars:3.5kclaude-code-local
Run Claude Code 100% on-device with local AI on Apple Silicon. MLX-native Anthropic-API server. 6 fighters incl. Muse-Glimmer 30B (now multimodal — reads images, abliterated), Gemma 4 31B, Qwen 3.5 122B (65 tok/s), DeepSeek V4 Flash (1M ctx). Private, offline, airgap-ready. Built for NDA / legal /…
Python · MIT · updated 10 days agoDetails›Run models locally
Stars:3.5koptimum
Accelerate inference and training of Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools
Python · Apache-2.0 · updated 15 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.