vLLM
Dynamo vLLM integrates vLLM engines into Dynamo’s distributed runtime, enabling disaggregated serving, KV-aware routing, and request cancellation while maintaining full compatibility with vLLM’s native engine arguments. Dynamo leverages vLLM’s native KV cache events, NIXL-based transfer mechanisms, and metric reporting to enable KV-aware routing and P/D disaggregation.
Installation
Install Latest Release
We recommend using uv to install:
This installs Dynamo with the compatible vLLM version.
Container
We have public images available on NGC Catalog:
Build from source
Development Setup
For development, use the devcontainer which has all dependencies pre-installed.
Feature Support Matrix
Feature Interactions
vLLM offers the broadest feature coverage in Dynamo, with full support for disaggregated serving, KV-aware routing, KV block management, LoRA adapters, and multimodal inference including video and audio. The matrix below shows which feature pairs are validated to work together.
Legend: ✅ Supported | 🚧 Work in Progress / Experimental / Limited
Notes:
- Multimodal + KV-Aware Routing: Image-aware KV routing is supported in the documented vLLM paths. The default Rust frontend path supports model families handled by
llm-multimodal; the Python chat-processor path delegates to vLLM’s multimodal processor. (Source)- KV-Aware LoRA Routing: vLLM supports routing requests based on LoRA adapter affinity.
- Audio Support: vLLM supports audio models like Qwen2-Audio (experimental). (Source)
- Video Support: vLLM supports video input with frame sampling. (Source)
- Speculative Decoding: Eagle3 support documented. (Source)
Quick Start
Start infrastructure services for local development:
Launch an aggregated serving deployment:
Running launch scripts standalone. The
launch/*.shscripts expect etcd and NATS to be reachable on localhost. Bring them up first (run from the repo root, or use the absolute path shown):Then run the launch script. Without these, workers register but the frontend cannot discover them and requests hang.
Rust Backend Preview
The Python vLLM backend remains the recommended entry point for production
deployments and examples. The Rust backend is a development preview for
validating the Rust LLMEngine integration with vLLM’s engine-core client.
Use it when working on the Rust backend contract, cancellation, metrics,
or P/D wiring; use python -m dynamo.vllm or
python -m dynamo.vllm.unified_main for the most complete vLLM feature
coverage.
The Rust backend depends on vLLM’s engine-core crates, which are not yet
published to crates.io and are pulled as git dependencies. They are gated
behind the off-by-default vllm_rs cargo feature, so the default workspace
build does not require the git sources and the crate is excluded from the
published Dynamo crates. You must pass --features vllm_rs to build or run it.
To run the Rust backend locally, start the same infrastructure services and frontend, then launch the Rust worker in another terminal:
The Rust worker starts a managed vLLM engine-core process and registers with the Dynamo frontend using the same discovery path as the Python unified backend. The Rust backend is expected to become the default only after it reaches feature and operational parity with the Python vLLM backend.
Next Steps
- Reference Guide: Configuration, arguments, and operational details
- Examples: Local deployment launch scripts
- KV Cache Offloading: KVBM, LMCache, and FlexKV integrations
- Observability: Metrics and monitoring
- vLLM-Omni: Multimodal model serving
- Kubernetes Deployment: Kubernetes deployment guide
- vLLM Documentation: Upstream vLLM serve arguments