LLM
410 entries · 17 sections
Editor’s pick
I Start Here 8
Free book by Philip Kiely that frames inference engineering as a discipline, from hardware and runtimes to optimization and deployment.
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.
Transformer Inference Arithmetic Article
Back-of-the-envelope math for FLOPs, weight and KV bytes, and communication during transformer inference.
Practitioner handbook on inference metrics, optimization techniques, and deployment patterns, originally published by BentoML.
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.
Efficiently Scaling Transformer Inference Paper
Analytical model of latency, memory, and partitioning trade-offs for serving very large transformers.
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.
AI Systems Performance Engineering Book
Code and labs for Chris Fregly's O'Reilly book on profiling-driven GPU, distributed training, and inference tuning.
II Inference Engines 45
vLLM Tool
High-throughput serving engine built on paged KV cache management, continuous batching, and a broad hardware plugin ecosystem.
SGLang Tool
Serving engine with RadixAttention prefix reuse, fast constrained decoding, and large-scale expert-parallel deployments.
TensorRT-LLM Tool
NVIDIA's engine with a PyTorch-based runtime, in-flight batching, and kernels tuned for Hopper and Blackwell GPUs.
LMDeploy Tool
Toolkit pairing the C++ TurboMind engine with a PyTorch engine, with weight and KV-cache quantization and Ascend support.
Modular MAX Tool
Graph compiler, Mojo kernel library, and OpenAI-compatible serving stack that targets NVIDIA and AMD GPUs from one codebase.
DeepInfer Tool
DeepSeek's production engine, released for offline inference with expert parallelism, batch invariance, and Blackwell and Ascend support.
TokenSpeed Tool
Engine for agentic workloads that splits a C++ state-machine control plane from a Python execution plane, with pluggable kernels.
LightLLM Tool
Pure-Python serving framework with token-level KV cache management, often used as the base for serving research prototypes.
RTP-LLM Tool
Alibaba's in-house engine behind Taobao and other services, with a C++ scheduler and prefill-decode separation.
xLLM Tool
Engine built at JD.com for Chinese accelerators such as Ascend, Cambricon, and Hygon, with a service layer decoupled from compute.
FastDeploy Tool
PaddlePaddle-based LLM and VLM deployment toolkit from Baidu, with prefill-decode disaggregation and many Chinese accelerator backends.
Chitu Tool
Engine from Tsinghua's PACMAN group for NVIDIA and Chinese accelerators that scales from CPU+GPU hybrid boxes to clusters.
ATOM Tool
AMD's lightweight vLLM-style engine built on AITER kernels for Instinct GPUs, also usable as a vLLM plugin.
llama.cpp Tool
Dependency-free C/C++ inference with GGUF quantization, running on CPUs, GPUs, and Apple silicon.
Ollama Tool
Go tool that pulls, manages, and serves local models through a CLI and REST API, with ggml- and MLX-based backends.
MLX LM Tool
Python package for running, quantizing, and fine-tuning LLMs on Apple silicon with MLX, including a local OpenAI-style server.
LM Studio Tool
Closed-source desktop app and local API server for Mac, Windows, and Linux that runs models on llama.cpp and MLX engines.
vLLM Metal Tool
Hardware plugin that runs vLLM on Apple silicon Macs, using MLX for compute and a paged varlen Metal attention kernel.
exo Tool
Pools Macs and other devices into one inference cluster with automatic discovery, tensor parallelism, and RDMA over Thunderbolt.
Jan Tool
Open-source desktop chat app with a bundled llama.cpp engine that runs models offline and exposes a local OpenAI-compatible server.
LocalAI Tool
Self-hosted OpenAI-compatible API server that routes text, image, audio, and embedding requests to pluggable CPU or GPU backends.
llamafile Tool
Packs model weights and a llama.cpp server into one executable that runs across operating systems and CPUs via Cosmopolitan Libc.
Docker Model Runner Tool
Pulls models as OCI artifacts and serves them through llama.cpp, vLLM, or SGLang, inside Docker or as a standalone binary.
RamaLama Tool
Runs and serves models inside rootless containers, picking a GPU-specific image for the host and treating models like images.
ExLlamaV3 Library
Inference library for consumer NVIDIA GPUs built around the QTIP-based EXL3 format, with tensor parallelism and TabbyAPI as its server.
KoboldCpp Tool
Single-executable llama.cpp distribution with a bundled web UI and compatible APIs, plus image, speech, and music generation.
TextGen (text-generation-webui) Tool
Desktop app and API for local models that switches between llama.cpp, ExLlamaV3, and Transformers backends, with portable builds.
Foundry Local Tool
Microsoft's on-device runtime and SDKs that pick NPU, GPU, or CPU execution through ONNX Runtime for apps that embed local models.
Lemonade Tool
Local server with OpenAI-, Anthropic-, and Ollama-compatible APIs, tuned by AMD engineers for Ryzen AI NPUs and Radeon GPUs.
KTransformers Tool
CPU–GPU heterogeneous runtime that keeps MoE experts on AMX/AVX-512 CPU kernels and plugs into SGLang; also supports MoE fine-tuning.
ik_llama.cpp Tool
Fork of llama.cpp with extra quantization types and faster CPU and hybrid CPU/GPU paths, widely used to run large MoE models at home.
FastLLM Tool
C++ engine without a PyTorch dependency that splits dense and MoE models across GPUs, CPU NUMA nodes, and disk.
AirLLM Library
Streams weights layer by layer, or expert by expert for MoE, so very large models run on GPUs with only a few gigabytes of memory.
PowerInfer Tool
Exploits activation sparsity by keeping frequently firing neurons on the GPU and computing the rest on the CPU, from the SOSP 2024 paper.
FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPU Paper
Offloading scheduler that searches placements of weights, activations, and KV cache across GPU, CPU, and disk for batch throughput.
mistral.rs Tool
Rust engine with paged attention, in-situ quantization, multimodal models, and OpenAI- and Anthropic-compatible servers on CUDA and Metal.
Candle Library
Hugging Face's minimalist Rust ML framework with CPU, CUDA, Metal, and WebAssembly backends and many ready-made model ports.
ZML Tool
Zig inference stack that compiles models through MLIR and OpenXLA for NVIDIA, AMD, Intel, TPU, and Trainium from one codebase.
gemma.cpp Tool
Google's compact C++ CPU engine for Gemma models, built on Highway portable SIMD and aimed at research and experimentation.
llama3.java Tool
Single-file, dependency-free Java inference for Llama-family GGUF models, also used to test JVM and GraalVM compiler optimizations.
Nano-vLLM Tool
Readable re-implementation of a vLLM-style engine in about a thousand lines of Python, with prefix caching and CUDA graphs.
Mini-SGLang Tool
Compact, type-annotated rewrite of SGLang in about 5,000 lines of Python, with radix cache, chunked prefill, and overlap scheduling.
tiny-vllm Tool
Course plus C++/CUDA codebase that builds a small vLLM-style server step by step, from safetensors loading to paged attention.
tiny-llm Course
Course that builds a Qwen serving stack on MLX from array ops up, adding KV cache, batching, and hand-written Metal kernels.
gpt-fast Tool
Under 1,000 lines of PyTorch showing how torch.compile, int8/int4 weight quantization, and speculative decoding speed up generation.
Text Generation Inference Tool
Hugging Face's Rust and Python LLM server; archived in 2026 in favour of vLLM and SGLang.
III Distributed Serving & Orchestration 35
NVIDIA Dynamo Tool
Datacenter-scale serving layer over vLLM, SGLang, and TensorRT-LLM with prefill/decode disaggregation, KV-aware routing, and tiered KV cache.
llm-d Tool
Kubernetes-native distributed inference stack for vLLM and SGLang with prefix-cache-aware routing, prefill/decode disaggregation, and wide expert parallelism.
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.
Helm-based reference deployment for vLLM clusters with a session-aware router, LMCache KV offloading, and Grafana dashboards.
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.
Llumnix Tool
Cluster scheduler for vLLM and SGLang instances that live-migrates requests between engines, with KV-aware, SLO-driven, and adaptive disaggregation policies.
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.
KServe Tool
CNCF platform for generative and predictive model serving on Kubernetes, with vLLM and llm-d backends, model caching, and autoscaling.
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.
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.
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.
Grove Tool
Kubernetes API for multi-component inference workloads with hierarchical gang scheduling, topology-aware placement, and per-role scaling.
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.
RoleBasedGroup (RBG) Tool
Kubernetes workload API that groups router, prefill, and decode roles into one unit with coordinated scaling, rollouts, and service discovery.
Kthena Tool
Volcano subproject with CRDs for model lifecycle and a model-aware router, covering prefill/decode disaggregation and topology-aware gang scheduling.
KubeAI Tool
Lightweight operator that runs vLLM, Ollama, FasterWhisper, and Infinity servers with scale from zero, prefix-hash load balancing, and model caching.
Ray Serve Library
Python serving library on Ray for composing multi-model pipelines, with per-deployment autoscaling, request batching, and fractional GPUs.
Dynamo-Triton (Triton Inference Server) Tool
Multi-framework model server with dynamic batching, model ensembles, and TensorRT, PyTorch, ONNX, OpenVINO, and Python backends.
BentoML Library
Python framework for turning models into versioned API services, with adaptive batching, task queues, multi-model pipelines, and container builds.
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.
Xinference Tool
Self-hosted platform serving LLM, embedding, image, and speech models behind an OpenAI-compatible API, with vLLM, SGLang, and llama.cpp backends.
LitServe Library
Minimal FastAPI-based framework for writing custom inference servers in Python, with batching, streaming, and multi-worker GPU scaling.
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.
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.
C++ model server for OpenVINO with OpenAI-compatible endpoints for LLMs and KServe APIs for classic models, on Intel CPUs, GPUs, and NPUs.
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.
dstack Tool
Orchestration layer for GPU clouds, Kubernetes, and bare metal that provisions fleets and runs autoscaled inference services alongside training.
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.
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 Streamer Library
Streams safetensors tensors from local disk or object storage into GPU memory with concurrent reads; vLLM exposes it as a load format.
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.
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.
ServerlessLLM Tool
Multi-model serving system with a loading-optimized checkpoint format, GPU multiplexing, and locality-aware scheduling to cut cold starts.
Tensorizer Library
Serializes PyTorch modules for streaming loads from HTTP, S3, or local disk straight into GPU memory, with optional tensor encryption.
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.
IV Gateways & Routing 19
LiteLLM Tool
Python SDK and proxy that translate many provider APIs into the OpenAI format, with virtual keys, budgets, load balancing, and request logging.
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.
Bifrost Tool
Go gateway with one OpenAI-compatible API over many providers, adding failover, semantic caching, virtual keys with budgets, and MCP tool access.
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.
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.
Plano Tool
Envoy-based data plane for agent apps that adds preference-aligned model routing, agent orchestration, guardrail filter chains, and tracing; formerly archgw.
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.
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.
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.
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.
vLLM Router Tool
Rust request router for large vLLM fleets with cache-aware and consistent-hash load balancing, prefill/decode routing, and Kubernetes discovery.
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.
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.
LLMRouter Library
Research library that implements and benchmarks learned model-routing methods, from single-turn classifiers to multi-turn, multimodal, and agentic routers.
Machine-readable OpenAPI description of the OpenAI API, the de facto contract that most engines and gateways implement.
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.
REST and gRPC inference protocol, also called KServe v2, implemented by KServe, Triton, MLServer, and OpenVINO Model Server.
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.
OpenAI Harmony Spec
Prompt and response format used by gpt-oss, with separate analysis, commentary, and final channels, plus Rust and Python renderers.
V Model Compression 21
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.
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.
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.
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.
AutoRound Library
Intel's sign-gradient rounding method for low-bit post-training quantization, exporting GPTQ and AWQ layouts, GGUF, MXFP4, and NVFP4 checkpoints.
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.
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.
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.
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.
SmoothQuant Paper
Moves activation outliers into the weights with a per-channel scale so both can be quantized to INT8 (W8A8) without retraining.
AWQ Paper
Rescales the weight channels that matter most, chosen from activation magnitudes, before 4-bit weight-only quantization; MLSys 2024 Best Paper.
QuaRot Paper
Hadamard rotations that remove outliers without changing model outputs, so weights, activations, and KV cache can all run in 4 bits.
SpinQuant Paper
Learns the rotation matrices applied before quantization instead of fixing them, improving W4A4KV4 accuracy over random Hadamard rotations.
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.
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.
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.
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.
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.
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.
Minitron Paper
NVIDIA recipe that prunes depth, width, attention heads, and MLP channels, then recovers accuracy with distillation; now part of Model Optimizer.
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.
VI Decoding Acceleration 22
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.
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.
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.
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.
Medusa Paper
Adds extra decoding heads to the target model that propose several future tokens, checked together with tree attention, with no separate drafter.
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.
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.
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.
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.
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.
Spec-Bench Benchmark
Shared harness that compares speculative decoding methods on the same model and GPU across chat, translation, summarization, QA, math, and RAG.
SpecForge Library
SGLang team's framework for training EAGLE-3, P-EAGLE, and DFlash drafters online or offline, producing checkpoints that SGLang serves directly.
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.
TorchSpec Library
Disaggregated drafter training that streams target hidden states from inference engines to trainers through Mooncake instead of writing them to disk.
EAGLE (official code) Library
Authors' training and inference code with released draft weights for EAGLE-1, EAGLE-2 dynamic draft trees, and EAGLE-3.
XGrammar Library
Grammar engine that prechecks context-independent tokens to build masks cheaply; XGrammar-2 adds tag-triggered structures for tool calls.
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.
Outlines Library
Python library that constrains generation to JSON Schema, regex, or grammars across local models and hosted APIs.
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.
Guidance Library
Python programming model that interleaves prompts, generation, and grammar constraints in one program, with llguidance as its engine.
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.
JSONSchemaBench Benchmark
Real-world JSON Schemas for comparing constrained-decoding engines on coverage, speed, and output quality, plus MaskBench for mask latency.
VII KV Cache & Attention 32
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.
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.
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.
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.
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.
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.
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.
FlexKV Library
Tencent Cloud's tiered KV cache manager for CPU, SSD, and remote storage, integrated with vLLM, SGLang, TensorRT-LLM, and Dynamo.
KVPress Library
Library of pluggable KV cache pruning methods, called presses, for Hugging Face transformers, with benchmarks to compare them on long-context tasks.
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.
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.
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.
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.
KVQuant Paper
Sub-4-bit KV quantization using per-channel keys taken before RoPE, non-uniform datatypes, and a sparse side matrix for outliers.
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.
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.
Explains FP8 KV cache in vLLM, including per-tensor and per-head scales and how to calibrate them with llm-compressor.
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.
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.
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.
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.
Marconi Paper
Prefix caching for hybrid attention and state-space models, with admission and eviction policies that weigh recurrent-state reuse against memory cost.
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.
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.
flash-linear-attention Library
Triton kernels and layers for linear attention, state-space, and sparse attention variants such as Gated DeltaNet, KDA, and Mamba2.
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.
Native Sparse Attention (NSA) Paper
Trainable sparse attention with compressed, selected, and sliding-window branches whose block layout is designed for efficient GPU kernels.
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.
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.
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.
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.
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.
VIII Scheduling & Parallelism 31
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.
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.
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.
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.
NanoFlow Paper
Splits batches into nano-batches and overlaps compute-, memory-, and network-bound operations inside one GPU to raise serving throughput.
vLLM Optimization and Tuning Docs
Covers vLLM preemption, chunked-prefill token budgets, and parallelism choices that trade throughput against latency.
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.
Splitwise Paper
Runs prompt and token-generation phases on separate machine pools, possibly of different GPU generations, and ships KV state between them.
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.
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.
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.
Guide to running SGLang prefill and decode servers separately, with Mooncake, NIXL, or Ascend transfer backends and a router in front.
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.
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.
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.
GShard Paper
Scaled sparsely gated MoE transformers across thousands of TPU cores using top-2 routing, expert capacity limits, and XLA sharding annotations.
MegaScale-Infer Paper
Puts attention and expert layers on separate GPU pools and pipelines micro-batches between them over a custom M2N communication library.
Step-3 (Attention-FFN Disaggregation) Paper
Model-system co-design report pairing a factorized attention design with attention-FFN disaggregation to lower decoding cost.
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.
EPLB Library
DeepSeek's reference algorithm for replicating heavily loaded experts and packing replicas across GPUs and nodes, with hierarchical and global policies.
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.
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.
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.
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.
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.
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.
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.
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.
vLLM LoRA Adapters Docs
Per-request LoRA serving in vLLM, with multi-adapter batches, runtime loading through API endpoints, and resolver plugins.
Punica Paper
Introduced the SGMV kernel, which batches requests for different LoRA adapters of one base model into a single GPU pass.
SGLang LoRA Serving Docs
Covers multi-adapter batches, dynamic adapter loading, GPU pinning, and kernel backend choice for LoRA serving in SGLang.
IX Kernels & GPU Programming 17
FlashAttention Library
IO-aware exact attention kernels; FA3 targets Hopper and FA4, written in CuTe DSL, targets Blackwell.
FlashInfer Library
Attention, sampling, MoE, and GEMM kernels built for LLM serving, with JIT-compiled variants used as backends by vLLM and SGLang.
DeepGEMM Library
DeepSeek's JIT-compiled tensor-core kernels for FP8, FP4, and BF16 GEMMs, grouped MoE GEMMs, and MoE fused with communication.
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).
Transformer Engine Library
Transformer layers and scaling recipes for FP8, MXFP8, and NVFP4 execution on Hopper and Blackwell, with PyTorch and JAX bindings.
AITER Library
AMD's operator library for inference and training on ROCm, combining Triton, Composable Kernel, and hand-written assembly backends.
SageAttention Library
Quantized attention kernels (INT8 QK, FP8 PV, FP4 on Blackwell) that replace FlashAttention without retraining, common in video diffusion.
TileKernels Library
DeepSeek's TileLang kernels for MoE routing, FP8 and FP4 quantization, Engram gating, and hyper-connections on NVIDIA GPUs and Ascend NPUs.
DeepSelect Library
Top-k selection kernels for the lightning indexer in DeepSeek Sparse Attention and for token samplers, on CUDA and Ascend.
Marlin Library
Reference FP16xINT4 mixed-precision GEMM kernel for small-batch decoding; maintained Marlin variants now ship inside vLLM.
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 (Hazy Research) Tool
ThunderKittens-based research megakernels that run a full Llama forward pass in a single launch to eliminate kernel-boundary stalls.
TileRT Tool
Tile-level runtime that splits LLM operators into fine-grained tasks and overlaps compute, I/O, and communication for low-latency decoding.
DeepEP Library
Expert-parallel dispatch and combine kernels with high-throughput NVLink/RDMA modes for prefill and low-latency modes for decoding.
pplx-garden Library
Perplexity's RDMA transfer engine and point-to-point MoE dispatch/combine kernels for ConnectX and AWS EFA; supersedes pplx-kernels.
MoonEP Library
Expert-parallel communication library that equalizes per-rank token load by planning redundant experts online from router outputs.
FlashInfer-Bench Benchmark
Kernel tasks and workloads captured from LLM serving, with tooling to swap verified AI-written kernels into SGLang and vLLM.
X Compilers & Graph Runtimes 2
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.
OpenVINO GenAI Library
C++ and Python pipelines for LLMs, VLMs, Whisper, and image generation on OpenVINO, with continuous batching and speculative decoding.
XII Benchmarking & Capacity Planning 26
AIPerf Tool
Load generator for OpenAI-compatible servers with concurrency, request-rate, and trace-replay modes plus goodput; replaces Triton's GenAI-Perf.
GuideLLM Tool
SLO-oriented load tester that sweeps synchronous, concurrent, and rate-based traffic and reports full TTFT and inter-token latency distributions.
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.
genai-bench Tool
Token-level serving benchmark from the SGLang project with a live progress dashboard, traffic-scenario sweeps, and Excel and plot reports.
Inference Perf Tool
Server-agnostic load generator from Kubernetes WG Serving with goodput, multi-stage rate sweeps, and Azure or OpenTelemetry trace replay.
Rust load tester for OpenAI-compatible text-generation servers with open-loop constant-rate runs, automatic throughput sweeps, and workload presets.
llama-bench Tool
Bundled llama.cpp tool that measures prompt-processing and token-generation speed across models, batch sizes, threads, and GPU offload settings.
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).
InferenceX Benchmark
SemiAnalysis benchmark, formerly InferenceMAX, that reruns public serving recipes on NVIDIA, AMD, and TPU systems through open CI with published logs.
MLPerf Endpoints Benchmark
MLCommons benchmark of live API endpoints that reports throughput, per-user speed, concurrency, and P90 TTFT as curves, with rolling submissions.
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.
Artificial Analysis Benchmark
Independent leaderboards comparing models and API providers on quality indexes, output speed, latency, and price, with published methodology.
AA-AgentPerf Benchmark
Hardware benchmark that plots total throughput against per-agent output speed on agentic coding workloads, normalized per accelerator, megawatt, and dollar.
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.
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.
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.
ServeGen Dataset
Characterizes Alibaba Cloud Model Studio traffic for language, multimodal, and reasoning models and generates synthetic workloads that keep its burstiness.
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.
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.
Benchmark-backed advisor that ranks vLLM, SGLang, and TensorRT-LLM setups by latency target and cost per token, with guides on benchmarking and quantization.
AISimulate Tool
Predicts serving latency and throughput from measured operator data and searches aggregated and disaggregated configs offline; succeeds AIConfigurator.
AIConfigurator Tool
NVIDIA configuration search for disaggregated Dynamo and llm-d deployments; accepts only fixes while its estimator moves to AISimulate.
Vidur Tool
Simulator that predicts LLM serving latency and throughput from profiled operators, for testing schedulers and parallelism plans without GPUs.
LLM-Viewer Tool
Roofline-based analyzer that estimates per-layer compute, memory traffic, and latency of LLM prefill and decode on a chosen accelerator.
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.
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.
XIII Observability & Operations 14
Reference for the Prometheus metrics vLLM serves, including TTFT and inter-token latency histograms, KV cache usage, prefix-cache hits, and deprecations.
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.
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.
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.
Explains the beta VLLM_BATCH_INVARIANT mode, its supported NVIDIA, AMD, and Intel GPUs, validated models, and the tensor-parallel all-reduce caveat.
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.
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.
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.
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.
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.
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.
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.
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.
vLLM Security Guide Docs
Hardening notes for vLLM deployments covering unauthenticated inter-node traffic, endpoints that --api-key leaves open, and trusted cache directories.
XIV Edge, Mobile & Browser 20
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.
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.
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.
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.
MLC LLM Tool
Compiler-based LLM deployment stack built on TVM that targets iOS, Android, desktop GPUs, and browsers from one model definition.
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.
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.
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.
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 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 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.
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.
WebLLM Library
In-browser LLM engine that runs models on WebGPU with an OpenAI-style API, streaming output, and web-worker isolation.
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.
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.
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.
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.
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.
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.
Hailo's compiler, HailoRT runtime, and model zoo for its accelerators, including precompiled LLM, VLM, and speech models served through a REST API.
XV Verticals 29
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.
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.
Explains the reasoning-parser flag that returns a model's thinking text in its own response field, and which API endpoints expose it.
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.
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.
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.
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.
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.
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.
CacheWise Paper
Analyzes real coding-agent traces and pairs prefix-aware scheduling with KV eviction guided by tool-call metadata, implemented in vLLM.
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.
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.
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.
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.
slime Library
RL scaling framework that links Megatron training to SGLang rollouts through a data buffer and customizable data-generation functions.
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.
AReaL Library
Fully asynchronous RL system from Tsinghua and Ant Group that decouples generation from training, aimed at reasoning and agentic models.
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.
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.
NeMo RL Library
NVIDIA post-training toolkit with GRPO and SFT recipes, vLLM generation, and delta-compressed weight refit between training and rollout clusters.
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.
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.
Covers SGLang's rollout features for RL, including memory release and resume, pause and continue, weight-refit paths, and deterministic mode.
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.
Fast-dLLM Tool
Acceleration techniques for diffusion LLMs, pairing a block-wise approximate KV cache with confidence-based parallel decoding, plus block-diffusion variants.
dInfer Tool
Inference framework for diffusion LLMs that splits the pipeline into model, iteration manager, decoder, and KV-cache manager components.
DiffusionGemma in vLLM Article
Walks through adding a diffusion LLM to vLLM with the ModelState abstraction, covering the denoising loop, sampler, and attention changes.
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.
SGLang Diffusion Language Models Docs
Explains how to serve LLaDA2.0, SDAR, and DiffusionGemma in SGLang, with selectable decoding algorithms configured through YAML.
XVI Providers & Clouds 27
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.
Fireworks AI Service
Inference platform with serverless and dedicated deployments for open models, plus batch, fine-tuning, custom model upload, and reserved throughput.
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.
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.
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.
GroqCloud Service
API for open models served on Groq hardware, with OpenAI-compatible endpoints, tool use, speech models, and batch and flex service tiers.
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.
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.
Nebius Token Factory Service
Nebius inference service, formerly AI Studio, with serverless public endpoints, dedicated endpoints, custom model weights, and post-training.
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.
Modal Service
Python-first serverless platform that runs functions, web endpoints, and batch jobs in autoscaling GPU containers, with sandboxes and multi-node clusters.
Runpod Serverless Service
Autoscaling GPU workers behind queue-based or load-balanced endpoints, deployed from handler functions, custom containers, or a vLLM worker.
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.
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.
Cerebrium Service
Serverless GPU platform for real-time workloads, with custom container images, autoscaling, REST and WebSocket endpoints, and multi-region deployment.
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.
Amazon Bedrock Service
AWS managed service that serves foundation models from several providers through AWS APIs, including Converse and OpenAI-style endpoints.
Amazon SageMaker AI Inference Service
Managed hosting for custom and open models on AWS instances, with real-time, asynchronous, serverless, and batch inference options.
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.
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.
OCI Generative AI Service
Oracle Cloud service for calling pretrained models or importing your own onto managed hosting, with routing profiles and guardrails.
OpenRouter Service
Single API and credit balance that routes requests to models from many providers, with provider selection, fallbacks, and per-request data policies.
Vercel AI Gateway Service
Hosted endpoint from Vercel that fronts models from many providers behind one key, with routing, fallbacks, and usage observability.
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.
Akash Network Service
Open compute marketplace where independent providers bid on container deployments described in SDL, plus AkashML, an OpenAI-compatible inference API.
io.net Service
Decentralized GPU network for renting containers, VMs, and Ray or Kubernetes clusters, plus IO Intelligence, a hosted model API.
Nosana Service
Solana-based GPU marketplace that runs container jobs on community-hosted NVIDIA GPUs, plus an OpenAI-compatible LLM API billed per token.
XVII Case Studies & Engineering Blogs 25
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
vLLM Blog Article
Release notes, performance write-ups, and new-model support posts from the vLLM project and its contributors.
LMSYS Org Blog Article
Posts from the LMSYS team on SGLang features, large-scale deployment recipes, and new hardware backends, alongside its other projects.
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.
PyTorch Blog Article
PyTorch Foundation posts, including inference-relevant writing on ExecuTorch, vLLM, NVIDIA Dynamo, kernels, and accelerator support.
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.
Hugging Face Blog Article
Staff and community posts on open models and inference tooling, including serving libraries, quantization, and batching explainers.
Together AI Blog Article
Product and research posts from Together AI on serving open models, with coverage of inference techniques and GPU cluster offerings.
Fireworks AI Blog Article
Posts from Fireworks AI on model releases, inference and training recipes, research notes, and customer deployments.
Baseten Blog Article
Baseten posts on inference engineering, model performance, and infrastructure, plus product news and customer deployments.
Modal Blog Article
Modal's posts on serving models on GPUs, container and storage infrastructure, and inference benchmarks for open-weights LLMs.
Hazy Research Blog Article
Stanford's Hazy Research posts on hardware-aware kernels, efficient architectures, and local AI, including the ThunderKittens releases.
Thinking Machines Connectionism Article
Research blog from Thinking Machines Lab with posts on deterministic inference, on-policy distillation, and LoRA training.
Cloudflare Blog (Workers AI) Article
Cloudflare posts tagged Workers AI, covering the engineering of serving open models on its network alongside product announcements.
Perplexity Research Article
Perplexity's research and systems posts, including its work on disaggregated prefill and decode, agents, and retrieval models.
XVIII Learning Resources 37
Full textbook behind the Start Here inference chapter, covering rooflines, TPU and GPU anatomy, sharding, and transformer math.
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.
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.
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.
Interactive Hugging Face book on data, tensor, pipeline, context, and expert parallelism on GPU clusters, with benchmarks for each strategy.
AI Engineering Book
Chip Huyen's book on building applications on foundation models, with a chapter on inference optimization and serving trade-offs.
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.
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.
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.
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.
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.
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.
Large Transformer Model Inference Optimization Article
Survey essay on distillation, quantization, pruning, sparsity, mixture of experts, and architecture changes that cut inference cost.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
SGLang Learning Materials Video
Official collection of SGLang slide decks, blog links, and talk recordings from meetups, conferences, and vendor tech briefings.
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.
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.
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.
vLLM Forums Community
Official discussion board for vLLM deployment, performance, and hardware-backend questions; real-time developer chat happens on the project Slack.
SGLang Slack Community
Community workspace linked from the SGLang README where maintainers and users discuss deployments, kernels, and upcoming features.
r/LocalLLaMA Community
Subreddit for running open-weight models on your own hardware, with frequent comparisons of quantizations, runtimes, and multi-GPU builds.
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.
Latent Space Community
AI engineering newsletter and podcast with recurring interviews on inference providers, serving stacks, and GPU economics.
vLLM Conference Event
First vLLM conference, held with Ray Summit in San Francisco in August 2026, on the roadmap, hardware backends, and production inference.