| Support Matrix | Guides | Architecture and Features | APIs | SDK |
NVIDIA Dynamo is a high-throughput low-latency inference framework designed for serving generative AI and reasoning models in multi-node distributed environments. Dynamo is designed to be inference engine agnostic (supports TRT-LLM, vLLM, SGLang or others) and captures LLM-specific capabilities such as:
Built in Rust for performance and in Python for extensibility, Dynamo is fully open-source and driven by a transparent, OSS (Open Source Software) first development approach.
The following examples require a few system level packages. Recommended to use Ubuntu 24.04 with a x86_64 CPU. See support_matrix.md
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -yq python3-dev python3-pip python3-venv libucx0
python3 -m venv venv
source venv/bin/activate
pip install ai-dynamo[all]
[!NOTE] TensorRT-LLM Support is currently available on a branch
For a consistent development environment, you can use the provided devcontainer configuration. This requires:
To use the devcontainer:
This will build and start a container with all the necessary dependencies for Dynamo development.
To run a model and interact with it locally you can call dynamo run with a hugging face model. dynamo run supports several backends
including: mistralrs, sglang, vllm, and tensorrtllm.
dynamo run out=vllm deepseek-ai/DeepSeek-R1-Distill-Llama-8B
? User › Hello, how are you?
✔ User · Hello, how are you?
Okay, so I'm trying to figure out how to respond to the user's greeting. They said, "Hello, how are you?" and then followed it with "Hello! I'm just a program, but thanks for asking." Hmm, I need to come up with a suitable reply. ...
Dynamo provides a simple way to spin up a local set of inference components including:
To run a minimal configuration you can use a pre-configured example.
First start the Dynamo Distributed Runtime services:
docker compose -f deploy/docker-compose.yml up -d
Next serve a minimal configuration with an http server, basic round-robin router, and a single worker.
cd examples/llm
dynamo serve graphs.agg:Frontend -f configs/agg.yaml
curl localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "deepseek-ai/DeepSeek-R1-Distill-Llama-8B",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
],
"stream":false,
"max_tokens": 300
}' | jq
To develop locally, we recommend working inside of the container
./container/build.sh
./container/run.sh -it --mount-workspace
cargo build --release
mkdir -p /workspace/deploy/dynamo/sdk/src/dynamo/sdk/cli/bin
cp /workspace/target/release/http /workspace/deploy/dynamo/sdk/src/dynamo/sdk/cli/bin
cp /workspace/target/release/llmctl /workspace/deploy/dynamo/sdk/src/dynamo/sdk/cli/bin
uv pip install -e .
(top 30 of 50)
Rust
55.4%
Go
27.6%
Python
10.1%
C++
2.1%
PowerShell
1.3%
Shell
1.1%
| Support Matrix | Guides | Architecture and Features | APIs | SDK |
NVIDIA Dynamo is a high-throughput low-latency inference framework designed for serving generative AI and reasoning models in multi-node distributed environments. Dynamo is designed to be inference engine agnostic (supports TRT-LLM, vLLM, SGLang or others) and captures LLM-specific capabilities such as:
Built in Rust for performance and in Python for extensibility, Dynamo is fully open-source and driven by a transparent, OSS (Open Source Software) first development approach.
The following examples require a few system level packages. Recommended to use Ubuntu 24.04 with a x86_64 CPU. See support_matrix.md
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -yq python3-dev python3-pip python3-venv libucx0
python3 -m venv venv
source venv/bin/activate
pip install ai-dynamo[all]
[!NOTE] TensorRT-LLM Support is currently available on a branch
For a consistent development environment, you can use the provided devcontainer configuration. This requires:
To use the devcontainer:
This will build and start a container with all the necessary dependencies for Dynamo development.
To run a model and interact with it locally you can call dynamo run with a hugging face model. dynamo run supports several backends
including: mistralrs, sglang, vllm, and tensorrtllm.
dynamo run out=vllm deepseek-ai/DeepSeek-R1-Distill-Llama-8B
? User › Hello, how are you?
✔ User · Hello, how are you?
Okay, so I'm trying to figure out how to respond to the user's greeting. They said, "Hello, how are you?" and then followed it with "Hello! I'm just a program, but thanks for asking." Hmm, I need to come up with a suitable reply. ...
Dynamo provides a simple way to spin up a local set of inference components including:
To run a minimal configuration you can use a pre-configured example.
First start the Dynamo Distributed Runtime services:
docker compose -f deploy/docker-compose.yml up -d
Next serve a minimal configuration with an http server, basic round-robin router, and a single worker.
cd examples/llm
dynamo serve graphs.agg:Frontend -f configs/agg.yaml
curl localhost:8000/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "deepseek-ai/DeepSeek-R1-Distill-Llama-8B",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
],
"stream":false,
"max_tokens": 300
}' | jq
To develop locally, we recommend working inside of the container
./container/build.sh
./container/run.sh -it --mount-workspace
cargo build --release
mkdir -p /workspace/deploy/dynamo/sdk/src/dynamo/sdk/cli/bin
cp /workspace/target/release/http /workspace/deploy/dynamo/sdk/src/dynamo/sdk/cli/bin
cp /workspace/target/release/llmctl /workspace/deploy/dynamo/sdk/src/dynamo/sdk/cli/bin
uv pip install -e .
(top 30 of 50)
Rust
55.4%
Go
27.6%
Python
10.1%
C++
2.1%
PowerShell
1.3%
Shell
1.1%