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.
38 repos in Run models locally matching “opt”
Runtimes, inference servers and quantisation for running models on your own hardware.
Run models locally
Stars:4.3koptillm
Optimizing inference proxy for LLMs
Python · Apache-2.0 · updated 15 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›Run models locally
Stars:1.6kmodel-optimization
A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:1.4kinference-optimisation-skill
Agent skill for hill-climbing local LLM serving speed (decode, speculative decoding, prefill, KV, startup, TTFT) on any hardware and quantization
Python · MIT · updated 15 days agoDetails›Run models locally
Stars:450mct-model-optimization
Model Compression Toolkit (MCT) is an open source project for neural network model optimization under efficient, constrained hardware. This project provides researchers, developers, and engineers advanced quantization and compression tools for deploying state-of-the-art neural networks.
Python · Apache-2.0 · updated 21 days agoDetails›Run models locally
Stars:395openclaw-optimization-guide
Make your OpenClaw AI agent faster, smarter, and cheaper. Speed optimization, memory architecture, context management, model selection, and one-shot development guide.
JavaScript · MIT · updated 5 months agoDetails›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:24.1kncnn
ncnn is a high-performance neural network inference framework optimized for the mobile platform
C++ · updated 10 days agoDetails›Run models locally
Stars:19.7kktransformers
A Flexible Framework for Experiencing Heterogeneous LLM Inference/Fine-tune Optimizations
Python · Apache-2.0 · updated 18 days agoDetails›Run models locally
Stars:15.1kTensorRT-LLM
TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizations to perform inference efficiently on NVIDIA GPUs. TensorRT LLM also contains components to create Python and C++ runtimes that…
Python · updated 10 days agoDetails›Run models locally
Stars:11.2kserver
The Triton Inference Server provides an optimized cloud and edge inferencing solution.
Python · BSD-3-Clause · updated 11 days agoDetails›Run models locally
Stars:10.2kOpenRLHF
An Easy-to-use, Scalable and High-performance Agentic RL Framework based on Ray (PPO & DAPO & REINFORCE++ & VLM & TIS & vLLM & Ray & Async RL)
Python · Apache-2.0 · updated 28 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 25 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 10 days agoDetails›Run models locally
Stars:3.2kPretrained-Language-Model
Pretrained language model and its related optimization techniques developed by Huawei Noah's Ark Lab.
Python · updated 2 years agoDetails›Run models locally
Stars:1.8kStartLux-Decision
Open decision models from 0.8B to 27B: a calibrated probability for every option in one pass, and a short thought only when unsure. Engine for vLLM, llama.cpp and MLX.
Python · Apache-2.0 · updated 1 month agoDetails›Run models locally
Stars:1.7krow-bot
Row-Bot - Personal AI Sovereignty. A local-first AI assistant with integrated tools, a personal knowledge graph, voice, vision, shell, browser automation, scheduled tasks, health tracking, and messaging channels. Run locally via Ollama or add opt-in cloud models. Your data stays on your machine.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:1.6kxllm
A high-performance inference engine for LLM, VLM, DiT and REC models, optimized for diverse AI accelerators. It is hosted in OpenAtom Foundation.
C++ · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:1.3kGPTQModel
LLM model quantization (compression) toolkit with HW acceleration support for Nvidia, AMD, Intel GPU and Intel/AMD/Apple CPU via HF, vLLM, and SGLang.
Python · updated 10 days agoDetails›Run models locally
Stars:1.3kai-hub-models
Qualcomm® AI Hub Models is our collection of state-of-the-art machine learning models optimized for performance (latency, memory etc.) and ready to deploy on Qualcomm® devices.
Python · BSD-3-Clause · updated 10 days agoDetails›Run models locally
Stars:1.2ktime-to-first-token
A 10-week, 30-minutes-a-day roadmap for LLM inference serving and optimization. vLLM, SGLang, quantization, speculative decoding, benchmarking.
HTML · Apache-2.0 · updated 3 months agoDetails›Run models locally
Stars:961model_server
A scalable inference server for models optimized with OpenVINO™
C++ · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:906ZhiLight
A highly optimized LLM inference acceleration engine for Llama and its variants.
C++ · Apache-2.0 · updated 8 months agoDetails›Run models locally
Stars:811llm-algo-leetcode
Hands-on LLM algorithms and systems with PyTorch, Triton & CUDA.《大模型算法与系统教程》:模型架构与训练、后训练、推理加速、性能与算子优化,配套 Notebook 练习、答案解析、测试与实验。
Jupyter Notebook · updated 14 days agoDetails›Run models locally
Stars:551OpenArc
Inference engine for Intel devices. Serve LLMs, VLMs, Whisper, Kokoro-TTS, Embedding and Rerank models over OpenAI endpoints.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:532nanoowl
A project that optimizes OWL-ViT for real-time inference with NVIDIA TensorRT.
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:530krasis
Krasis is a Hybrid LLM runtime which focuses on efficient running of larger models on consumer grade VRAM limited hardware
C++ · updated 19 days agoDetails›Run models locally
Stars:473JetStream
JetStream is a throughput and memory optimized engine for LLM inference on XLA devices, starting with TPUs (and GPUs in future -- PRs welcome).
Python · Apache-2.0 · updated 10 months agoDetails›Run models locally
Stars:449david-share
AI Agents & Deep Learning: code, benchmarks and explainers. Building and operating agents on Microsoft Foundry and Azure; fine-tuning, inference optimization, precision and GPU benchmarks on NVIDIA and AMD; multimodal models.
Jupyter Notebook · MIT · updated 17 days agoDetails›Run models locally
Stars:363KVSplit
Run larger LLMs with longer contexts on Apple Silicon by using differentiated precision for KV cache quantization. KVSplit enables 8-bit keys & 4-bit values, reducing memory by 59% with <1% quality loss. Includes benchmarking, visualization, and one-command setup. Optimized…
Python · updated 1 year agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.