Python
229 entries · 17 sections
Editor’s pick
II Inference Engines 24
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.
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.
MLX LM Tool
Python package for running, quantizing, and fine-tuning LLMs on Apple silicon with MLX, including a local OpenAI-style server.
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.
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.
TextGen (text-generation-webui) Tool
Desktop app and API for local models that switches between llama.cpp, ExLlamaV3, and Transformers backends, with portable builds.
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.
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.
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-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.
III Distributed Serving & Orchestration 23
NVIDIA Dynamo Tool
Datacenter-scale serving layer over vLLM, SGLang, and TensorRT-LLM with prefill/decode disaggregation, KV-aware routing, and tiered KV cache.
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.
KServe Tool
CNCF platform for generative and predictive model serving on Kubernetes, with vLLM and llm-d backends, model caching, and autoscaling.
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.
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.
safetensors Library
Pickle-free tensor file format with zero-copy, lazy loading, and the Rust library behind it; the standard checkpoint format for Hugging Face models.
ONNX Spec
Open graph format and operator set for moving models from training frameworks to runtimes such as ONNX Runtime, TensorRT, and OpenVINO.
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.
Xet (xet-core) Library
Client for Hugging Face's Xet storage backend that deduplicates model files in chunks to speed uploads and downloads from the Hub.
IV Gateways & Routing 6
LiteLLM Tool
Python SDK and proxy that translate many provider APIs into the OpenAI format, with virtual keys, budgets, load balancing, and request logging.
ContextForge Tool
Registry and proxy that federates MCP servers, A2A agents, and REST or gRPC APIs behind one endpoint, with auth, rate limits, and OpenTelemetry tracing.
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.
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.
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 8
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.
VI Decoding Acceleration 10
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.
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.
VII KV Cache & Attention 6
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.
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.
flash-linear-attention Library
Triton kernels and layers for linear attention, state-space, and sparse attention variants such as Gated DeltaNet, KDA, and Mamba2.
VIII Scheduling & Parallelism 4
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.
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.
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.
IX Kernels & GPU Programming 25
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.
CUTLASS Library
NVIDIA's C++ templates and CuTe layout abstractions for GEMM-class kernels, plus the Python CuTe DSL, from Ampere through Blackwell.
Transformer Engine Library
Transformer layers and scaling recipes for FP8, MXFP8, and NVFP4 execution on Hopper and Blackwell, with PyTorch and JAX bindings.
QuACK Library
Norm, softmax, cross-entropy, and GEMM-with-epilogue kernels written in CuTe DSL by the FlashAttention authors, for Hopper and Blackwell.
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.
Kernels (Hugging Face) Library
Loader and build tooling that fetches precompiled, version-pinned compute kernels from the Hugging Face Hub at runtime.
TileKernels Library
DeepSeek's TileLang kernels for MoE routing, FP8 and FP4 quantization, Engram gating, and hyper-connections on NVIDIA GPUs and Ascend NPUs.
Triton Tool
Python-embedded language and compiler for writing tiled GPU kernels, with Gluon as a lower-level layer.
CuTe DSL Docs
Python DSL exposing CUTLASS's CuTe layouts and tensor-core atoms with JIT compilation; FlashAttention-4 and QuACK are written in it.
Triton Tutorials Docs
Official worked kernels from vector add through fused softmax, grouped matmul, fused attention, persistent and block-scaled matmul.
Gluon Docs
Lower-level Triton programming model that makes layouts, warp specialization, and target-specific features explicit to the kernel author.
cuTile Python Tool
NVIDIA's tile-level Python kernel language, compiled through the MLIR-based CUDA Tile IR rather than written as per-thread SIMT code.
TileLang Tool
Python tile DSL built on TVM for writing GPU and accelerator kernels with explicit pipelining, used by DeepSeek's TileKernels.
Helion Tool
PyTorch-native kernel DSL that lowers tiled Python code to Triton and autotunes across many implementation choices.
Pallas Docs
JAX extension for writing custom kernels that lower through Mosaic on TPUs and through Triton or Mosaic GPU on NVIDIA GPUs.
NKI (Neuron Kernel Interface) Docs
Tile-level Python kernel language for AWS Trainium and Inferentia NeuronCores with explicit control over on-chip memory and engines.
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.
TileRT Tool
Tile-level runtime that splits LLM operators into fine-grained tasks and overlaps compute, I/O, and communication for low-latency decoding.
Triton-distributed Tool
Triton extended with communication primitives for writing kernels that overlap computation with intra- and inter-node transfers.
KernelBench Benchmark
Stanford benchmark of PyTorch operators and models that LLMs must rewrite as correct, faster GPU kernels; introduced at ICML 2025.
FlashInfer-Bench Benchmark
Kernel tasks and workloads captured from LLM serving, with tooling to swap verified AI-written kernels into SGLang and vLLM.
SOL-ExecBench Benchmark
Scores AI-written kernels in several DSLs against an analytical B200 speed-of-light bound, with correctness and reward-hack checks.
TritonBench Benchmark
Operator benchmark suite that times Triton kernels against PyTorch eager, vendor libraries, and other baselines on standard inputs.
X Compilers & Graph Runtimes 13
torch.compile Docs
PyTorch's JIT compiler entry point, where TorchDynamo captures Python bytecode into FX graphs and TorchInductor emits Triton or C++.
PyTorch 2: Dynamic Python Bytecode Transformation and Graph Compilation Paper
Design paper for TorchDynamo and TorchInductor, covering guarded graph capture and the code generation behind torch.compile.
torch.export Docs
Ahead-of-time capture of a PyTorch program into one sound graph with symbolic shapes, the input format for AOTInductor and other backends.
AOTInductor Docs
Compiles exported PyTorch programs into a shared library and package that load and run from C++ or Python without recompiling.
Torch-TensorRT Tool
Compiler backend that lowers torch.compile or torch.export graphs to TensorRT engines and falls back to PyTorch for unsupported ops.
Lightning Thunder Tool
Source-to-source PyTorch compiler that traces programs and hands regions to executors such as nvFuser, cuDNN, and torch.compile.
TensorRT Tool
NVIDIA's inference optimizer and runtime; version 11 removed weakly typed networks, implicit quantization, and IPluginV2.
ONNX Runtime Tool
Cross-platform runtime for ONNX graphs that applies graph optimizations and dispatches to execution providers like CUDA, TensorRT, and QNN.
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 Tool
Intel's toolkit for converting, optimizing, and running models on Intel CPUs, integrated and discrete GPUs, and NPUs.
OpenVINO GenAI Library
C++ and Python pipelines for LLMs, VLMs, Whisper, and image generation on OpenVINO, with continuous batching and speculative decoding.
MIGraphX Tool
AMD's graph compiler for ROCm that imports ONNX models, fuses operators, and tunes kernels for Instinct and Radeon GPUs.
Apache TVM Tool
Python-first ML compilation framework with the Relax graph IR and a tensor-level IR, used underneath MLC LLM and WebLLM.
XI Hardware & Accelerators 10
TheRock Tool
Open-source build system that assembles ROCm from source into redistributable SDKs for AMD GPUs.
Hardware plugin that serves JAX and PyTorch models on TPUs through vLLM, moving to the vllm-project/vllm-jax repository.
Index for AWS's SDK for Trainium and Inferentia, covering vLLM serving, PyTorch and JAX training, and the Neuron compiler and runtime.
TT-Metalium Tool
Tenstorrent's low-level kernel programming model and TT-NN operator library for its Wormhole and Blackhole accelerators.
Cerebras SDK Docs
Documentation for writing custom CSL kernels on the Cerebras Wafer-Scale Engine, with the host runtime and hardware model.
PyTorch toolkit for quantization, sparsity, and operator approximation that targets deployment on d-Matrix Corsair hardware.
Qualcomm's compiler, runtime, and model recipes for deploying vision and generative AI models on Cloud AI 100 accelerators.
vLLM QAIC Plugin Tool
Hardware plugin that serves inference through the Qualcomm Cloud AI Compiler on Cloud AI 100 and 100 Ultra accelerators.
vLLM Ascend Tool
Community-maintained vLLM hardware plugin for running inference on Huawei Ascend NPUs.
vLLM Gaudi Tool
Community-maintained vLLM hardware plugin that targets Intel Gaudi accelerators.
XII Benchmarking & Capacity Planning 11
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.
ServeGen Dataset
Characterizes Alibaba Cloud Model Studio traffic for language, multimodal, and reasoning models and generates synthetic workloads that keep its burstiness.
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.
XIII Observability & Operations 7
PyTorch Profiler Tool
Captures operator, GPU kernel, and memory events from PyTorch programs and exports Chrome-format traces for viewing in Perfetto or analysis with HTA.
Analyzes PyTorch profiler traces across ranks, splitting GPU time into compute, communication, and idle, with overlap and critical-path reports.
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.
Zeus Library
Measures energy of code regions on NVIDIA and AMD GPUs, CPUs, DRAM, Apple silicon, and Jetson, and ships optimizers for GPU power limits and batch size.
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.
Hugging Face Pickle Scanning Docs
Explains why pickle-based checkpoints can run code on load, how the Hub flags risky imports in uploads, and why safetensors avoids the problem.
Fickling Tool
Trail of Bits decompiler and static analyzer for pickle and PyTorch files that flags code-executing payloads before a model is loaded.
XIV Edge, Mobile & Browser 11
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.
MLC LLM Tool
Compiler-based LLM deployment stack built on TVM that targets iOS, Android, desktop GPUs, and browsers from one model definition.
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.
Core ML Tools Tool
Converter from PyTorch and other frameworks to the Core ML format, with quantization, palettization, and pruning tools for shipping models on Apple devices.
ONNX Runtime QNN Execution Provider Docs
ONNX Runtime provider that offloads models to the Hexagon NPU on Snapdragon through Qualcomm AI Engine Direct, including Windows on Arm laptops.
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.
OpenVINO NPU Plugin Docs
OpenVINO documentation for its NPU plugin, covering drivers, the model compiler, and model caching for running inference on Intel neural processors.
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 57
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.
vLLM-Omni Tool
Extends vLLM to any-to-any models by running autoregressive, diffusion, and audio components as separate stages linked by a connector layer.
SGLang-Omni Tool
Multi-stage runtime for omni, speech, and TTS models that splits generation into encoder, autoregressive, and vocoder stages behind OpenAI-style APIs.
Encoder Disaggregation for Scalable Multimodal Model Serving Article
Explains how moving the vision encoder to its own workers, with a connector and an encoder-output cache, removes its interference with text generation.
Reference for passing images, video, audio, and precomputed embeddings to vLLM, with per-prompt media limits, media caching, and domain restrictions.
SGLang Multimodal Language Models Docs
Supported vision, video, and audio-input models in SGLang with launch commands and flags for feature transport and media preprocessing.
Diffusers Library
PyTorch library of pipelines, schedulers, and model classes for image, video, and audio diffusion, with offloading and quantization backends for smaller GPUs.
ComfyUI Tool
Node-graph application and API backend for composing diffusion workflows locally, with a large ecosystem of community custom nodes.
SGLang Diffusion Docs
Image and video generation inside SGLang, with native pipelines, an OpenAI-compatible API, several parallelism modes, and cache-based acceleration.
xDiT Library
Parallel inference engine for diffusion transformers that combines unified sequence parallelism, PipeFusion, CFG parallelism, and parallel VAE across GPUs.
FastVideo Library
Video generation framework that pairs optimized inference with post-training, with recent support for consumer GPUs and Apple silicon.
LightX2V Library
Unified inference framework for text-to-video, image-to-video, text-to-image, and image-editing models, built for low-overhead execution.
Nunchaku Library
Inference engine for 4-bit diffusion transformers that runs SVDQuant-quantized models and ships native ComfyUI nodes.
cache-dit Library
Toolkit on top of Diffusers that adds block-level caching, parallelism, quantization, and CPU offload for diffusion transformers, also wired into other engines.
TeaCache Tool
Training-free cache that reuses transformer outputs across denoising steps when timestep-embedding changes predict small differences in the result.
faster-whisper Library
Reimplements Whisper on CTranslate2 with 8-bit quantization for CPU and GPU, and serves as the transcription backend of servers such as Speaches.
Kyutai Delayed Streams Modeling Tool
Runnable Kyutai streaming speech-to-text and text-to-speech models built on delayed streams modeling, with batching for real-time use.
Pipecat Library
Python framework for real-time voice and multimodal agents that chains transports, speech services, and language models into streaming pipelines.
LiveKit Agents Library
Server-side framework for realtime voice and video agents that plugs speech-to-text, LLM, and text-to-speech services into WebRTC sessions with job dispatch.
Speaches Tool
OpenAI API-compatible server for streaming transcription, translation, and speech generation, using faster-whisper for STT and Piper or Kokoro for TTS.
Infinity Tool
REST server for embedding, reranking, and classification models whose v3 line rewrites the Python server as a native Rust service on LibTorch.
FastEmbed Library
Light Python library that produces dense and sparse text embeddings through ONNX Runtime, with no PyTorch dependency and no GPU requirement.
Sentence Transformers Library
Python library with one API for computing embeddings and reranking, and PyTorch, ONNX, and OpenVINO backends for faster inference.
vLLM Pooling Models Docs
How vLLM serves embedding, classification, and scoring or reranking models through its pooling runner, both offline and over online endpoints.
Shows how to serve dense embedding models in SGLang through the embeddings endpoint, with Matryoshka and multimodal examples and a supported-model table.
Pydantic AI Decision Models Docs
Guide to running agents on decision models, where each output field becomes a typed question and low-confidence answers can fall back to an LLM.
vLLM-SR d3 Tool
Open-weight 27B multimodal decision model from the vLLM Semantic Router project for choice, yes/no, and score questions over text, images, and video.
Perplexity Decider Tool
Open-weight 27B decision model from Perplexity that reads a state and all its questions in one sequence, with a separate readout per question.
Laya Tool
Non-autoregressive multilingual decision models with a Python runtime that routes each request to a checkpoint and can run on CPU, GPU, or ONNX Runtime.
Contrastive Language Model (CLM) Tool
Decision model that trains state and action heads on frozen Qwen3-8B embeddings, so candidate actions are encoded once and ranked against each new state.
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.
openpi Library
Open pi-0, pi-0-FAST, and pi-0.5 vision-language-action models with base checkpoints, fine-tuning recipes, and a websocket policy server for remote inference.
LeRobot Asynchronous Inference Docs
Tutorial on decoupling action prediction from execution with a policy server and robot client, plus tuning of chunk size and the refill threshold.
Isaac GR00T Library
NVIDIA's open foundation model for generalist robots, with fine-tuning code and an ONNX and TensorRT deployment path for desktop GPUs and Jetson.
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.
TorchRec Library
PyTorch domain library with sharding and parallelism primitives for recommender models whose embedding tables span many GPUs, for training and inference.
Treelite Library
Library and file format for decision-tree forests that lets C++ applications load, exchange, and persist models from several tree-training frameworks.
Generative Recommenders (HSTU) Library
Reference code for HSTU and M-FALCON, which recast recommendation as sequence generation and speed up large sequential recommender training and inference.
NVIDIA RecSys Examples Library
NVIDIA's HSTU and semantic-ID recommender examples, including inference with a paged GPU KV cache, Triton Inference Server, and AOTInductor C++ deployment.
XVI Providers & Clouds 3
Modal Service
Python-first serverless platform that runs functions, web endpoints, and batch jobs in autoscaling GPU containers, with sandboxes and multi-node clusters.
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.
XVII Case Studies & Engineering Blogs 3
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.
PyTorch Blog Article
PyTorch Foundation posts, including inference-relevant writing on ExecuTorch, vLLM, NVIDIA Dynamo, kernels, and accelerator support.
Hugging Face Blog Article
Staff and community posts on open models and inference tooling, including serving libraries, quantization, and batching explainers.
XVIII Learning Resources 8
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.
GPU MODE Lectures Course
Slides and code for the community lecture series on CUDA, Triton, CUTLASS, profiling, and inference kernels; recordings are on YouTube.
Triton Puzzles Course
Notebook puzzles that teach Triton from first principles, building from vector ops up to matmul and FlashAttention with a visual debugger.
NVIDIA Accelerated Computing Hub Course
Open notebooks and syllabi from NVIDIA for CUDA C++, CUDA Python, and CUDA Tile, runnable on cloud GPUs or Colab.
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.
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.
PyTorch Developer Discussions Community
Forum where PyTorch core developers post design notes and updates on torch.compile, Inductor, export, and distributed internals.
PyTorch Conference Event
Linux Foundation conference for the PyTorch ecosystem, with sessions on compilers, kernels, and inference engines such as vLLM and SGLang.