II. Inference Engines
The runtimes that actually execute models: batching requests, managing the KV cache, and launching kernels.
46 entries · 5 subsections
Editor’s pick
II.1 Datacenter Engines 13
vLLM Tool
High-throughput serving engine built on paged KV cache management, continuous batching, and a broad hardware plugin ecosystem.
SGLang Tool
Serving engine with RadixAttention prefix reuse, fast constrained decoding, and large-scale expert-parallel deployments.
TensorRT-LLM Tool
NVIDIA's engine with a PyTorch-based runtime, in-flight batching, and kernels tuned for Hopper and Blackwell GPUs.
LMDeploy Tool
Toolkit pairing the C++ TurboMind engine with a PyTorch engine, with weight and KV-cache quantization and Ascend support.
Modular MAX Tool
Graph compiler, Mojo kernel library, and OpenAI-compatible serving stack that targets NVIDIA and AMD GPUs from one codebase.
DeepInfer Tool
DeepSeek's production engine, released for offline inference with expert parallelism, batch invariance, and Blackwell and Ascend support.
TokenSpeed Tool
Engine for agentic workloads that splits a C++ state-machine control plane from a Python execution plane, with pluggable kernels.
LightLLM Tool
Pure-Python serving framework with token-level KV cache management, often used as the base for serving research prototypes.
RTP-LLM Tool
Alibaba's in-house engine behind Taobao and other services, with a C++ scheduler and prefill-decode separation.
xLLM Tool
Engine built at JD.com for Chinese accelerators such as Ascend, Cambricon, and Hygon, with a service layer decoupled from compute.
FastDeploy Tool
PaddlePaddle-based LLM and VLM deployment toolkit from Baidu, with prefill-decode disaggregation and many Chinese accelerator backends.
Chitu Tool
Engine from Tsinghua's PACMAN group for NVIDIA and Chinese accelerators that scales from CPU+GPU hybrid boxes to clusters.
ATOM Tool
AMD's lightweight vLLM-style engine built on AITER kernels for Instinct GPUs, also usable as a vLLM plugin.
Text Generation Inference Tool
Hugging Face's Rust and Python LLM server; archived in 2026 in favour of vLLM and SGLang.
II.2 Local & Desktop Runtimes 16
llama.cpp Tool
Dependency-free C/C++ inference with GGUF quantization, running on CPUs, GPUs, and Apple silicon.
Ollama Tool
Go tool that pulls, manages, and serves local models through a CLI and REST API, with ggml- and MLX-based backends.
MLX LM Tool
Python package for running, quantizing, and fine-tuning LLMs on Apple silicon with MLX, including a local OpenAI-style server.
LM Studio Tool
Closed-source desktop app and local API server for Mac, Windows, and Linux that runs models on llama.cpp and MLX engines.
vLLM Metal Tool
Hardware plugin that runs vLLM on Apple silicon Macs, using MLX for compute and a paged varlen Metal attention kernel.
exo Tool
Pools Macs and other devices into one inference cluster with automatic discovery, tensor parallelism, and RDMA over Thunderbolt.
Jan Tool
Open-source desktop chat app with a bundled llama.cpp engine that runs models offline and exposes a local OpenAI-compatible server.
LocalAI Tool
Self-hosted OpenAI-compatible API server that routes text, image, audio, and embedding requests to pluggable CPU or GPU backends.
llamafile Tool
Packs model weights and a llama.cpp server into one executable that runs across operating systems and CPUs via Cosmopolitan Libc.
Docker Model Runner Tool
Pulls models as OCI artifacts and serves them through llama.cpp, vLLM, or SGLang, inside Docker or as a standalone binary.
RamaLama Tool
Runs and serves models inside rootless containers, picking a GPU-specific image for the host and treating models like images.
ExLlamaV3 Library
Inference library for consumer NVIDIA GPUs built around the QTIP-based EXL3 format, with tensor parallelism and TabbyAPI as its server.
KoboldCpp Tool
Single-executable llama.cpp distribution with a bundled web UI and compatible APIs, plus image, speech, and music generation.
TextGen (text-generation-webui) Tool
Desktop app and API for local models that switches between llama.cpp, ExLlamaV3, and Transformers backends, with portable builds.
Foundry Local Tool
Microsoft's on-device runtime and SDKs that pick NPU, GPU, or CPU execution through ONNX Runtime for apps that embed local models.
Lemonade Tool
Local server with OpenAI-, Anthropic-, and Ollama-compatible APIs, tuned by AMD engineers for Ryzen AI NPUs and Radeon GPUs.
II.3 Hybrid CPU–GPU & Offloading 6
KTransformers Tool
CPU–GPU heterogeneous runtime that keeps MoE experts on AMX/AVX-512 CPU kernels and plugs into SGLang; also supports MoE fine-tuning.
ik_llama.cpp Tool
Fork of llama.cpp with extra quantization types and faster CPU and hybrid CPU/GPU paths, widely used to run large MoE models at home.
FastLLM Tool
C++ engine without a PyTorch dependency that splits dense and MoE models across GPUs, CPU NUMA nodes, and disk.
AirLLM Library
Streams weights layer by layer, or expert by expert for MoE, so very large models run on GPUs with only a few gigabytes of memory.
PowerInfer Tool
Exploits activation sparsity by keeping frequently firing neurons on the GPU and computing the rest on the CPU, from the SOSP 2024 paper.
FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU Paper
Offloading scheduler that searches placements of weights, activations, and KV cache across GPU, CPU, and disk for batch throughput.
II.4 Language-Native Runtimes 6
mistral.rs Tool
Rust engine with paged attention, in-situ quantization, multimodal models, and OpenAI- and Anthropic-compatible servers on CUDA and Metal.
Candle Library
Hugging Face's minimalist Rust ML framework with CPU, CUDA, Metal, and WebAssembly backends and many ready-made model ports.
Burn Library
Rust deep learning framework that JIT-compiles tensor op streams with automatic fusion across CUDA, ROCm, Metal, Vulkan, and WebGPU.
ZML Tool
Zig inference stack that compiles models through MLIR and OpenXLA for NVIDIA, AMD, Intel, TPU, and Trainium from one codebase.
gemma.cpp Tool
Google's compact C++ CPU engine for Gemma models, built on Highway portable SIMD and aimed at research and experimentation.
llama3.java Tool
Single-file, dependency-free Java inference for Llama-family GGUF models, also used to test JVM and GraalVM compiler optimizations.
II.5 Minimal & Educational Engines 5
Nano-vLLM Tool
Readable re-implementation of a vLLM-style engine in about a thousand lines of Python, with prefix caching and CUDA graphs.
Mini-SGLang Tool
Compact, type-annotated rewrite of SGLang in about 5,000 lines of Python, with radix cache, chunked prefill, and overlap scheduling.
tiny-vllm Tool
Course plus C++/CUDA codebase that builds a small vLLM-style server step by step, from safetensors loading to paged attention.
tiny-llm Course
Course that builds a Qwen serving stack on MLX from array ops up, adding KV cache, batching, and hand-written Metal kernels.
gpt-fast Tool
Under 1,000 lines of PyTorch showing how torch.compile, int8/int4 weight quantization, and speculative decoding speed up generation.