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.
31 repos in Run models locally matching “pytorch”
Runtimes, inference servers and quantisation for running models on your own hardware.
Run models locally
Stars:97.3kvllm
A high-throughput and memory-efficient inference and serving engine for LLMs
Python · Apache-2.0 · updated 10 days 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: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:12.4kLMCache
LMCache: Supercharge Your LLM with the Fastest KV Cache Layer
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:9.6keinops
Flexible and powerful tensor operations for readable and reliable code (for pytorch, jax, TF and others)
Python · MIT · updated 3 months agoDetails›Run models locally
Stars:8.5kbitsandbytes
Accessible large language models via k-bit quantization for PyTorch.
Python · MIT · updated 29 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.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.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.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:3kchitu
High-performance inference framework for large language models, focusing on efficiency, flexibility, and availability.
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:2.7kneural-compressor
SOTA low-bit LLM quantization (INT8/FP8/MXFP8/INT4/MXFP4/NVFP4) & sparsity; leading model compression techniques on PyTorch, TensorFlow, and ONNX Runtime
Python · Apache-2.0 · updated 11 days agoDetails›Run models locally
Stars:2.3kmixtral-offloading
Run Mixtral-8x7B models in Colab or consumer desktops
Python · MIT · updated 2 years agoDetails›Run models locally
Stars:2.2kMoBA
MoBA: Mixture of Block Attention for Long-Context LLMs
Python · MIT · updated 1 year agoDetails›Run models locally
Stars:2.1kDeepSpeed-MII
MII makes low-latency and high-throughput inference possible, powered by DeepSpeed.
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:2.1kInferenceX
Open Source AI Accelerator Research Platform Standard / 开源推理研究平台
Python · Apache-2.0 · updated 10 days agoDetails›Run models locally
Stars:1.8kppq
PPL Quantization Tool (PPQ) is a powerful offline neural network quantization tool.
Python · Apache-2.0 · updated 2 years agoDetails›Run models locally
Stars:1.6kbrevitas
Brevitas: neural network quantization in PyTorch
Python · updated 11 days agoDetails›Run models locally
Stars:1.4kgpu_poor
Calculate token/s & GPU memory requirement for any LLM. Supports llama.cpp/ggml/bnb/QLoRA quantization
JavaScript · updated 1 year agoDetails›Run models locally
Stars:1.3kkvpress
LLM KV cache compression made easy
Python · Apache-2.0 · updated 15 days agoDetails›Run models locally
Stars:1.2kkubetorch
Distribute and run AI workloads on Kubernetes magically in Python, like PyTorch for ML infra.
Python · Apache-2.0 · updated 6 months 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:880deep-learning-wizard
Open source guides/codes for mastering deep learning to deploying deep learning in production in PyTorch, Python, Apptainer, and more.
Python · MIT · updated 1 month 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:720ServerlessLLM
Serverless LLM Serving for Everyone.
Python · Apache-2.0 · updated 2 months agoDetails›Run models locally
Stars:384MACaQ
SOTA model-agnostic quantization for GGUF, local inference and beyond. Quantize and run text, image, video and audio models with llama.cpp, vLLM, Diffusers and PyTorch.
C++ · Apache-2.0 · updated 14 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:364swiftLLM
A tiny yet powerful LLM inference system tailored for researching purpose. vLLM-equivalent performance with only 2k lines of code (2% of vLLM).
Python · Apache-2.0 · updated 1 year agoDetails›Run models locally
Stars:346phonon
Phonon: open speech recognition models (Phonon-2, Phonon-1) — CLI, CPU and CUDA images
Python · Apache-2.0 · updated 1 month agoDetails›Run models locally
Stars:319BitNet-Transformers
0⃣1⃣ BitNet-Transformers: Huggingface Transformers Implementation of "BitNet: Scaling 1-bit Transformers for Large Language Models" in pytorch with Llama(2) Architecture
Python · updated 2 years agoDetails›
Details come from each project’s own repository. Something wrong or missing? Tell us or open a pull request.