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.
14 repos in Run models locally matching “library”
Runtimes, inference servers and quantisation for running models on your own hardware.
Run models locally
Stars:43.3kDeepSpeed
DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.
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: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: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.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 10 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 18 days agoDetails›Run models locally
Stars:3.8kLLamaSharp
A C#/.NET library to run LLM (LLaMA/LLaVA) on your local device efficiently.
C# · MIT · updated 11 days agoDetails›Run models locally
Stars:2.7kaimet
AIMET is a library that provides advanced quantization and compression techniques for trained neural network models.
Python · updated 10 days agoDetails›Run models locally
Stars:973TinyChatEngine
TinyChatEngine: On-Device LLM Inference Library
C++ · MIT · updated 2 years agoDetails›Run models locally
Stars:674slotstream
Run a 105 GB AI model on a Mac that can't hold it. Qwen3.8-Flash-Next 4-bit, streamed from SSD on 16–64 GB Apple Silicon Macs. Fully native Swift, MLX and Metal. Offline, no Python. CLI, Swift library, and Ollama/OpenAI/Anthropic APIs. Works with Claude Code and Codex.
Swift · MIT · updated 14 days agoDetails›Run models locally
Stars:583qkeras
QKeras: a quantization deep learning library for Tensorflow Keras
Python · Apache-2.0 · updated 9 months agoDetails›Run models locally
Stars:508ollama4j
A simple Java library for interacting with Ollama server.
Java · MIT · updated 18 days agoDetails›Run models locally
Stars:384MoE-Infinity
PyTorch library for cost-effective, fast and easy serving of MoE models.
Python · Apache-2.0 · updated 11 days agoDetails›Run models locally
Stars:80local-llm-tuning-guide
A decision library for running local LLMs on multi-GPU machines without NVLink: parallelism, communication, quantization, speculative decoding, KV cache. Every conclusion carries its evidence grade and reproducible conditions.
Python · MIT · updated 19 days agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.