Inference Engineering

Vertical

LLM

410 entries · 17 sections

Editor’s pick

I Start Here 8

  1. Inference Engineering Book

    Free book by Philip Kiely that frames inference engineering as a discipline, from hardware and runtimes to optimization and deployment.

    Start Here · freemium

  2. How to Scale Your Model — Inference Book

    Derives prefill and decode costs, batching limits, and KV cache memory from first principles, with worked latency estimates.

    Start Here

  3. Transformer Inference Arithmetic Article

    Back-of-the-envelope math for FLOPs, weight and KV bytes, and communication during transformer inference.

    Start Here

  4. LLM Inference Handbook Book

    Practitioner handbook on inference metrics, optimization techniques, and deployment patterns, originally published by BentoML.

    Start Here

  5. Inside vLLM: Anatomy of a High-Throughput LLM Inference System Article

    Walks through a modern engine end to end, from the scheduler and paged KV cache to prefix caching, speculative decoding, and disaggregation.

    Start Here

  6. Efficiently Scaling Transformer Inference Paper

    Analytical model of latency, memory, and partitioning trade-offs for serving very large transformers.

    Start Here · MLSys 2023

  7. Defeating Nondeterminism in LLM Inference Article

    Shows that batch-dependent reduction order, not concurrency, makes outputs vary, and builds batch-invariant kernels to fix it.

    Start Here

  8. AI Systems Performance Engineering Book

    Code and labs for Chris Fregly's O'Reilly book on profiling-driven GPU, distributed training, and inference tuning.

    Start Here · Apache-2.0 · 2.2k stars · Updated 2026-11

II Inference Engines 45

  1. vLLM Tool

    High-throughput serving engine built on paged KV cache management, continuous batching, and a broad hardware plugin ecosystem.

    Datacenter Engines · Apache-2.0 · 97k stars · Updated 2026-11

  2. SGLang Tool

    Serving engine with RadixAttention prefix reuse, fast constrained decoding, and large-scale expert-parallel deployments.

    Datacenter Engines · Apache-2.0 · 39k stars · Updated 2026-11

  3. TensorRT-LLM Tool

    NVIDIA's engine with a PyTorch-based runtime, in-flight batching, and kernels tuned for Hopper and Blackwell GPUs.

    Datacenter Engines · Apache-2.0 · 15k stars · Updated 2026-11

  4. LMDeploy Tool

    Toolkit pairing the C++ TurboMind engine with a PyTorch engine, with weight and KV-cache quantization and Ascend support.

    Datacenter Engines · Apache-2.0 · 8.2k stars · Updated 2026-11

  5. Modular MAX Tool

    Graph compiler, Mojo kernel library, and OpenAI-compatible serving stack that targets NVIDIA and AMD GPUs from one codebase.

    Datacenter Engines · Apache-2.0 + custom · 30k stars · Updated 2026-11

  6. DeepInfer Tool

    DeepSeek's production engine, released for offline inference with expert parallelism, batch invariance, and Blackwell and Ascend support.

    Datacenter Engines · Apache-2.0 · 26k stars · Updated 2026-11

  7. TokenSpeed Tool

    Engine for agentic workloads that splits a C++ state-machine control plane from a Python execution plane, with pluggable kernels.

    Datacenter Engines · MIT · 3k stars · Updated 2026-11

  8. LightLLM Tool

    Pure-Python serving framework with token-level KV cache management, often used as the base for serving research prototypes.

    Datacenter Engines · Apache-2.0 · 4.4k stars · Updated 2026-11

  9. RTP-LLM Tool

    Alibaba's in-house engine behind Taobao and other services, with a C++ scheduler and prefill-decode separation.

    Datacenter Engines · Apache-2.0 · 1.4k stars · Updated 2026-11

  10. xLLM Tool

    Engine built at JD.com for Chinese accelerators such as Ascend, Cambricon, and Hygon, with a service layer decoupled from compute.

    Datacenter Engines · Apache-2.0 · 1.6k stars · Updated 2026-11

  11. FastDeploy Tool

    PaddlePaddle-based LLM and VLM deployment toolkit from Baidu, with prefill-decode disaggregation and many Chinese accelerator backends.

    Datacenter Engines · Apache-2.0 · 3.7k stars · Updated 2026-09

  12. Chitu Tool

    Engine from Tsinghua's PACMAN group for NVIDIA and Chinese accelerators that scales from CPU+GPU hybrid boxes to clusters.

    Datacenter Engines · Apache-2.0 · 3k stars · Updated 2026-11

  13. ATOM Tool

    AMD's lightweight vLLM-style engine built on AITER kernels for Instinct GPUs, also usable as a vLLM plugin.

    Datacenter Engines · MIT · 209 stars · Updated 2026-11

  14. llama.cpp Tool

    Dependency-free C/C++ inference with GGUF quantization, running on CPUs, GPUs, and Apple silicon.

    Local & Desktop Runtimes · MIT · 136k stars · Updated 2026-11

  15. Ollama Tool

    Go tool that pulls, manages, and serves local models through a CLI and REST API, with ggml- and MLX-based backends.

    Local & Desktop Runtimes · MIT · 188k stars · Updated 2026-11

  16. MLX LM Tool

    Python package for running, quantizing, and fine-tuning LLMs on Apple silicon with MLX, including a local OpenAI-style server.

    Local & Desktop Runtimes · MIT · 7.7k stars · Updated 2026-11

  17. 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.

    Local & Desktop Runtimes · proprietary · 5.4k stars · Updated 2026-11

  18. vLLM Metal Tool

    Hardware plugin that runs vLLM on Apple silicon Macs, using MLX for compute and a paged varlen Metal attention kernel.

    Local & Desktop Runtimes · Apache-2.0 · 2k stars · Updated 2026-11

  19. exo Tool

    Pools Macs and other devices into one inference cluster with automatic discovery, tensor parallelism, and RDMA over Thunderbolt.

    Local & Desktop Runtimes · Apache-2.0 · 49k stars · Updated 2026-11

  20. Jan Tool

    Open-source desktop chat app with a bundled llama.cpp engine that runs models offline and exposes a local OpenAI-compatible server.

    Local & Desktop Runtimes · Apache-2.0 · 46k stars · Updated 2026-11

  21. LocalAI Tool

    Self-hosted OpenAI-compatible API server that routes text, image, audio, and embedding requests to pluggable CPU or GPU backends.

    Local & Desktop Runtimes · MIT · 51k stars · Updated 2026-11

  22. llamafile Tool

    Packs model weights and a llama.cpp server into one executable that runs across operating systems and CPUs via Cosmopolitan Libc.

    Local & Desktop Runtimes · Apache-2.0 · 27k stars · Updated 2026-11

  23. 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.

    Local & Desktop Runtimes · Apache-2.0 · 666 stars · Updated 2026-11

  24. RamaLama Tool

    Runs and serves models inside rootless containers, picking a GPU-specific image for the host and treating models like images.

    Local & Desktop Runtimes · MIT · 3.1k stars · Updated 2026-11

  25. ExLlamaV3 Library

    Inference library for consumer NVIDIA GPUs built around the QTIP-based EXL3 format, with tensor parallelism and TabbyAPI as its server.

    Local & Desktop Runtimes · MIT · 1.9k stars · Updated 2026-11

  26. KoboldCpp Tool

    Single-executable llama.cpp distribution with a bundled web UI and compatible APIs, plus image, speech, and music generation.

    Local & Desktop Runtimes · AGPL-3.0 · 12k stars · Updated 2026-11

  27. TextGen (text-generation-webui) Tool

    Desktop app and API for local models that switches between llama.cpp, ExLlamaV3, and Transformers backends, with portable builds.

    Local & Desktop Runtimes · AGPL-3.0 · 48k stars · Updated 2026-08

  28. 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.

    Local & Desktop Runtimes · MIT + proprietary

  29. Lemonade Tool

    Local server with OpenAI-, Anthropic-, and Ollama-compatible APIs, tuned by AMD engineers for Ryzen AI NPUs and Radeon GPUs.

    Local & Desktop Runtimes · Apache-2.0 · 6.3k stars · Updated 2026-11

  30. 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.

    Hybrid CPU–GPU & Offloading · Apache-2.0 · 20k stars · Updated 2026-11

  31. 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.

    Hybrid CPU–GPU & Offloading · MIT · 3.4k stars · Updated 2026-11

  32. FastLLM Tool

    C++ engine without a PyTorch dependency that splits dense and MoE models across GPUs, CPU NUMA nodes, and disk.

    Hybrid CPU–GPU & Offloading · Apache-2.0 · 5.1k stars · Updated 2026-11

  33. 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.

    Hybrid CPU–GPU & Offloading · Apache-2.0 · 43k stars · Updated 2026-11

  34. 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.

    Hybrid CPU–GPU & Offloading · maintenance · MIT · 9.9k stars · Updated 2026-05

  35. 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.

    Hybrid CPU–GPU & Offloading · ICML 2023 · Code

  36. mistral.rs Tool

    Rust engine with paged attention, in-situ quantization, multimodal models, and OpenAI- and Anthropic-compatible servers on CUDA and Metal.

    Language-Native Runtimes · MIT · 7.9k stars · Updated 2026-11

  37. Candle Library

    Hugging Face's minimalist Rust ML framework with CPU, CUDA, Metal, and WebAssembly backends and many ready-made model ports.

    Language-Native Runtimes · Apache-2.0 · 21k stars · Updated 2026-11

  38. ZML Tool

    Zig inference stack that compiles models through MLIR and OpenXLA for NVIDIA, AMD, Intel, TPU, and Trainium from one codebase.

    Language-Native Runtimes · Apache-2.0 · 4.3k stars · Updated 2026-11

  39. gemma.cpp Tool

    Google's compact C++ CPU engine for Gemma models, built on Highway portable SIMD and aimed at research and experimentation.

    Language-Native Runtimes · Apache-2.0 · 7.1k stars · Updated 2026-11

  40. llama3.java Tool

    Single-file, dependency-free Java inference for Llama-family GGUF models, also used to test JVM and GraalVM compiler optimizations.

    Language-Native Runtimes · MIT · 818 stars · Updated 2026-04

  41. Nano-vLLM Tool

    Readable re-implementation of a vLLM-style engine in about a thousand lines of Python, with prefix caching and CUDA graphs.

    Minimal & Educational Engines · MIT · 17k stars · Updated 2026-04

  42. Mini-SGLang Tool

    Compact, type-annotated rewrite of SGLang in about 5,000 lines of Python, with radix cache, chunked prefill, and overlap scheduling.

    Minimal & Educational Engines · MIT · 5.6k stars · Updated 2026-05

  43. tiny-vllm Tool

    Course plus C++/CUDA codebase that builds a small vLLM-style server step by step, from safetensors loading to paged attention.

    Minimal & Educational Engines · Apache-2.0 · 1.2k stars · Updated 2026-11

  44. 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.

    Minimal & Educational Engines · Apache-2.0 · 5.8k stars · Updated 2026-11

  45. gpt-fast Tool

    Under 1,000 lines of PyTorch showing how torch.compile, int8/int4 weight quantization, and speculative decoding speed up generation.

    Minimal & Educational Engines · maintenance · BSD-3-Clause · 6.3k stars · Updated 2025-08

  46. Text Generation Inference Tool

    Hugging Face's Rust and Python LLM server; archived in 2026 in favour of vLLM and SGLang.

    Datacenter Engines · archived · Superseded by vLLM · Apache-2.0 · 11k stars · Updated 2026-03

III Distributed Serving & Orchestration 35

  1. NVIDIA Dynamo Tool

    Datacenter-scale serving layer over vLLM, SGLang, and TensorRT-LLM with prefill/decode disaggregation, KV-aware routing, and tiered KV cache.

    Distributed & Disaggregated Serving · Apache-2.0 · 8.6k stars · Updated 2026-11

  2. llm-d Tool

    Kubernetes-native distributed inference stack for vLLM and SGLang with prefix-cache-aware routing, prefill/decode disaggregation, and wide expert parallelism.

    Distributed & Disaggregated Serving · Apache-2.0 · 5.3k stars · Updated 2026-11

  3. AIBrix Tool

    Kubernetes control plane that routes on live engine state and adds LoRA packing, metric-driven autoscaling, and distributed KV cache for vLLM and SGLang.

    Distributed & Disaggregated Serving · Apache-2.0 · 5.2k stars · Updated 2026-11

  4. vLLM Production Stack Tool

    Helm-based reference deployment for vLLM clusters with a session-aware router, LMCache KV offloading, and Grafana dashboards.

    Distributed & Disaggregated Serving · Apache-2.0 · 2.7k stars · Updated 2026-11

  5. Ray Serve LLM Library

    LLM layer of Ray Serve for multi-node, multi-model deployments over vLLM or SGLang, with prefill/decode disaggregation and prefix-aware routing.

    Distributed & Disaggregated Serving · Apache-2.0 · 44k stars · Updated 2026-11

  6. Llumnix Tool

    Cluster scheduler for vLLM and SGLang instances that live-migrates requests between engines, with KV-aware, SLO-driven, and adaptive disaggregation policies.

    Distributed & Disaggregated Serving · OSDI 2024 · Apache-2.0 · 39 stars · Updated 2026-05

  7. xLLM Service Tool

    Cluster service layer for JD's xLLM engine that co-schedules online and offline traffic and shifts instances between prefill and decode roles at runtime.

    Distributed & Disaggregated Serving · Apache-2.0 · 100 stars · Updated 2026-10

  8. KServe Tool

    CNCF platform for generative and predictive model serving on Kubernetes, with vLLM and llm-d backends, model caching, and autoscaling.

    Kubernetes-Native Inference · Apache-2.0 · 6.3k stars · Updated 2026-11

  9. Gateway API Inference Extension Spec

    Kubernetes Gateway API extension that defines InferencePool, letting any ext-proc-capable gateway route to model servers through an endpoint picker.

    Kubernetes-Native Inference · Apache-2.0 · 808 stars · Updated 2026-11

  10. LeaderWorkerSet Tool

    Kubernetes API that deploys a leader pod and its workers as one replica for multi-host inference, plus DisaggregatedSet for prefill/decode roles.

    Kubernetes-Native Inference · Apache-2.0 · 911 stars · Updated 2026-11

  11. KAITO Tool

    Operator that provisions GPU nodes and deploys vLLM-served models from a Hugging Face ID, with preset parallelism settings and KEDA-based scaling.

    Kubernetes-Native Inference · Apache-2.0 · 1k stars · Updated 2026-11

  12. Grove Tool

    Kubernetes API for multi-component inference workloads with hierarchical gang scheduling, topology-aware placement, and per-role scaling.

    Kubernetes-Native Inference · Apache-2.0 · 298 stars · Updated 2026-11

  13. OME Tool

    Operator that treats models as resources, matches each to a runtime config, and deploys SGLang or vLLM in multi-node or prefill/decode layouts.

    Kubernetes-Native Inference · Apache-2.0 · 529 stars · Updated 2026-11

  14. RoleBasedGroup (RBG) Tool

    Kubernetes workload API that groups router, prefill, and decode roles into one unit with coordinated scaling, rollouts, and service discovery.

    Kubernetes-Native Inference · Apache-2.0 · 317 stars · Updated 2026-11

  15. Kthena Tool

    Volcano subproject with CRDs for model lifecycle and a model-aware router, covering prefill/decode disaggregation and topology-aware gang scheduling.

    Kubernetes-Native Inference · Apache-2.0 · 511 stars · Updated 2026-11

  16. KubeAI Tool

    Lightweight operator that runs vLLM, Ollama, FasterWhisper, and Infinity servers with scale from zero, prefix-hash load balancing, and model caching.

    Kubernetes-Native Inference · Apache-2.0 · 1.3k stars · Updated 2026-11

  17. Ray Serve Library

    Python serving library on Ray for composing multi-model pipelines, with per-deployment autoscaling, request batching, and fractional GPUs.

    Serving Frameworks & Platforms · Apache-2.0 · 44k stars · Updated 2026-11

  18. Dynamo-Triton (Triton Inference Server) Tool

    Multi-framework model server with dynamic batching, model ensembles, and TensorRT, PyTorch, ONNX, OpenVINO, and Python backends.

    Serving Frameworks & Platforms · BSD-3-Clause · 11k stars · Updated 2026-11

  19. BentoML Library

    Python framework for turning models into versioned API services, with adaptive batching, task queues, multi-model pipelines, and container builds.

    Serving Frameworks & Platforms · Apache-2.0 · 8.9k stars · Updated 2026-11

  20. GPUStack Tool

    GPU cluster manager that schedules vLLM, SGLang, or TensorRT-LLM deployments across on-prem, Kubernetes, and cloud GPUs behind a model-as-a-service UI.

    Serving Frameworks & Platforms · Apache-2.0 · 6.1k stars · Updated 2026-11

  21. Xinference Tool

    Self-hosted platform serving LLM, embedding, image, and speech models behind an OpenAI-compatible API, with vLLM, SGLang, and llama.cpp backends.

    Serving Frameworks & Platforms · Apache-2.0 · 9.7k stars · Updated 2026-11

  22. LitServe Library

    Minimal FastAPI-based framework for writing custom inference servers in Python, with batching, streaming, and multi-worker GPU scaling.

    Serving Frameworks & Platforms · Apache-2.0 · 4k stars · Updated 2026-11

  23. Truss Tool

    CLI and packaging convention for Python model servers that deploy to Baseten or your own containers, with presets for vLLM, SGLang, and TensorRT-LLM.

    Serving Frameworks & Platforms · MIT · 1.2k stars · Updated 2026-11

  24. Cog Tool

    Packages a model and its CUDA and Python environment into a standard container with a typed HTTP prediction API, as used by Replicate.

    Serving Frameworks & Platforms · Apache-2.0 · 9.5k stars · Updated 2026-11

  25. OpenVINO Model Server Tool

    C++ model server for OpenVINO with OpenAI-compatible endpoints for LLMs and KServe APIs for classic models, on Intel CPUs, GPUs, and NPUs.

    Serving Frameworks & Platforms · Apache-2.0 · 965 stars · Updated 2026-11

  26. SkyPilot Tool

    Runs and scales AI jobs and inference endpoints across clouds, Kubernetes, and on-prem clusters, placing work wherever GPUs are available and cheaper.

    Autoscaling, Scheduling & Multi-Cloud · Apache-2.0 · 11k stars · Updated 2026-11

  27. dstack Tool

    Orchestration layer for GPU clouds, Kubernetes, and bare metal that provisions fleets and runs autoscaled inference services alongside training.

    Autoscaling, Scheduling & Multi-Cloud · MPL-2.0 · 2.3k stars · Updated 2026-11

  28. llm-d Autoscaling Tool

    Reviewed KEDA scaling blueprints for prefill and decode roles, plus a test bed for tuning triggers on queue depth and KV-cache utilization.

    Autoscaling, Scheduling & Multi-Cloud · Apache-2.0 · 61 stars · Updated 2026-11

  29. GGUF Spec

    Single-file binary format for ggml models that stores quantized tensors with tokenizer and architecture metadata; used by llama.cpp and Ollama.

    Model Packaging, Loading & Cold Starts · MIT · 16k stars · Updated 2026-11

  30. Model Streamer Library

    Streams safetensors tensors from local disk or object storage into GPU memory with concurrent reads; vLLM exposes it as a load format.

    Model Packaging, Loading & Cold Starts · Apache-2.0 · 414 stars · Updated 2026-11

  31. ModelExpress Tool

    Finds the quickest source of model weights, including GPU-to-GPU copies from running replicas over NIXL, and shares JIT kernel caches between replicas.

    Model Packaging, Loading & Cold Starts · Apache-2.0 · 205 stars · Updated 2026-11

  32. fastsafetensors Library

    Safetensors loader that reads files in parallel, optionally via GPUDirect Storage, and shards tensors across GPUs; a load format in vLLM and SGLang.

    Model Packaging, Loading & Cold Starts · Apache-2.0 · 185 stars · Updated 2026-11

  33. ServerlessLLM Tool

    Multi-model serving system with a loading-optimized checkpoint format, GPU multiplexing, and locality-aware scheduling to cut cold starts.

    Model Packaging, Loading & Cold Starts · OSDI 2024 · Apache-2.0 · 720 stars · Updated 2026-09

  34. Tensorizer Library

    Serializes PyTorch modules for streaming loads from HTTP, S3, or local disk straight into GPU memory, with optional tensor encryption.

    Model Packaging, Loading & Cold Starts · MIT · 329 stars · Updated 2026-11

  35. vLLM Sleep Mode Docs

    Frees GPU memory on an idle vLLM engine by offloading or discarding weights and the KV cache, then wakes it without restarting the server process.

    Model Packaging, Loading & Cold Starts

IV Gateways & Routing 19

  1. LiteLLM Tool

    Python SDK and proxy that translate many provider APIs into the OpenAI format, with virtual keys, budgets, load balancing, and request logging.

    AI Gateways · 64k stars · Updated 2026-11

  2. Agent Router Tool

    Envoy Gateway-based control plane that puts one OpenAI-compatible API over hosted models, self-hosted inference, and MCP servers; formerly Envoy AI Gateway.

    AI Gateways · Apache-2.0 · 2.4k stars · Updated 2026-11

  3. Bifrost Tool

    Go gateway with one OpenAI-compatible API over many providers, adding failover, semantic caching, virtual keys with budgets, and MCP tool access.

    AI Gateways · Apache-2.0 · 10k stars · Updated 2026-11

  4. Kong AI Gateway Tool

    AI plugins for the Kong API gateway that proxy and normalize LLM provider APIs, with prompt guards, templates, and request and response transforms.

    AI Gateways · freemium · Apache-2.0 · 44k stars · Updated 2026-11

  5. Higress Tool

    Envoy and Istio-based API gateway, originally from Alibaba, with Wasm plugins for LLM proxying, token rate limits, AI caching, and MCP server hosting.

    AI Gateways · Apache-2.0 · 9.8k stars · Updated 2026-11

  6. Plano Tool

    Envoy-based data plane for agent apps that adds preference-aligned model routing, agent orchestration, guardrail filter chains, and tracing; formerly archgw.

    AI Gateways · Apache-2.0 · 7.1k stars · Updated 2026-10

  7. Portkey AI Gateway Tool

    TypeScript gateway that routes to many LLM providers with retries, fallbacks, load balancing, and pluggable guardrails, runnable on edge or Node.

    AI Gateways · maintenance · MIT · 13k stars · Updated 2026-11

  8. agentgateway Tool

    Rust proxy for agent traffic that speaks MCP and A2A as well as LLM APIs, adding authentication, policy, and observability across tools and agents.

    Agent & MCP Gateways · Apache-2.0 · 6.4k stars · Updated 2026-11

  9. vLLM Semantic Router Tool

    Policy-driven decision layer that classifies each request and selects or combines models across local and cloud backends by quality, latency, and cost.

    Model Routing & Cascades · Apache-2.0 · 6.5k stars · Updated 2026-11

  10. llm-d Router Tool

    Endpoint picker for Gateway API inference pools that scores replicas by prefix-cache locality, load, and priority; formerly the llm-d inference scheduler.

    Model Routing & Cascades · Apache-2.0 · 478 stars · Updated 2026-11

  11. vLLM Router Tool

    Rust request router for large vLLM fleets with cache-aware and consistent-hash load balancing, prefill/decode routing, and Kubernetes discovery.

    Model Routing & Cascades · Apache-2.0 · 530 stars · Updated 2026-11

  12. SGLang Model Gateway Tool

    Rust gateway for SGLang worker fleets with cache-aware load balancing, prefill/decode routing, gRPC mode with gateway-side tokenization, and MCP tools.

    Model Routing & Cascades · Apache-2.0 · 39k stars · Updated 2026-11

  13. NeMo Switchyard Library

    Rust routing library, embeddable in gateways or agent harnesses, that picks a model per request or agent step to balance task success against cost.

    Model Routing & Cascades · Apache-2.0 · 3.7k stars · Updated 2026-11

  14. LLMRouter Library

    Research library that implements and benchmarks learned model-routing methods, from single-turn classifiers to multi-turn, multimodal, and agentic routers.

    Model Routing & Cascades · MIT · 3.1k stars · Updated 2026-11

  15. OpenAI API OpenAPI Spec Spec

    Machine-readable OpenAPI description of the OpenAI API, the de facto contract that most engines and gateways implement.

    API Specs & Protocols · MIT · 2.6k stars · Updated 2026-11

  16. Model Context Protocol Specification Spec

    JSON-RPC protocol and schema for connecting models and agents to external tools, resources, and prompts, published as dated versions.

    API Specs & Protocols · 9.8k stars · Updated 2026-11

  17. Open Inference Protocol Spec

    REST and gRPC inference protocol, also called KServe v2, implemented by KServe, Triton, MLServer, and OpenVINO Model Server.

    API Specs & Protocols · Apache-2.0 · 79 stars · Updated 2025-05

  18. Open Responses Spec

    Provider-neutral spec derived from the OpenAI Responses API that defines items, semantic streaming events, and tool-call loops, with acceptance tests.

    API Specs & Protocols · Apache-2.0 · 1.2k stars · Updated 2026-10

  19. OpenAI Harmony Spec

    Prompt and response format used by gpt-oss, with separate analysis, commentary, and final channels, plus Rust and Python renderers.

    API Specs & Protocols · Apache-2.0 · 4.5k stars · Updated 2026-04

V Model Compression 21

  1. LLM Compressor Library

    Applies GPTQ, AWQ, SmoothQuant, and FP8 or NVFP4 recipes to Hugging Face models and saves compressed-tensors checkpoints that vLLM loads directly.

    Quantization Toolkits · Apache-2.0 · 4k stars · Updated 2026-11

  2. NVIDIA Model Optimizer Library

    Formerly TensorRT Model Optimizer; FP8, NVFP4, and INT4 quantization plus pruning and distillation, exporting checkpoints to TensorRT-LLM, vLLM, and SGLang.

    Quantization Toolkits · Apache-2.0 · 5.7k stars · Updated 2026-11

  3. bitsandbytes Library

    Reference code for LLM.int8() outlier-aware 8-bit matmul and the NF4 4-bit format from QLoRA, applied at load time in Transformers without calibration.

    Quantization Toolkits · MIT · 8.5k stars · Updated 2026-11

  4. GPTQModel Library

    Toolkit centered on GPTQ that also produces AWQ, GGUF, FP8, and EXL3 checkpoints, with kernels for NVIDIA, AMD, Intel, Ascend, and Apple hardware.

    Quantization Toolkits · Apache-2.0 · 1.3k stars · Updated 2026-11

  5. AutoRound Library

    Intel's sign-gradient rounding method for low-bit post-training quantization, exporting GPTQ and AWQ layouts, GGUF, MXFP4, and NVFP4 checkpoints.

    Quantization Toolkits · Apache-2.0 · 1.7k stars · Updated 2026-11

  6. AMD Quark Library

    AMD's quantization and pruning toolkit for PyTorch and ONNX models, with OCP FP8 and MX data types and FP8 KV-cache quantization.

    Quantization Toolkits · MIT · 190 stars · Updated 2026-11

  7. TorchAO Library

    PyTorch-native int4, int8, float8, and MX quantization and QAT used by Transformers and Diffusers; new feature work is moving into PyTorch core.

    Quantization Toolkits · maintenance · BSD-3-Clause · 3k stars · Updated 2026-11

  8. HQQ Library

    Calibration-free half-quadratic weight quantization from 8 down to 1 bit, with a linear dequantization step that works with torch.compile and fused kernels.

    Quantization Toolkits · maintenance · Apache-2.0 · 964 stars · Updated 2026-11

  9. GPTQ Paper

    One-shot 3- and 4-bit weight quantization that uses approximate second-order information to correct error layer by layer, with no retraining.

    Quantization Toolkits · ICLR 2023 · Code

  10. SmoothQuant Paper

    Moves activation outliers into the weights with a per-channel scale so both can be quantized to INT8 (W8A8) without retraining.

    Quantization Toolkits · ICML 2023 · Code

  11. AWQ Paper

    Rescales the weight channels that matter most, chosen from activation magnitudes, before 4-bit weight-only quantization; MLSys 2024 Best Paper.

    Quantization Toolkits · MLSys 2024 · Code

  12. QuaRot Paper

    Hadamard rotations that remove outliers without changing model outputs, so weights, activations, and KV cache can all run in 4 bits.

    Quantization Toolkits · NeurIPS 2024 · Code

  13. SpinQuant Paper

    Learns the rotation matrices applied before quantization instead of fixing them, improving W4A4KV4 accuracy over random Hadamard rotations.

    Quantization Toolkits · ICLR 2025 · Code

  14. QServe Paper

    W4A8KV4 quantization co-designed with GPU kernels so that 4-bit weights and KV cache speed up large-batch serving, not only single-user decode.

    Quantization Toolkits · MLSys 2025 · Code

  15. Introducing NVFP4 for Efficient and Accurate Low-Precision Inference Article

    Defines NVFP4, Blackwell's E2M1 format with an FP8 E4M3 scale per 16 values plus a per-tensor FP32 scale, and contrasts it with MXFP4.

    Number Formats & Specs

  16. GGUF Quantization Types Docs

    Reference table of llama.cpp block formats, from legacy Q4_0 to k-quants, i-quants, ternary TQ, and MXFP4, with block layout and bits per weight.

    Number Formats & Specs

  17. BitNet b1.58 and bitnet.cpp Tool

    Ternary (1.58-bit) weights trained from scratch, with bitnet.cpp lookup-table kernels for running such models on CPUs and GPUs.

    Number Formats & Specs · MIT · 42k stars · Updated 2026-07

  18. SparseGPT Paper

    One-shot pruning of GPT-scale models to 50% unstructured or 2:4 sparsity by solving a layer-wise reconstruction problem, without retraining.

    Pruning, Sparsity & Distillation · ICML 2023 · Code

  19. Wanda Paper

    Prunes by weight magnitude times input activation norm, with no weight updates or second-order solves, for both unstructured and N:M sparsity.

    Pruning, Sparsity & Distillation · ICLR 2024 · Code

  20. Minitron Paper

    NVIDIA recipe that prunes depth, width, attention heads, and MLP channels, then recovers accuracy with distillation; now part of Model Optimizer.

    Pruning, Sparsity & Distillation · NeurIPS 2024 · Code

  21. Deja Vu Paper

    Predicts which attention heads and MLP neurons each input needs and skips the rest at decode time, the contextual-sparsity idea behind later engines.

    Pruning, Sparsity & Distillation · ICML 2023 · Code

VI Decoding Acceleration 22

  1. Fast Inference from Transformers via Speculative Decoding Paper

    Introduced draft-then-verify decoding with an acceptance rule that leaves the target model's output distribution unchanged.

    Speculative Decoding · ICML 2023

  2. EAGLE-3 Paper

    Predicts tokens instead of features and fuses low-, mid-, and high-layer target features via training-time test, so drafters keep improving with more data.

    Speculative Decoding · NeurIPS 2025 · Code

  3. Accelerating Large Language Model Decoding with Speculative Sampling Paper

    Concurrent DeepMind derivation of draft-and-verify decoding with a modified rejection sampler, evaluated on Chinchilla 70B.

    Speculative Decoding · arXiv 2023

  4. SpecInfer Paper

    Organizes draft candidates into a token tree and verifies all branches in one pass with tree attention, the basis of tree-based speculation.

    Speculative Decoding · ASPLOS 2024 · Code

  5. Medusa Paper

    Adds extra decoding heads to the target model that propose several future tokens, checked together with tree attention, with no separate drafter.

    Speculative Decoding · ICML 2024 · Code

  6. EAGLE Paper

    Drafts at the feature level, with a light head that extrapolates the target's second-to-top-layer hidden states given the sampled token.

    Speculative Decoding · ICML 2024 · Code

  7. Better & Faster Large Language Models via Multi-token Prediction Paper

    Trains several output heads on a shared trunk to predict future tokens at once; the extra heads double as self-speculative drafters.

    Speculative Decoding · ICML 2024

  8. SuffixDecoding Paper

    Model-free drafting from suffix trees over prompts and earlier outputs, aimed at repetitive agent workloads; vLLM's suffix method calls this code.

    Speculative Decoding · NeurIPS 2025 · Code

  9. P-EAGLE Paper

    Turns EAGLE into a parallel drafter that proposes several tokens per forward pass, with a training scheme that scales to long reasoning sequences.

    Speculative Decoding · NeurIPS 2026

  10. DFlash Paper

    Uses a small block-diffusion model, conditioned on target-model features, to draft a whole block of tokens in one pass; DFlash 2 followed.

    Speculative Decoding · ICML 2026 · Code

  11. Spec-Bench Benchmark

    Shared harness that compares speculative decoding methods on the same model and GPU across chat, translation, summarization, QA, math, and RAG.

    Speculative Decoding · maintenance · Apache-2.0 · 416 stars · Updated 2025-04

  12. SpecForge Library

    SGLang team's framework for training EAGLE-3, P-EAGLE, and DFlash drafters online or offline, producing checkpoints that SGLang serves directly.

    Drafter Training · MIT · 1.3k stars · Updated 2026-11

  13. Speculators Library

    Generates target hidden states with vLLM, trains EAGLE-3, P-EAGLE, DFlash, and DSpark drafters, and stores them in a format vLLM loads as-is.

    Drafter Training · Apache-2.0 · 976 stars · Updated 2026-11

  14. TorchSpec Library

    Disaggregated drafter training that streams target hidden states from inference engines to trainers through Mooncake instead of writing them to disk.

    Drafter Training · MIT · 268 stars · Updated 2026-11

  15. EAGLE (official code) Library

    Authors' training and inference code with released draft weights for EAGLE-1, EAGLE-2 dynamic draft trees, and EAGLE-3.

    Drafter Training · Apache-2.0 · 2.6k stars · Updated 2026-02

  16. XGrammar Library

    Grammar engine that prechecks context-independent tokens to build masks cheaply; XGrammar-2 adds tag-triggered structures for tool calls.

    Structured Outputs & Constrained Decoding · Apache-2.0 · 2k stars · Updated 2026-11

  17. llguidance Library

    Rust engine pairing a regex-derivative lexer with an Earley parser to compute token masks per step; a backend in vLLM, SGLang, and llama.cpp.

    Structured Outputs & Constrained Decoding · MIT · 919 stars · Updated 2026-11

  18. Outlines Library

    Python library that constrains generation to JSON Schema, regex, or grammars across local models and hosted APIs.

    Structured Outputs & Constrained Decoding · Apache-2.0 · 16k stars · Updated 2026-09

  19. Efficient Guided Generation for Large Language Models Paper

    Compiles regexes and grammars into finite-state machines and precomputes an index over the vocabulary so each masking step is cheap.

    Structured Outputs & Constrained Decoding · arXiv 2023 · Code

  20. Guidance Library

    Python programming model that interleaves prompts, generation, and grammar constraints in one program, with llguidance as its engine.

    Structured Outputs & Constrained Decoding · MIT · 22k stars · Updated 2026-05

  21. LM Format Enforcer Library

    Enforces JSON Schema or regex output by walking a character-level parser alongside the tokenizer prefix tree; also a vLLM backend.

    Structured Outputs & Constrained Decoding · MIT · 2k stars · Updated 2026-04

  22. JSONSchemaBench Benchmark

    Real-world JSON Schemas for comparing constrained-decoding engines on coverage, speed, and output quality, plus MaskBench for mask latency.

    Structured Outputs & Constrained Decoding · 104 stars · Updated 2026-09

VII KV Cache & Attention 32

  1. PagedAttention Paper

    Stores the KV cache in fixed-size blocks mapped through a block table, nearly removing fragmentation and allowing copy-on-write sharing between sequences.

    KV Cache Management & Offloading · SOSP 2023 · Code

  2. LMCache Library

    KV cache layer that stores, moves, and reuses KV data across GPU, CPU, disk, and remote tiers, attached to vLLM and SGLang through connectors.

    KV Cache Management & Offloading · Apache-2.0 · 12k stars · Updated 2026-11

  3. Mooncake Library

    Moonshot AI's KV-centric infrastructure, an RDMA transfer engine plus a distributed KV store, used as a backend by vLLM, SGLang, and TensorRT-LLM.

    KV Cache Management & Offloading · Apache-2.0 · 7.1k stars · Updated 2026-11

  4. LMCache: An Efficient KV Cache Layer for Enterprise-Scale LLM Inference Paper

    Design paper behind LMCache, covering the engine connector interface, batched KV movement between tiers, and support for both prefix reuse and P/D transfer.

    KV Cache Management & Offloading · 2025 · Code

  5. vLLM KV Offloading Connector Docs

    Configures vLLM's built-in connector that copies finished KV blocks to pinned CPU memory and optional secondary tiers with asynchronous DMA.

    KV Cache Management & Offloading

  6. SGLang HiCache Docs

    Design of SGLang's hierarchical cache, which extends the radix-tree prefix cache from GPU memory to host memory and storage backends like Mooncake and 3FS.

    KV Cache Management & Offloading

  7. kvcached Library

    Elastic KV cache allocator built on GPU virtual memory, so several vLLM or SGLang models can share one GPU and resize their caches with load.

    KV Cache Management & Offloading · Apache-2.0 · 2.1k stars · Updated 2026-11

  8. FlexKV Library

    Tencent Cloud's tiered KV cache manager for CPU, SSD, and remote storage, integrated with vLLM, SGLang, TensorRT-LLM, and Dynamo.

    KV Cache Management & Offloading · 390 stars · Updated 2026-11

  9. KVPress Library

    Library of pluggable KV cache pruning methods, called presses, for Hugging Face transformers, with benchmarks to compare them on long-context tasks.

    KV Compression & Eviction · Apache-2.0 · 1.3k stars · Updated 2026-11

  10. KIVI Paper

    Tuning-free 2-bit KV quantization that quantizes keys per channel and values per token, keeping a small full-precision window of recent tokens.

    KV Compression & Eviction · ICML 2024 · Code

  11. StreamingLLM (Attention Sinks) Paper

    Shows that the first tokens act as attention sinks; keeping them plus a sliding window lets models stream past their training length without retraining.

    KV Compression & Eviction · ICLR 2024 · Code

  12. H2O (Heavy-Hitter Oracle) Paper

    Evicts KV entries except recent tokens and heavy hitters, the tokens with the largest accumulated attention scores, to cap cache size during generation.

    KV Compression & Eviction · NeurIPS 2023 · Code

  13. SnapKV Paper

    Chooses which prompt positions each attention head keeps by looking at attention from a window at the end of the prompt, compressing the cache before decoding.

    KV Compression & Eviction · NeurIPS 2024 · Code

  14. KVQuant Paper

    Sub-4-bit KV quantization using per-channel keys taken before RoPE, non-uniform datatypes, and a sparse side matrix for outliers.

    KV Compression & Eviction · NeurIPS 2024 · Code

  15. TurboQuant Paper

    Data-oblivious online vector quantizer, a random rotation plus scalar quantizers and a 1-bit residual sketch, applied to low-bit KV caches.

    KV Compression & Eviction · ICLR 2026

  16. CacheGen Paper

    Encodes KV caches into compact bitstreams and adapts their quality to available bandwidth, cutting the time to load long contexts over the network.

    KV Compression & Eviction · SIGCOMM 2024 · Code

  17. vLLM Quantized KV Cache Docs

    Explains FP8 KV cache in vLLM, including per-tensor and per-head scales and how to calibrate them with llm-compressor.

    KV Compression & Eviction

  18. SGLang: Efficient Execution of Structured Language Model Programs Paper

    Introduces RadixAttention, which keeps KV caches in a radix tree for automatic prefix reuse across requests, with LRU eviction and cache-aware scheduling.

    Prefix & Prompt Caching · NeurIPS 2024 · Code

  19. vLLM Automatic Prefix Caching Docs

    Design notes on vLLM's hash-based prefix cache, where each block's key chains its own tokens with its prefix and free blocks are evicted in LRU order.

    Prefix & Prompt Caching

  20. CacheBlend Paper

    Reuses precomputed KV caches for non-prefix chunks such as RAG documents, recomputing a small set of tokens to restore cross-chunk attention.

    Prefix & Prompt Caching · EuroSys 2025 · Code

  21. Prompt Cache Paper

    Precomputes attention states for prompt modules declared in a schema and reuses them across prompts, even when the modules are not a shared prefix.

    Prefix & Prompt Caching · MLSys 2024 · Code

  22. Marconi Paper

    Prefix caching for hybrid attention and state-space models, with admission and eviction policies that weigh recurrent-state reuse against memory cost.

    Prefix & Prompt Caching · MLSys 2025 · Code

  23. Grouped-Query Attention (GQA) Paper

    Lets groups of query heads share key-value heads, sitting between multi-head and multi-query attention, and uptrains existing checkpoints to use it.

    Sparse, Linear & Hybrid Attention · EMNLP 2023

  24. DeepSeek-V2 (Multi-head Latent Attention) Paper

    Introduced multi-head latent attention, which caches one compressed latent vector per token instead of separate keys and values for every head.

    Sparse, Linear & Hybrid Attention · 2024

  25. flash-linear-attention Library

    Triton kernels and layers for linear attention, state-space, and sparse attention variants such as Gated DeltaNet, KDA, and Mamba2.

    Sparse, Linear & Hybrid Attention · MIT · 6.1k stars · Updated 2026-11

  26. Multi-Query Attention (MQA) Paper

    Shares a single key and value head across all query heads, shrinking the KV cache and the memory traffic of incremental decoding.

    Sparse, Linear & Hybrid Attention · 2019

  27. Native Sparse Attention (NSA) Paper

    Trainable sparse attention with compressed, selected, and sliding-window branches whose block layout is designed for efficient GPU kernels.

    Sparse, Linear & Hybrid Attention · ACL 2025

  28. DeepSeek-V3.2 (DeepSeek Sparse Attention) Paper

    Adds DeepSeek Sparse Attention on top of MLA, where a cheap indexer ranks past tokens and attention runs only over the selected subset.

    Sparse, Linear & Hybrid Attention · 2025

  29. DeepSeek-V4 (Compressed Sparse Attention) Paper

    Preview report on interleaving Compressed Sparse Attention and Heavily Compressed Attention layers to make million-token contexts affordable to serve.

    Sparse, Linear & Hybrid Attention · 2026

  30. Gated DeltaNet Paper

    Linear-attention layer combining Mamba2-style gating with the delta rule, used for the linear layers of hybrid models from Qwen3-Next onward.

    Sparse, Linear & Hybrid Attention · ICLR 2025 · Code

  31. Kimi Linear Paper

    Hybrid architecture that interleaves Kimi Delta Attention, a gated linear attention, with MLA layers to cut KV cache size for long contexts.

    Sparse, Linear & Hybrid Attention · 2025 · Code

  32. Jenga Paper

    Two-level allocator, built on vLLM, that sizes pages by the LCM of layer embedding sizes and lets each layer type set its own caching and eviction.

    Sparse, Linear & Hybrid Attention · SOSP 2025

VIII Scheduling & Parallelism 31

  1. Orca Paper

    Schedules one model iteration at a time, so finished requests leave and new ones join the batch every step; the origin of continuous batching.

    Batching & Scheduling · OSDI 2022

  2. Sarathi-Serve Paper

    Splits prompts into chunks and mixes them with ongoing decodes under a fixed token budget, so admitting new requests does not stall running ones.

    Batching & Scheduling · OSDI 2024 · Code

  3. Fairness in Serving Large Language Models (VTC) Paper

    Defines fairness over weighted input and output token counts and enforces it with a work-conserving Virtual Token Counter scheduler.

    Batching & Scheduling · OSDI 2024 · Code

  4. DeepSpeed-FastGen Paper

    Introduced Dynamic SplitFuse, which builds each forward pass from prompt chunks and decode tokens to keep the batch at a steady token count.

    Batching & Scheduling · 2024 · Code

  5. NanoFlow Paper

    Splits batches into nano-batches and overlaps compute-, memory-, and network-bound operations inside one GPU to raise serving throughput.

    Batching & Scheduling · OSDI 2025 · Code

  6. vLLM Optimization and Tuning Docs

    Covers vLLM preemption, chunked-prefill token budgets, and parallelism choices that trade throughput against latency.

    Batching & Scheduling

  7. DistServe Paper

    Removes prefill-decode interference by giving each phase its own GPUs, then tunes resources and parallelism per phase against TTFT and TPOT targets.

    Prefill–Decode Disaggregation · OSDI 2024 · Code

  8. Splitwise Paper

    Runs prompt and token-generation phases on separate machine pools, possibly of different GPU generations, and ships KV state between them.

    Prefill–Decode Disaggregation · ISCA 2024

  9. NIXL Library

    Transfer library with one API over GPU, CPU, file, and object memory, used by engines to move KV blocks through UCX, libfabric, GDS, and other plugins.

    Prefill–Decode Disaggregation · Apache-2.0 · 1.4k stars · Updated 2026-11

  10. Mooncake: A KVCache-centric Disaggregated Architecture for LLM Serving Paper

    Kimi's serving design, with separate prefill and decode clusters around a KV pool in spare CPU memory and SSD, plus prediction-based rejection under overload.

    Prefill–Decode Disaggregation · FAST 2025 · Code

  11. vLLM Disaggregated Prefilling Docs

    Experimental vLLM mode that runs prefill and decode in separate instances linked by KV connectors such as NIXL, LMCache, and Mooncake.

    Prefill–Decode Disaggregation

  12. SGLang PD Disaggregation Docs

    Guide to running SGLang prefill and decode servers separately, with Mooncake, NIXL, or Ascend transfer backends and a router in front.

    Prefill–Decode Disaggregation

  13. DeepSeek-V3 Technical Report Paper

    Covers MLA, auxiliary-loss-free expert balancing, and multi-token prediction, plus prefill and decode deployment with expert parallelism and redundant experts.

    Parallelism & MoE Serving · 2024 · Code

  14. Megatron-LM Paper

    Splits attention heads and MLP weights across GPUs so each transformer layer needs only two all-reduces; the tensor parallelism engines still use.

    Parallelism & MoE Serving · 2019 · Code

  15. llm-d Wide Expert Parallelism Guide Docs

    Deploys a large MoE across nodes with DP/EP, prefill/decode disaggregation, and a router that targets individual data-parallel ranks.

    Parallelism & MoE Serving

  16. GShard Paper

    Scaled sparsely gated MoE transformers across thousands of TPU cores using top-2 routing, expert capacity limits, and XLA sharding annotations.

    Parallelism & MoE Serving · ICLR 2021

  17. MegaScale-Infer Paper

    Puts attention and expert layers on separate GPU pools and pipelines micro-batches between them over a custom M2N communication library.

    Parallelism & MoE Serving · SIGCOMM 2025

  18. Step-3 (Attention-FFN Disaggregation) Paper

    Model-system co-design report pairing a factorized attention design with attention-FFN disaggregation to lower decoding cost.

    Parallelism & MoE Serving · 2025 · Code

  19. vLLM AFD Plugin Library

    External vLLM plugin that runs attention and FFN of DeepSeek-family MoE models as separately scaled services on NVIDIA GPUs and Ascend NPUs.

    Parallelism & MoE Serving · experimental · Apache-2.0 · 254 stars · Updated 2026-11

  20. EPLB Library

    DeepSeek's reference algorithm for replicating heavily loaded experts and packing replicas across GPUs and nodes, with hierarchical and global policies.

    Parallelism & MoE Serving · maintenance · MIT · 1.5k stars · Updated 2025-03

  21. vLLM Expert Parallel Deployment Docs

    How to serve MoE models in vLLM with expert parallelism over data-parallel attention, including DeepEP backends and EPLB settings.

    Parallelism & MoE Serving

  22. vLLM Parallelism and Scaling Docs

    Decision guide for tensor, pipeline, and data parallelism in vLLM on one node or many, including Ray-based multi-node setup.

    Parallelism & MoE Serving

  23. Ring Attention Paper

    Splits a long sequence across devices, each computing blockwise attention while passing key-value blocks to its neighbor and hiding the transfer behind compute.

    Long-Context Inference · ICLR 2024 · Code

  24. vLLM Context Parallel Deployment Docs

    How vLLM spreads long-context prefill and decode across GPUs, covering partial-query and partial-KV strategies and decode context parallelism.

    Long-Context Inference

  25. Context Parallelism for Scalable Million-Token Inference Paper

    Meta's pass-KV and pass-Q ring-attention variants for inference, scaling long-context prefill across many nodes over RDMA or TCP.

    Long-Context Inference · MLSys 2025

  26. MInference Library

    Speeds up long-context prefill by assigning each head a sparse attention pattern offline and building its index online; the kernels now live in vLLM and SGLang.

    Long-Context Inference · maintenance · MIT · 1.2k stars · Updated 2026-11

  27. Star Attention Paper

    Two-phase long-sequence inference where hosts encode context blocks with local attention, then query and output tokens attend globally across hosts.

    Long-Context Inference · ICML 2025 · Code

  28. S-LoRA Paper

    Serves thousands of adapters by keeping them in host memory, paging active ones into a GPU pool shared with the KV cache, and batching them with custom kernels.

    Multi-LoRA & Multi-Tenant Serving · MLSys 2024

  29. vLLM LoRA Adapters Docs

    Per-request LoRA serving in vLLM, with multi-adapter batches, runtime loading through API endpoints, and resolver plugins.

    Multi-LoRA & Multi-Tenant Serving

  30. Punica Paper

    Introduced the SGMV kernel, which batches requests for different LoRA adapters of one base model into a single GPU pass.

    Multi-LoRA & Multi-Tenant Serving · MLSys 2024

  31. SGLang LoRA Serving Docs

    Covers multi-adapter batches, dynamic adapter loading, GPU pinning, and kernel backend choice for LoRA serving in SGLang.

    Multi-LoRA & Multi-Tenant Serving

IX Kernels & GPU Programming 17

  1. FlashAttention Library

    IO-aware exact attention kernels; FA3 targets Hopper and FA4, written in CuTe DSL, targets Blackwell.

    Kernel Libraries · BSD-3-Clause · 25k stars · Updated 2026-11

  2. FlashInfer Library

    Attention, sampling, MoE, and GEMM kernels built for LLM serving, with JIT-compiled variants used as backends by vLLM and SGLang.

    Kernel Libraries · Apache-2.0 · 7k stars · Updated 2026-11

  3. DeepGEMM Library

    DeepSeek's JIT-compiled tensor-core kernels for FP8, FP4, and BF16 GEMMs, grouped MoE GEMMs, and MoE fused with communication.

    Kernel Libraries · MIT · 9.2k stars · Updated 2026-11

  4. FlashMLA Library

    DeepSeek's sparse and dense MLA attention kernels with FP8 or FP4 KV cache, for Blackwell GPUs and Ascend NPUs (Hopper in older releases).

    Kernel Libraries · MIT · 13k stars · Updated 2026-10

  5. Transformer Engine Library

    Transformer layers and scaling recipes for FP8, MXFP8, and NVFP4 execution on Hopper and Blackwell, with PyTorch and JAX bindings.

    Kernel Libraries · Apache-2.0 · 3.6k stars · Updated 2026-11

  6. AITER Library

    AMD's operator library for inference and training on ROCm, combining Triton, Composable Kernel, and hand-written assembly backends.

    Kernel Libraries · MIT · 621 stars · Updated 2026-11

  7. SageAttention Library

    Quantized attention kernels (INT8 QK, FP8 PV, FP4 on Blackwell) that replace FlashAttention without retraining, common in video diffusion.

    Kernel Libraries · Apache-2.0 · 4k stars · Updated 2026-01

  8. TileKernels Library

    DeepSeek's TileLang kernels for MoE routing, FP8 and FP4 quantization, Engram gating, and hyper-connections on NVIDIA GPUs and Ascend NPUs.

    Kernel Libraries · MIT · 2.1k stars · Updated 2026-10

  9. DeepSelect Library

    Top-k selection kernels for the lightning indexer in DeepSeek Sparse Attention and for token samplers, on CUDA and Ascend.

    Kernel Libraries · MIT · 550 stars · Updated 2026-09

  10. Marlin Library

    Reference FP16xINT4 mixed-precision GEMM kernel for small-batch decoding; maintained Marlin variants now ship inside vLLM.

    Kernel Libraries · maintenance · Apache-2.0 · 1.2k stars · Updated 2024-09

  11. Mirage Persistent Kernel (MPK) Tool

    Compiler and runtime that turns a multi-GPU LLM forward pass into one persistent megakernel with SM-level task scheduling.

    Megakernels & Superoptimizers · Apache-2.0 · 2.6k stars · Updated 2026-11

  12. Megakernels (Hazy Research) Tool

    ThunderKittens-based research megakernels that run a full Llama forward pass in a single launch to eliminate kernel-boundary stalls.

    Megakernels & Superoptimizers · experimental · MIT · 888 stars · Updated 2026-05

  13. TileRT Tool

    Tile-level runtime that splits LLM operators into fine-grained tasks and overlaps compute, I/O, and communication for low-latency decoding.

    Megakernels & Superoptimizers · experimental · MIT · 1.9k stars · Updated 2026-09

  14. DeepEP Library

    Expert-parallel dispatch and combine kernels with high-throughput NVLink/RDMA modes for prefill and low-latency modes for decoding.

    Collective Communication · MIT · 10k stars · Updated 2026-11

  15. pplx-garden Library

    Perplexity's RDMA transfer engine and point-to-point MoE dispatch/combine kernels for ConnectX and AWS EFA; supersedes pplx-kernels.

    Collective Communication · MIT · 959 stars · Updated 2026-09

  16. MoonEP Library

    Expert-parallel communication library that equalizes per-rank token load by planning redundant experts online from router outputs.

    Collective Communication · MIT · 1.2k stars · Updated 2026-10

  17. FlashInfer-Bench Benchmark

    Kernel tasks and workloads captured from LLM serving, with tooling to swap verified AI-written kernels into SGLang and vLLM.

    AI-Generated Kernels & Kernel Benchmarks · Apache-2.0 · 311 stars · Updated 2026-09

X Compilers & Graph Runtimes 2

  1. ONNX Runtime GenAI Library

    Generation loop on top of ONNX Runtime with KV cache handling, sampling, and a model builder that exports LLMs to optimized ONNX.

    Vendor Runtimes

  2. OpenVINO GenAI Library

    C++ and Python pipelines for LLMs, VLMs, Whisper, and image generation on OpenVINO, with continuous batching and speculative decoding.

    Vendor Runtimes · Apache-2.0 · 624 stars · Updated 2026-11

XII Benchmarking & Capacity Planning 26

  1. AIPerf Tool

    Load generator for OpenAI-compatible servers with concurrency, request-rate, and trace-replay modes plus goodput; replaces Triton's GenAI-Perf.

    Benchmark Tools · Apache-2.0 · 904 stars · Updated 2026-11

  2. GuideLLM Tool

    SLO-oriented load tester that sweeps synchronous, concurrent, and rate-based traffic and reports full TTFT and inter-token latency distributions.

    Benchmark Tools · Apache-2.0 · 1.8k stars · Updated 2026-11

  3. vLLM Benchmark CLI Docs

    Usage guide for vllm bench serve and throughput, which drive online or offline load from ShareGPT, BurstGPT, random, multimodal, or custom datasets.

    Benchmark Tools · Apache-2.0 · 97k stars · Updated 2026-11

  4. genai-bench Tool

    Token-level serving benchmark from the SGLang project with a live progress dashboard, traffic-scenario sweeps, and Excel and plot reports.

    Benchmark Tools · MIT · 336 stars · Updated 2026-10

  5. Inference Perf Tool

    Server-agnostic load generator from Kubernetes WG Serving with goodput, multi-stage rate sweeps, and Azure or OpenTelemetry trace replay.

    Benchmark Tools · Apache-2.0 · 281 stars · Updated 2026-11

  6. Inference Benchmarker Tool

    Rust load tester for OpenAI-compatible text-generation servers with open-loop constant-rate runs, automatic throughput sweeps, and workload presets.

    Benchmark Tools · Apache-2.0 · 178 stars · Updated 2026-09

  7. llama-bench Tool

    Bundled llama.cpp tool that measures prompt-processing and token-generation speed across models, batch sizes, threads, and GPU offload settings.

    Benchmark Tools · MIT · 136k stars · Updated 2026-11

  8. MLPerf Inference: Datacenter Benchmark

    Peer-reviewed industry benchmark with closed and open divisions, server and offline scenarios, and accuracy targets; latest round is v6.1 (September 2026).

    Suites & Leaderboards · Apache-2.0 · 1.7k stars · Updated 2026-11

  9. InferenceX Benchmark

    SemiAnalysis benchmark, formerly InferenceMAX, that reruns public serving recipes on NVIDIA, AMD, and TPU systems through open CI with published logs.

    Suites & Leaderboards · Apache-2.0 · 2.1k stars · Updated 2026-11

  10. MLPerf Endpoints Benchmark

    MLCommons benchmark of live API endpoints that reports throughput, per-user speed, concurrency, and P90 TTFT as curves, with rolling submissions.

    Suites & Leaderboards · Apache-2.0 · 27 stars · Updated 2026-11

  11. MLPerf Client Benchmark

    MLCommons app that times LLM, image generation, and agentic workloads on Windows, macOS, and Linux PCs with GPUs or NPUs; v2.0 shipped in August 2026.

    Suites & Leaderboards · Apache-2.0 · 96 stars · Updated 2026-11

  12. Artificial Analysis Benchmark

    Independent leaderboards comparing models and API providers on quality indexes, output speed, latency, and price, with published methodology.

    Suites & Leaderboards

  13. AA-AgentPerf Benchmark

    Hardware benchmark that plots total throughput against per-agent output speed on agentic coding workloads, normalized per accelerator, megawatt, and dollar.

    Suites & Leaderboards

  14. ML.ENERGY Leaderboard Benchmark

    Measured time and GPU energy per response for open LLM, multimodal, and diffusion models served on production engines, from the ML.ENERGY benchmark.

    Suites & Leaderboards · Apache-2.0 · 21 stars · Updated 2026-05

  15. Azure Public Dataset (LLM inference traces) Dataset

    Timestamped token-count traces from Azure LLM services behind the Splitwise and DynamoLLM papers, plus multimodal and Copilot coding-agent traces.

    Workload Traces & Datasets · CC-BY-4.0 · 1.2k stars · Updated 2026-11

  16. BurstGPT Dataset

    Months of GPT-3.5 and GPT-4 request logs from an Azure-hosted service with timestamps and token counts, used to model bursty arrivals.

    Workload Traces & Datasets · CC-BY-4.0 · 298 stars · Updated 2026-06

  17. ServeGen Dataset

    Characterizes Alibaba Cloud Model Studio traffic for language, multimodal, and reasoning models and generates synthetic workloads that keep its burstiness.

    Workload Traces & Datasets · Apache-2.0 · 197 stars · Updated 2026-08

  18. Mooncake Traces Dataset

    Kimi production request traces with input and output lengths and hashed prefix blocks for conversation and tool-use workloads, released with the FAST'25 paper.

    Workload Traces & Datasets · Apache-2.0 · 7.1k stars · Updated 2026-11

  19. Alibaba Cluster Trace Program Dataset

    Alibaba production traces spanning GPU cluster scheduling, generative AI serving telemetry, and a six-month LLM inference trace from its MaaS platform.

    Workload Traces & Datasets · 2.3k stars · Updated 2026-10

  20. LLM Engineer's Almanac Tool

    Benchmark-backed advisor that ranks vLLM, SGLang, and TensorRT-LLM setups by latency target and cost per token, with guides on benchmarking and quantization.

    Simulators & Capacity Planners

  21. AISimulate Tool

    Predicts serving latency and throughput from measured operator data and searches aggregated and disaggregated configs offline; succeeds AIConfigurator.

    Simulators & Capacity Planners · Apache-2.0 · 141 stars · Updated 2026-11

  22. AIConfigurator Tool

    NVIDIA configuration search for disaggregated Dynamo and llm-d deployments; accepts only fixes while its estimator moves to AISimulate.

    Simulators & Capacity Planners · maintenance · Superseded by AISimulate · Apache-2.0 · 470 stars · Updated 2026-10

  23. Vidur Tool

    Simulator that predicts LLM serving latency and throughput from profiled operators, for testing schedulers and parallelism plans without GPUs.

    Simulators & Capacity Planners · maintenance · MIT · 733 stars · Updated 2026-08

  24. LLM-Viewer Tool

    Roofline-based analyzer that estimates per-layer compute, memory traffic, and latency of LLM prefill and decode on a chosen accelerator.

    Simulators & Capacity Planners · maintenance · MIT · 693 stars · Updated 2024-09

  25. llm-optimizer Tool

    Sweeps SGLang and vLLM launch arguments under latency and throughput constraints and offers a theoretical estimate mode for quick what-if checks.

    Simulators & Capacity Planners · maintenance · Apache-2.0 · 205 stars · Updated 2026-10

  26. Etalon: Holistic Performance Evaluation Framework for LLM Inference Systems Paper

    Argues that TTFT and TBT averages hide streaming stalls and proposes fluidity-index, a deadline-based metric, with a harness for measuring it.

    Metrics & Methodology · arXiv 2024 · Code

XIII Observability & Operations 14

  1. vLLM Production Metrics Docs

    Reference for the Prometheus metrics vLLM serves, including TTFT and inter-token latency histograms, KV cache usage, prefix-cache hits, and deprecations.

    Monitoring & Telemetry · Apache-2.0 · 97k stars · Updated 2026-11

  2. SGLang Production Metrics Docs

    Lists the Prometheus metrics SGLang exposes with --enable-metrics, from TTFT and TPOT histograms to cache hit rate, plus a ready Grafana stack.

    Monitoring & Telemetry · Apache-2.0 · 39k stars · Updated 2026-11

  3. OpenTelemetry GenAI Semantic Conventions Spec

    Draft span, metric, and event names for GenAI clients, servers, agents, and MCP, including server-side time-to-first-token and time-per-output-token metrics.

    Monitoring & Telemetry · experimental · Apache-2.0 · 560 stars · Updated 2026-11

  4. batch_invariant_ops Library

    Triton matmul, log-softmax, and mean kernels swapped in through torch.Library so results do not depend on batch size; includes a deterministic vLLM example.

    Correctness & Determinism · MIT · 1.1k stars · Updated 2025-11

  5. vLLM Batch Invariance Docs

    Explains the beta VLLM_BATCH_INVARIANT mode, its supported NVIDIA, AMD, and Intel GPUs, validated models, and the tensor-parallel all-reduce caveat.

    Correctness & Determinism · experimental · Apache-2.0 · 97k stars · Updated 2026-11

  6. SGLang Deterministic Inference Docs

    Covers the --enable-deterministic-inference flag, which attention backends keep radix caching and CUDA graphs, and seeded sampling for repeatable rollouts.

    Correctness & Determinism · Apache-2.0 · 39k stars · Updated 2026-11

  7. TBIK: Deterministic Inference across Tensor Parallel Sizes Paper

    Tree-based invariant matmul and reduction kernels that give bit-identical results across tensor-parallel sizes, aligning vLLM rollouts with FSDP training.

    Correctness & Determinism · ICML 2026 · Code

  8. Understanding and Mitigating Numerical Sources of Nondeterminism in LLM Inference Paper

    Shows how GPU count, GPU type, and batch size change reasoning-model outputs under BF16 greedy decoding, and proposes computing in FP32 over 16-bit weights.

    Correctness & Determinism · NeurIPS 2025 · Code

  9. Kimi Vendor Verifier Tool

    Moonshot's test suite and public scoreboard checking that third-party Kimi API providers match reference accuracy, tool-call validity, and token accounting.

    Correctness & Determinism · MIT · 211 stars · Updated 2026-11

  10. AI Energy Score Benchmark

    Relative star ratings for model energy efficiency, based on H100 GPU energy per 1,000 queries across standard tasks, with an open Docker harness.

    Cost & Energy Efficiency · MIT · 44 stars · Updated 2025-12

  11. LLM Prices Tool

    Calculator and price table for hosted model APIs that totals input, cached-input, and output token costs for a given request mix.

    Cost & Energy Efficiency · 201 stars · Updated 2026-11

  12. Apple Private Cloud Compute Security Guide Docs

    Design of Apple's server-side inference service, covering stateless processing, hardware-rooted attestation, a transparency log, and a research VM.

    Security & Confidential Inference

  13. LiteLLM PyPI Supply-Chain Compromise Advisory (March 2026) Article

    Maintainer advisory on two trojaned PyPI releases that stole cloud, SSH, and Kubernetes credentials via a compromised CI scanner, with indicators and fixes.

    Security & Confidential Inference

  14. vLLM Security Guide Docs

    Hardening notes for vLLM deployments covering unauthenticated inter-node traffic, endpoints that --api-key leaves open, and trusted cache directories.

    Security & Confidential Inference · Apache-2.0 · 97k stars · Updated 2026-11

XIV Edge, Mobile & Browser 20

  1. ExecuTorch Library

    PyTorch's on-device runtime that exports models ahead of time and runs them on phones, wearables, and microcontrollers through pluggable hardware backends.

    Mobile & Embedded Runtimes · BSD-3-Clause · 5.2k stars · Updated 2026-11

  2. LiteRT-LM Library

    LLM orchestration layer on top of LiteRT for Android, iOS, web, desktop, and IoT, with GPU and NPU paths and multi-token prediction for Gemma 4.

    Mobile & Embedded Runtimes · Apache-2.0 · 6.9k stars · Updated 2026-11

  3. MediaPipe LLM Inference API Library

    MediaPipe task for running LLMs in Android, iOS, and web apps, now marked maintenance-only by Google, which recommends LiteRT-LM for new projects.

    Mobile & Embedded Runtimes · maintenance · Superseded by LiteRT-LM · Apache-2.0 · 38k stars · Updated 2026-11

  4. MNN Library

    Lightweight C++ inference engine from Alibaba for mobile and embedded devices, including an LLM module for running chat models on Android and iOS.

    Mobile & Embedded Runtimes · Apache-2.0 · 17k stars · Updated 2026-11

  5. MLC LLM Tool

    Compiler-based LLM deployment stack built on TVM that targets iOS, Android, desktop GPUs, and browsers from one model definition.

    Mobile & Embedded Runtimes · Apache-2.0 · 24k stars · Updated 2026-11

  6. Cactus Library

    Hybrid edge-and-cloud engine for phones and wearables with its own kernels, quantization, and OpenAI-style APIs; source-available under a revenue-gated license.

    Mobile & Embedded Runtimes · source-available · 15k stars · Updated 2026-11

  7. GenieX Tool

    Developer-preview runtime for LLMs and VLMs on Snapdragon that dispatches to llama.cpp or Qualcomm AI Engine Direct across NPU, GPU, and CPU; formerly Nexa SDK.

    Mobile & Embedded Runtimes · experimental · BSD-3-Clause · 8.5k stars · Updated 2026-11

  8. MLX Library

    Array framework for Apple silicon with NumPy-style Python and C++ APIs, lazy evaluation, and unified memory; the base layer under mlx-lm.

    Apple Silicon · MIT · 29k stars · Updated 2026-11

  9. MLX Swift LM Library

    Swift package that loads and runs LLMs and vision-language models on MLX inside iOS and macOS apps, layered on the MLX Swift bindings.

    Apple Silicon · MIT · 879 stars · Updated 2026-11

  10. Apple Foundation Models Framework Docs

    Swift framework that lets apps prompt Apple's on-device language model, with guided generation, tool calling, and streamed responses.

    Apple Silicon · proprietary

  11. Apple Core AI Docs

    Apple's WWDC26 beta framework for running LLMs and generative models on-device across CPU, GPU, and Neural Engine; announced as Core ML's successor.

    Apple Silicon · experimental · proprietary

  12. AMD Ryzen AI Software Docs

    AMD's stack for running ONNX and LLM workloads on Ryzen AI PCs, using the XDNA NPU and integrated GPU through ONNX Runtime and the Quark quantizer.

    PCs & NPUs · MIT · 902 stars · Updated 2026-11

  13. WebLLM Library

    In-browser LLM engine that runs models on WebGPU with an OpenAI-style API, streaming output, and web-worker isolation.

    Browser & WebGPU · Apache-2.0 · 19k stars · Updated 2026-11

  14. Transformers.js Library

    Runs Hugging Face models in browsers, Node, Bun, and Deno on ONNX Runtime; version 4 swaps in a rewritten C++ WebGPU runtime.

    Browser & WebGPU · Apache-2.0 · 16k stars · Updated 2026-11

  15. wllama Library

    WebAssembly binding for llama.cpp that runs GGUF models in a browser tab, with worker isolation, split-file loading, and WebGPU support in v3.

    Browser & WebGPU · MIT · 1.4k stars · Updated 2026-11

  16. Chrome Prompt API Docs

    Chrome's JavaScript API for prompting Gemini Nano on-device; the docs say the web version is still in development and list storage and hardware needs.

    Browser & WebGPU · experimental · proprietary

  17. Jetson AI Lab Docs

    Tutorial hub for running LLMs, vision-language models, and diffusion models locally on Jetson Orin and Thor boards, with community projects.

    Embedded Accelerators

  18. TensorRT Edge-LLM Library

    C++ runtime for LLMs and VLMs on Jetson, DRIVE, and DGX Spark with an export and engine-build workflow and no Python dependency at run time.

    Embedded Accelerators · experimental · Apache-2.0 · 637 stars · Updated 2026-11

  19. jetson-containers Tool

    Modular build system and prebuilt images for ML stacks such as PyTorch, vLLM, SGLang, and MLC on Jetson, matched to JetPack and CUDA versions.

    Embedded Accelerators · MIT · 4.9k stars · Updated 2026-11

  20. Hailo AI Software Suite Tool

    Hailo's compiler, HailoRT runtime, and model zoo for its accelerators, including precompiled LLM, VLM, and speech models served through a REST API.

    Embedded Accelerators · 235 stars · Updated 2026-10

XV Verticals 29

  1. Scaling LLM Test-Time Compute Optimally Paper

    Studies how to spend extra inference compute per prompt, comparing verifier-guided search with sequential revision, and when that beats a larger model.

    Reasoning & Test-Time Compute · ICLR 2025

  2. DeepSeek-R1 Paper

    Report on training reasoning models with large-scale reinforcement learning, the source of the long thinking traces that reasoning-aware serving has to handle.

    Reasoning & Test-Time Compute · Nature 2025

  3. vLLM Reasoning Outputs Docs

    Explains the reasoning-parser flag that returns a model's thinking text in its own response field, and which API endpoints expose it.

    Reasoning & Test-Time Compute

  4. SGLang Reasoning Parser Docs

    Documents SGLang's per-model reasoning parsers that split chain-of-thought from the answer, with streaming behavior and how to add a parser for a new model.

    Reasoning & Test-Time Compute

  5. SGLang Thinking Budget Docs

    Shows three ways to cap the tokens a reasoning model spends thinking, using chat-template hints, a strict grammar-level limit, or a custom logit processor.

    Reasoning & Test-Time Compute

  6. Certaindex (Dynasor) Paper

    Measures when a reasoning program's answer has stopped changing and uses that signal in a scheduler to cut wasted tokens across concurrent requests.

    Reasoning & Test-Time Compute · NeurIPS 2025 · Code

  7. Parrot Paper

    Introduces semantic variables that expose data flow between an application's LLM calls, so the serving layer can optimize the whole workflow end to end.

    Agents & Compound AI · OSDI 2024 · Code

  8. Autellix (Agentix) Paper

    Schedules whole agent programs rather than single calls, preempting LLM calls by the history of their program to reduce head-of-line blocking.

    Agents & Compound AI · NSDI 2026

  9. Continuum Paper

    Pins a finished request's KV cache in GPU memory for a time-to-live based on expected tool-call duration, so multi-turn agents skip re-prefilling.

    Agents & Compound AI · ICLR 2026 · Code

  10. CacheWise Paper

    Analyzes real coding-agent traces and pairs prefix-aware scheduling with KV eviction guided by tool-call metadata, implemented in vLLM.

    Agents & Compound AI · arXiv 2026

  11. Agentic AI Workload Characteristics Paper

    Traces ReAct-style agents on Gemma and Qwen models and finds decode-dominated execution with long-lived KV state once context caching is on.

    Agents & Compound AI · IISWC 2026

  12. vLLM Tool Calling Docs

    Documents vLLM's auto tool choice flags, per-model tool-call parsers, and the plugin interface for writing a custom parser.

    Agents & Compound AI

  13. SGLang Tool Parser Docs

    Maps SGLang's tool parsers to model families and covers forced tool choice, streaming, and adding a parser for a new function-call format.

    Agents & Compound AI

  14. verl Library

    RL post-training library from the HybridFlow paper that places actor, rollout, and reward workers on GPUs and plugs into FSDP, Megatron-LM, vLLM, or SGLang.

    RL Rollouts & Post-Training · Apache-2.0 · 24k stars · Updated 2026-11

  15. slime Library

    RL scaling framework that links Megatron training to SGLang rollouts through a data buffer and customizable data-generation functions.

    RL Rollouts & Post-Training · Apache-2.0 · 8.9k stars · Updated 2026-11

  16. Miles Library

    Fork of slime for production post-training of large LLMs and VLMs on SGLang rollouts, with low-precision RL and on-policy distillation.

    RL Rollouts & Post-Training · Apache-2.0 · 3.4k stars · Updated 2026-11

  17. AReaL Library

    Fully asynchronous RL system from Tsinghua and Ant Group that decouples generation from training, aimed at reasoning and agentic models.

    RL Rollouts & Post-Training · Apache-2.0 · 5.9k stars · Updated 2026-11

  18. SkyRL Library

    Full-stack RL library with a trainer, an agent layer, and a tool-use gym, plus a backend that implements the Tinker API on your own hardware.

    RL Rollouts & Post-Training

  19. prime-rl Library

    Asynchronous RL framework using FSDP2 for training and vLLM for inference, with Slurm deployment and prefill-decode disaggregation for large MoE models.

    RL Rollouts & Post-Training · Apache-2.0 · 2.3k stars · Updated 2026-11

  20. NeMo RL Library

    NVIDIA post-training toolkit with GRPO and SFT recipes, vLLM generation, and delta-compressed weight refit between training and rollout clusters.

    RL Rollouts & Post-Training · Apache-2.0 · 2.2k stars · Updated 2026-11

  21. checkpoint-engine Library

    Middleware that updates weights in running inference engines in place, using broadcast or peer-to-peer transfer, for the refit step of RL loops.

    RL Rollouts & Post-Training · MIT · 1k stars · Updated 2026-10

  22. Tinker Service

    Managed post-training service where your code drives the loop with sample, forward_backward, and optimizer calls while the provider runs the GPUs.

    RL Rollouts & Post-Training · commercial

  23. SGLang for RL Systems Docs

    Covers SGLang's rollout features for RL, including memory release and resume, pause and continue, weight-refit paths, and deterministic mode.

    RL Rollouts & Post-Training

  24. vLLM RLHF Documentation Docs

    Overview of vLLM's RL-facing features, from NCCL and IPC weight transfer and a weight checker to routed-experts return for MoE and async pause and resume.

    RL Rollouts & Post-Training

  25. Fast-dLLM Tool

    Acceleration techniques for diffusion LLMs, pairing a block-wise approximate KV cache with confidence-based parallel decoding, plus block-diffusion variants.

    Diffusion Language Models · Apache-2.0 · 1.1k stars · Updated 2026-05

  26. dInfer Tool

    Inference framework for diffusion LLMs that splits the pipeline into model, iteration manager, decoder, and KV-cache manager components.

    Diffusion Language Models · Apache-2.0 · 492 stars · Updated 2026-11

  27. DiffusionGemma in vLLM Article

    Walks through adding a diffusion LLM to vLLM with the ModelState abstraction, covering the denoising loop, sampler, and attention changes.

    Diffusion Language Models

  28. SGLang Day-0 Support for LLaDA 2.0 Article

    Shows how SGLang reuses its chunked-prefill pipeline to batch diffusion blocks, with a pluggable decoding-algorithm layer between worker and model runner.

    Diffusion Language Models

  29. SGLang Diffusion Language Models Docs

    Explains how to serve LLaDA2.0, SDAR, and DiffusionGemma in SGLang, with selectable decoding algorithms configured through YAML.

    Diffusion Language Models

XVI Providers & Clouds 27

  1. Together AI Service

    Hosted API for open and partner models across chat, image, video, speech, and rerank, with dedicated model and container endpoints and post-training.

    Model APIs & Serverless Inference · commercial

  2. Fireworks AI Service

    Inference platform with serverless and dedicated deployments for open models, plus batch, fine-tuning, custom model upload, and reserved throughput.

    Model APIs & Serverless Inference · commercial

  3. Baseten Model APIs Service

    Hosted APIs for open models that run on the Baseten inference stack, alongside dedicated deployments of custom models on the same platform.

    Model APIs & Serverless Inference · commercial

  4. DeepInfra Service

    Pay-per-use API for open models covering chat, embeddings, reranking, image, and speech, with batch processing and private or LoRA-adapted deployments.

    Model APIs & Serverless Inference · commercial

  5. Hugging Face Inference Providers Service

    Router that reaches partner inference providers through one Hugging Face token and an OpenAI-compatible endpoint, with provider selection policies and failover.

    Model APIs & Serverless Inference · commercial

  6. GroqCloud Service

    API for open models served on Groq hardware, with OpenAI-compatible endpoints, tool use, speech models, and batch and flex service tiers.

    Model APIs & Serverless Inference · freemium

  7. Cerebras Inference Service

    Hosted API for open models on Cerebras wafer-scale systems, with OpenAI-compatible endpoints, Python and Node SDKs, and a dedicated inference option.

    Model APIs & Serverless Inference · commercial

  8. SambaNova Cloud Service

    API for open models on SambaNova hardware, with OpenAI- and Anthropic-compatible endpoints, function calling, prompt caching, and vision and audio models.

    Model APIs & Serverless Inference · freemium

  9. Nebius Token Factory Service

    Nebius inference service, formerly AI Studio, with serverless public endpoints, dedicated endpoints, custom model weights, and post-training.

    Model APIs & Serverless Inference · commercial

  10. Cloudflare Workers AI Service

    Serverless inference for open models on GPUs across Cloudflare's network, callable from Workers or the REST API, with batch requests and LoRA adapters.

    Model APIs & Serverless Inference · freemium

  11. Modal Service

    Python-first serverless platform that runs functions, web endpoints, and batch jobs in autoscaling GPU containers, with sandboxes and multi-node clusters.

    Serverless GPU Platforms · freemium

  12. Runpod Serverless Service

    Autoscaling GPU workers behind queue-based or load-balanced endpoints, deployed from handler functions, custom containers, or a vLLM worker.

    Serverless GPU Platforms · commercial

  13. Replicate Service

    Platform for running models through an API and for deploying custom models packaged with Cog, with a public model catalog, deployments, and webhooks.

    Serverless GPU Platforms · commercial

  14. Beam Service

    Serverless platform driven by a Python SDK for GPU endpoints, async tasks, sandboxes, and virtual machines, with cold-start and warm-container controls.

    Serverless GPU Platforms · commercial

  15. Cerebrium Service

    Serverless GPU platform for real-time workloads, with custom container images, autoscaling, REST and WebSocket endpoints, and multi-region deployment.

    Serverless GPU Platforms · freemium

  16. Hugging Face Inference Endpoints Service

    Managed service that deploys Hub models to dedicated, autoscaling endpoints running vLLM, TGI, or a custom container, with logs and metrics.

    Serverless GPU Platforms · commercial

  17. Amazon Bedrock Service

    AWS managed service that serves foundation models from several providers through AWS APIs, including Converse and OpenAI-style endpoints.

    Hyperscaler AI Platforms · commercial

  18. Amazon SageMaker AI Inference Service

    Managed hosting for custom and open models on AWS instances, with real-time, asynchronous, serverless, and batch inference options.

    Hyperscaler AI Platforms · commercial

  19. Gemini Enterprise Agent Platform (formerly Vertex AI) Service

    Google Cloud platform for serving Gemini and other models and for building, tuning, and deploying agents and custom models; the successor to Vertex AI.

    Hyperscaler AI Platforms · commercial

  20. Microsoft Foundry (formerly Azure AI Foundry) Service

    Azure platform for deploying models and agents, with a model catalog, tracing and monitoring, role-based access control, and unified networking policies.

    Hyperscaler AI Platforms · commercial

  21. OCI Generative AI Service

    Oracle Cloud service for calling pretrained models or importing your own onto managed hosting, with routing profiles and guardrails.

    Hyperscaler AI Platforms · commercial

  22. OpenRouter Service

    Single API and credit balance that routes requests to models from many providers, with provider selection, fallbacks, and per-request data policies.

    Aggregators & Marketplaces · freemium

  23. Vercel AI Gateway Service

    Hosted endpoint from Vercel that fronts models from many providers behind one key, with routing, fallbacks, and usage observability.

    Aggregators & Marketplaces · commercial

  24. Chutes Service

    Bittensor subnet 64 serverless platform with an OpenAI-compatible API for open models and an SDK to deploy custom images; TEE variants run on Intel TDX.

    Decentralized Networks · commercial

  25. Akash Network Service

    Open compute marketplace where independent providers bid on container deployments described in SDL, plus AkashML, an OpenAI-compatible inference API.

    Decentralized Networks · commercial

  26. io.net Service

    Decentralized GPU network for renting containers, VMs, and Ray or Kubernetes clusters, plus IO Intelligence, a hosted model API.

    Decentralized Networks · commercial

  27. Nosana Service

    Solana-based GPU marketplace that runs container jobs on community-hosted NVIDIA GPUs, plus an OpenAI-compatible LLM API billed per token.

    Decentralized Networks · commercial

XVII Case Studies & Engineering Blogs 25

  1. Disaggregated Prefill and Decode (Perplexity) Article

    How Perplexity runs prefill and decode on separate nodes, with an RDMA KV-cache messenger, tensor-parallel layouts, and DeepSeek-R1 and Qwen3-Coder deployments.

    Production Case Studies

  2. A Postmortem of Three Recent Issues (Anthropic) Article

    Anthropic's 2025 account of three serving bugs, covering a routing error, a TPU misconfiguration, and an approximate top-k compiler miscompilation.

    Production Case Studies

  3. Building the Foundation for Running Extra-Large Language Models (Cloudflare) Article

    Cloudflare on running large open models in Workers AI with disaggregated prefill/decode, prompt caching, a shared KV cache, and speculative decoding.

    Production Case Studies

  4. Cross-Request KV Cache Exposure in GLM-5.3 on Workers AI (Cloudflare) Article

    Cloudflare's incident report on stale KV pages leaking across requests in a disaggregated SGLang deployment, with root cause and remediation.

    Production Case Studies

  5. Scaling LLM Inference: Tensor, Context, and Expert Parallelism (Meta) Article

    Meta engineers describe the parallelism techniques they use to cut latency for large-model inference, with measurements for long-context prefill.

    Production Case Studies

  6. In-House LLM Serving at Netflix Article

    Netflix on serving LLMs with vLLM and Triton behind its Model Scoring Service, including version pinning, constrained decoding, and deployment strategies.

    Production Case Studies

  7. Arctic Inference with Shift Parallelism (Snowflake) Article

    Snowflake AI Research introduces a vLLM plugin whose Shift Parallelism switches between tensor and sequence parallelism by load, used in Cortex AI.

    Production Case Studies

  8. How Amazon Scaled Rufus with Multi-Node Inference on Trainium and vLLM Article

    Amazon engineers on serving the Rufus shopping assistant across Trainium nodes with vLLM, leader-follower orchestration, hybrid parallelism, and EFA networking.

    Production Case Studies

  9. Better MoE Model Inference with Warp Decode (Cursor) Article

    Cursor's MoE decode kernel in which each warp computes one output value, with B200 measurements for a Qwen-style model on its internal inference system.

    Production Case Studies

  10. Editing Files at 1000 Tokens per Second (Cursor) Article

    Cursor's 2024 write-up of speculative edits, a draft-model-free form of speculative decoding for rewriting files, run on a fine-tuned Llama-3-70b via Fireworks.

    Production Case Studies

  11. How We Built Multi-Cloud Capacity Management (Baseten) Article

    Baseten's infrastructure team on a global scheduler that places inference replicas across clouds, with autoscaling, failover, and region constraints.

    Production Case Studies

  12. vLLM Blog Article

    Release notes, performance write-ups, and new-model support posts from the vLLM project and its contributors.

    Engineering Blogs

  13. LMSYS Org Blog Article

    Posts from the LMSYS team on SGLang features, large-scale deployment recipes, and new hardware backends, alongside its other projects.

    Engineering Blogs

  14. SGLang Blog Article

    Releases, benchmark reports, and deep dives from the SGLang team, including day-0 model support and runtime topics such as memory management.

    Engineering Blogs

  15. PyTorch Blog Article

    PyTorch Foundation posts, including inference-relevant writing on ExecuTorch, vLLM, NVIDIA Dynamo, kernels, and accelerator support.

    Engineering Blogs

  16. NVIDIA Technical Blog (Inference Performance) Article

    NVIDIA developer posts on inference topics such as Dynamo, TensorRT, speculative decoding, and decoding for hybrid state-space models.

    Engineering Blogs

  17. Hugging Face Blog Article

    Staff and community posts on open models and inference tooling, including serving libraries, quantization, and batching explainers.

    Engineering Blogs

  18. Together AI Blog Article

    Product and research posts from Together AI on serving open models, with coverage of inference techniques and GPU cluster offerings.

    Engineering Blogs

  19. Fireworks AI Blog Article

    Posts from Fireworks AI on model releases, inference and training recipes, research notes, and customer deployments.

    Engineering Blogs

  20. Baseten Blog Article

    Baseten posts on inference engineering, model performance, and infrastructure, plus product news and customer deployments.

    Engineering Blogs

  21. Modal Blog Article

    Modal's posts on serving models on GPUs, container and storage infrastructure, and inference benchmarks for open-weights LLMs.

    Engineering Blogs

  22. Hazy Research Blog Article

    Stanford's Hazy Research posts on hardware-aware kernels, efficient architectures, and local AI, including the ThunderKittens releases.

    Engineering Blogs

  23. Thinking Machines Connectionism Article

    Research blog from Thinking Machines Lab with posts on deterministic inference, on-policy distillation, and LoRA training.

    Engineering Blogs

  24. Cloudflare Blog (Workers AI) Article

    Cloudflare posts tagged Workers AI, covering the engineering of serving open models on its network alongside product announcements.

    Engineering Blogs

  25. Perplexity Research Article

    Perplexity's research and systems posts, including its work on disaggregated prefill and decode, agents, and retrieval models.

    Engineering Blogs

XVIII Learning Resources 37

  1. How to Scale Your Model Book

    Full textbook behind the Start Here inference chapter, covering rooflines, TPU and GPU anatomy, sharding, and transformer math.

    Books · MIT · 1.5k stars · Updated 2026-10

  2. Machine Learning Engineering Open Book Book

    Stas Bekman's field notes on accelerators, networking, storage, debugging, and inference for running large models on GPU clusters.

    Books · CC-BY-SA-4.0 · 20k stars · Updated 2026-11

  3. AI Systems Performance Engineering (O'Reilly) Book

    Profiling-first book on tuning GPUs, CUDA kernels, PyTorch, and multi-node systems for training and inference, closing with an optimization checklist.

    Books · commercial

  4. Hands-On LLM Serving and Optimization Book

    O'Reilly book from 2026 on designing LLM serving systems, balancing latency against throughput, and hosting models cost-effectively at scale.

    Books · commercial

  5. The Ultra-Scale Playbook Book

    Interactive Hugging Face book on data, tensor, pipeline, context, and expert parallelism on GPU clusters, with benchmarks for each strategy.

    Books

  6. AI Engineering Book

    Chip Huyen's book on building applications on foundation models, with a chapter on inference optimization and serving trade-offs.

    Books · commercial

  7. MIT 6.5940: TinyML and Efficient AI Computing Course

    Song Han's Fall 2026 course on pruning, quantization, distillation, and LLM deployment, with slides, videos, and labs posted for each lecture.

    Courses

  8. CMU 15-442/642: Machine Learning Systems Course

    Spring 2026 course by Tianqi Chen and Zhihao Jia on ML frameworks, GPU acceleration, memory and parallelism, and LLM serving case studies.

    Courses

  9. CMU 11-868: Large Language Model Systems Course

    Spring 2026 course that goes from CUDA basics and a MiniTorch homework track to FlashAttention, vLLM, SGLang, and disaggregated serving.

    Courses

  10. Stanford CS336: Language Modeling from Scratch Course

    Students build a language model end to end, including Triton kernels, parallelism, scaling laws, and inference, with lectures on YouTube.

    Courses

  11. UCSD CSE 234: Data Systems for Machine Learning Course

    Hao Zhang's Winter 2025 course on ML frameworks, GPUs, parallelism, and LLM serving with paged attention, batching, and speculative decoding.

    Courses

  12. ML Systems Onboarding Reading List List

    Annotated reading list from GPU MODE that says where to start on attention, serving optimizations, quantization, long context, and parallelism.

    Learning Paths · 1.2k stars · Updated 2026-02

  13. Large Transformer Model Inference Optimization Article

    Survey essay on distillation, quantization, pruning, sparsity, mixture of experts, and architecture changes that cut inference cost.

    Deep Dives & Essays

  14. LLM Inference Performance Engineering: Best Practices Article

    Defines latency, throughput, and model bandwidth utilization, then measures how batch size, tensor parallelism, and quantization trade off.

    Deep Dives & Essays

  15. LLM Inference Speed of Light Article

    Derives the memory-bandwidth floor on per-token decode latency and checks how close a hand-written inference engine gets to it.

    Deep Dives & Essays

  16. How Continuous Batching Enables 23x Throughput in LLM Inference Article

    Explains why static batching wastes GPU time during decoding and benchmarks iteration-level scheduling across serving frameworks.

    Deep Dives & Essays

  17. Continuous Batching from First Principles Article

    Derives continuous batching step by step from attention and the KV cache, covering ragged batches and chunked prefill along the way.

    Deep Dives & Essays

  18. Flash-Decoding for Long-Context Inference Article

    Introduces splitting the KV sequence across thread blocks during decode and merging partial softmax results so small batches still fill the GPU.

    Deep Dives & Essays

  19. Accelerating Generative AI with PyTorch II: GPT, Fast Article

    Shows how far plain PyTorch goes for LLM decoding with torch.compile, int8 and int4 weights, speculative decoding, and tensor parallelism.

    Deep Dives & Essays

  20. Fast LLM Inference From Scratch Article

    Builds a single-GPU inference engine in C++ and CUDA without libraries, profiling each step from a naive CPU loop to fused kernels.

    Deep Dives & Essays

  21. vLLM V1: A Major Upgrade to vLLM's Core Architecture Article

    Design notes on vLLM's rewritten core, covering the unified scheduler, a separate engine-core process, prefix caching, and piecewise CUDA graphs.

    Deep Dives & Essays

  22. Optimizing AI Inference at Character.AI Article

    Shows how multi-query attention, hybrid local-global layers, cross-layer KV sharing, and int8 shrink KV memory for long conversations.

    Deep Dives & Essays

  23. DeepSeek-V3/R1 Inference System Overview Article

    First-hand account of serving V3/R1 with cross-node expert parallelism, a prefill-decode split, compute-communication overlap, and load balancing.

    Deep Dives & Essays · CC0-1.0 · 8.1k stars · Updated 2025-05

  24. Deploying DeepSeek with PD Disaggregation and Large-Scale Expert Parallelism Article

    Reproduces DeepSeek-style serving in SGLang on 96 H100s by combining prefill-decode disaggregation, DeepEP, two-batch overlap, and EPLB.

    Deep Dives & Essays

  25. Why Inference Matters 12x More Than Training (YC Paper Club) Video

    Engineers from Together AI, Ollama, Luminal, and SGLang trace a token through routing, caching, scheduling, kernels, and hardware.

    Talks & Videos

  26. The Inference Engineering Masterclass (Latent Space) Podcast

    Podcast episode with Baseten's Philip Kiely and Ali Taha on the practice of inference engineering for autoregressive and diffusion models.

    Talks & Videos

  27. vLLM Office Hours Video

    Biweekly livestream from the vLLM team with release updates and guest deep dives; past sessions are archived with recordings and slides.

    Talks & Videos

  28. SGLang Learning Materials Video

    Official collection of SGLang slide decks, blog links, and talk recordings from meetups, conferences, and vendor tech briefings.

    Talks & Videos · MIT · 908 stars · Updated 2026-01

  29. AI Performance Engineering (YouTube) Video

    Recordings of Chris Fregly's monthly meetup, with practitioner talks on GPU profiling, low-precision formats, disaggregated serving, and accelerators.

    Talks & Videos

  30. Multi-GPU Kernels, Intelligence per Watt, and Heterogeneous Inference (YC Paper Club) Video

    Talks on Parallel Kittens multi-GPU kernels, intelligence per watt for local inference, AI-written kernels, and heterogeneous serving.

    Talks & Videos

  31. Inference, Diffusion, World Models, and More (YC Paper Club) Video

    Opens with a talk on Speculative Speculative Decoding (arXiv 2603.03251), followed by papers on diffusion control and world models.

    Talks & Videos

  32. vLLM Forums Community

    Official discussion board for vLLM deployment, performance, and hardware-backend questions; real-time developer chat happens on the project Slack.

    Communities & Newsletters

  33. SGLang Slack Community

    Community workspace linked from the SGLang README where maintainers and users discuss deployments, kernels, and upcoming features.

    Communities & Newsletters

  34. r/LocalLLaMA Community

    Subreddit for running open-weight models on your own hardware, with frequent comparisons of quantizations, runtimes, and multi-GPU builds.

    Communities & Newsletters

  35. AI Performance Engineering Meetup Community

    Monthly meetup run by Chris Fregly, with chapters in many cities and livestreamed talks on GPU performance, inference, and AI systems tuning.

    Communities & Newsletters

  36. Latent Space Community

    AI engineering newsletter and podcast with recurring interviews on inference providers, serving stacks, and GPU economics.

    Communities & Newsletters

  37. vLLM Conference Event

    First vLLM conference, held with Ray Summit in San Francisco in August 2026, on the roadmap, hardware backends, and production inference.

    Conferences & Venues