Dynamo with TensorRT-LLM, disaggregated
Run TensorRT-LLM prefill and decode as separate Dynamo workers on Kubernetes, behind the Dynamo frontend, with KV cache moving by NIXL over RDMA where available. Ends with a Ready DynamoGraphDeployment, a verified request path and a measured comparison with aggregated serving.
Scope: this combination only. Engine tuning lives in tensorrt-llm, platform depth in nvidia-dynamo, the split concept in disaggregated-serving.
Work through the steps in order. Load a reference only when a step names it.
Discover first
Inspect the live system before changing anything. Every command is read-only and never prints secrets.
kubectl version -o json | jq -r '.serverVersion.gitVersion' # Dynamo chart needs 1.30+
kubectl get nodes -o json | jq -r '.items[] | [.metadata.name, (.status.allocatable["nvidia.com/gpu"] // "0"), (.status.allocatable["rdma/ib"] // "no-rdma")] | @tsv'
kubectl get crd | grep -E 'nvidia.com|grove|kai|leaderworkerset|volcano'
kubectl get clusterrolebinding -o json | jq -r '.items[] | select(.metadata.name | contains("dynamo-operator-manager")) | .subjects[0].namespace'
helm list -A | grep -Ei 'dynamo|gpu-operator|grove|kai'
kubectl get dynamographdeployments -A 2>/dev/null
nvidia-smi --query-gpu=name,driver_version --format=csv,noheader 2>/dev/null
Decision flow
- No Dynamo operator -> install the platform:
references/install-platform.md. If a cluster-wide operator already exists, do not install a second one.
- Is a split justified? Measure aggregated first (
agg.yaml). Long prompts, tight TTFT and ITL targets, enough GPUs for both pools and a fast fabric justify it. Otherwise stay aggregated. See disaggregated-serving.
- Single-node workers (one GPU or one node per worker) ->
references/deploy-disagg.md.
- Workers span nodes (large TP or EP) -> multinode needs Grove with KAI Scheduler, or LeaderWorkerSet with Volcano:
references/install-platform.md, then the multinode section of references/deploy-disagg.md.
- Production KV transfer -> RDMA first:
references/kv-transfer-and-networking.md. Without it Dynamo falls back to TCP with severe TTFT degradation.
- Repeated prefixes or many replicas -> KV-aware routing, then Planner for autoscaling:
references/routing-scaling-ops.md.
- Hangs, KV exhaustion, image or driver errors ->
references/routing-scaling-ops.md (failure table).
Rules
- Ask before changing the system. CRDs, operators, Helm releases, GPU pods and privileged containers need approval and an undo path.
- Secrets never touch output. The
hf-token-secret is built from a 0600 file or env var, never echoed or committed.
- Pin versions. Dynamo 1.5.1 ships TRT-LLM
1.3.0rc25, a release candidate. Tell the user, and pin the image tag. Do not assume it matches the tensorrt-llm skill's engine version.
- Use the v1beta1 API. Older docs still show
v1alpha1. Check kubectl explain against the installed CRD.
- Size
max_tokens_in_buffer. It must exceed the longest input, or workers can deadlock under load.
- Do not copy example GPU or parallelism numbers. The shipped Qwen3-0.6B example uses one GPU per role; real models need TP and pool sizes derived from
choosing-hardware.
- Keep the aggregated deployment until the split beats it on your workload and passes a
llm-evals check.
- RDMA and privileged modes are cluster decisions. Never add
privileged: true, host paths or extra capabilities without asking.
Build the stack
Version pins to know (checked 2026-10-11)
| Component |
Version |
| Dynamo platform chart and images |
1.5.1 |
| Kubernetes |
1.30+ |
| TRT-LLM inside Dynamo 1.5.1 |
1.3.0rc25 (release candidate) |
tensorrt-llm skill in this repo |
v1.2.1 stable engine docs |
| Grove and KAI Scheduler for 1.5.x |
Grove >= v0.1.0-alpha.13, KAI >= v0.17.0 |
| LWS for the alternative |
>= v0.7.0 |
Reference index
references/install-platform.md: GPU operator, Dynamo chart, multinode orchestrators, verification, uninstall.
references/deploy-disagg.md: aggregated baseline, disaggregated DGD, engine YAMLs, multinode, request test.
references/kv-transfer-and-networking.md: cache_transceiver_config, NIXL backends, RDMA, EFA, GB200 notes.
references/routing-scaling-ops.md: KV router, Planner, failure table, upgrades, teardown, verification gaps.
Companion skills
nvidia-dynamo: Dynamo platform depth. Install: npx skills add ScaleDockHQ/llm-skills --skill nvidia-dynamo. If it is not yet listed in the install picker, install later: nvidia-dynamo skill.
tensorrt-llm: engine build and config. Install: npx skills add ScaleDockHQ/llm-skills --skill tensorrt-llm.
disaggregated-serving: when the split helps and the numerics gate. Install: npx skills add ScaleDockHQ/llm-skills --skill disaggregated-serving.
multi-node-inference: multinode TP and EP concepts. Install: npx skills add ScaleDockHQ/llm-skills --skill multi-node-inference.
prefix-aware-routing: KV-aware routing background. Install: npx skills add ScaleDockHQ/llm-skills --skill prefix-aware-routing.
nccl-rdma-networking: RDMA, GPUDirect and fabric checks. Install: npx skills add ScaleDockHQ/llm-skills --skill nccl-rdma-networking.
nvidia-gpu-operator: drivers and device plugin. Install: npx skills add ScaleDockHQ/llm-skills --skill nvidia-gpu-operator.
llm-evals: quality gate after enabling the split. Install: npx skills add ScaleDockHQ/llm-skills --skill llm-evals.
choosing-hardware: size GPUs and nodes. Install: npx skills add ScaleDockHQ/llm-skills --skill choosing-hardware.
1---2name: dynamo-trtllm-disaggregated3description: Deploys TensorRT-LLM with NVIDIA Dynamo on Kubernetes as separate prefill and decode workers using DynamoGraphDeployment, NIXL KV transfer and the KV-aware router. Use for Dynamo plus TRT-LLM disagg, dynamo.trtllm, DynamoGraphDeployment, cache_transceiver_config or Grove. Not for plain TensorRT-LLM, vLLM or llm-d.4license: MIT5compatibility: Needs kubectl and helm 3 on a Kubernetes 1.30+ cluster with NVIDIA GPU nodes (driver 580+ for current CUDA 13 images), ideally RDMA. Installs, CRDs, operators and GPU workloads need the user's explicit approval.6metadata:7 source: https://skillmd.com/skills/scaledockhq/dynamo-trtllm-disaggregated8 author: ScaleDockHQ9 version: "0.1.0"10---1112# Dynamo with TensorRT-LLM, disaggregated1314Run TensorRT-LLM prefill and decode as separate Dynamo workers on Kubernetes, behind the Dynamo frontend, with KV cache moving by NIXL over RDMA where available. Ends with a Ready `DynamoGraphDeployment`, a verified request path and a measured comparison with aggregated serving.1516**Scope:** this combination only. Engine tuning lives in `tensorrt-llm`, platform depth in `nvidia-dynamo`, the split concept in `disaggregated-serving`.1718Work through the steps in order. Load a reference only when a step names it.1920## Discover first2122Inspect the live system before changing anything. Every command is read-only and never prints secrets.2324```bash25kubectl version -o json | jq -r '.serverVersion.gitVersion' # Dynamo chart needs 1.30+26kubectl get nodes -o json | jq -r '.items[] | [.metadata.name, (.status.allocatable["nvidia.com/gpu"] // "0"), (.status.allocatable["rdma/ib"] // "no-rdma")] | @tsv'27kubectl get crd | grep -E 'nvidia.com|grove|kai|leaderworkerset|volcano'28kubectl get clusterrolebinding -o json | jq -r '.items[] | select(.metadata.name | contains("dynamo-operator-manager")) | .subjects[0].namespace'29helm list -A | grep -Ei 'dynamo|gpu-operator|grove|kai'30kubectl get dynamographdeployments -A 2>/dev/null31nvidia-smi --query-gpu=name,driver_version --format=csv,noheader 2>/dev/null32```3334## Decision flow35361. **No Dynamo operator** -> install the platform: `references/install-platform.md`. If a cluster-wide operator already exists, do not install a second one.372. **Is a split justified?** Measure aggregated first (`agg.yaml`). Long prompts, tight TTFT and ITL targets, enough GPUs for both pools and a fast fabric justify it. Otherwise stay aggregated. See `disaggregated-serving`.383. **Single-node workers (one GPU or one node per worker)** -> `references/deploy-disagg.md`.394. **Workers span nodes (large TP or EP)** -> multinode needs Grove with KAI Scheduler, or LeaderWorkerSet with Volcano: `references/install-platform.md`, then the multinode section of `references/deploy-disagg.md`.405. **Production KV transfer** -> RDMA first: `references/kv-transfer-and-networking.md`. Without it Dynamo falls back to TCP with severe TTFT degradation.416. **Repeated prefixes or many replicas** -> KV-aware routing, then Planner for autoscaling: `references/routing-scaling-ops.md`.427. **Hangs, KV exhaustion, image or driver errors** -> `references/routing-scaling-ops.md` (failure table).4344## Rules4546- **Ask before changing the system.** CRDs, operators, Helm releases, GPU pods and privileged containers need approval and an undo path.47- **Secrets never touch output.** The `hf-token-secret` is built from a `0600` file or env var, never echoed or committed.48- **Pin versions.** Dynamo 1.5.1 ships TRT-LLM `1.3.0rc25`, a release candidate. Tell the user, and pin the image tag. Do not assume it matches the `tensorrt-llm` skill's engine version.49- **Use the v1beta1 API.** Older docs still show `v1alpha1`. Check `kubectl explain` against the installed CRD.50- **Size `max_tokens_in_buffer`.** It must exceed the longest input, or workers can deadlock under load.51- **Do not copy example GPU or parallelism numbers.** The shipped Qwen3-0.6B example uses one GPU per role; real models need TP and pool sizes derived from `choosing-hardware`.52- **Keep the aggregated deployment** until the split beats it on your workload and passes a `llm-evals` check.53- **RDMA and privileged modes are cluster decisions.** Never add `privileged: true`, host paths or extra capabilities without asking.5455## Build the stack5657- [ ] Check GPU driver, CUDA and RDMA readiness -> `references/kv-transfer-and-networking.md`58- [ ] Install the Dynamo platform (and Grove or LWS if multinode) -> `references/install-platform.md`59- [ ] Create the HF token Secret -> `references/install-platform.md`60- [ ] Baseline: deploy aggregated and measure -> `references/deploy-disagg.md`61- [ ] Deploy the disaggregated `DynamoGraphDeployment` with engine YAMLs -> `references/deploy-disagg.md`62- [ ] Configure `cache_transceiver_config` and the fabric -> `references/kv-transfer-and-networking.md`63- [ ] Optional: KV router, then Planner or autoscaling -> `references/routing-scaling-ops.md`64- [ ] Verify: the DGD is Successful, frontend `/v1/models` lists the model, a chat request returns, worker logs show NIXL initialised with the expected backend, and TTFT and ITL beat the aggregated run under the target load.6566## Version pins to know (checked 2026-10-11)6768| Component | Version |69| --------------------------------- | -------------------------------------------- |70| Dynamo platform chart and images | 1.5.1 |71| Kubernetes | 1.30+ |72| TRT-LLM inside Dynamo 1.5.1 | `1.3.0rc25` (release candidate) |73| `tensorrt-llm` skill in this repo | v1.2.1 stable engine docs |74| Grove and KAI Scheduler for 1.5.x | Grove >= `v0.1.0-alpha.13`, KAI >= `v0.17.0` |75| LWS for the alternative | >= v0.7.0 |7677## Reference index7879- `references/install-platform.md`: GPU operator, Dynamo chart, multinode orchestrators, verification, uninstall.80- `references/deploy-disagg.md`: aggregated baseline, disaggregated DGD, engine YAMLs, multinode, request test.81- `references/kv-transfer-and-networking.md`: `cache_transceiver_config`, NIXL backends, RDMA, EFA, GB200 notes.82- `references/routing-scaling-ops.md`: KV router, Planner, failure table, upgrades, teardown, verification gaps.8384## Companion skills8586- `nvidia-dynamo`: Dynamo platform depth. Install: `npx skills add ScaleDockHQ/llm-skills --skill nvidia-dynamo`. If it is not yet listed in the install picker, install later: nvidia-dynamo skill.87- `tensorrt-llm`: engine build and config. Install: `npx skills add ScaleDockHQ/llm-skills --skill tensorrt-llm`.88- `disaggregated-serving`: when the split helps and the numerics gate. Install: `npx skills add ScaleDockHQ/llm-skills --skill disaggregated-serving`.89- `multi-node-inference`: multinode TP and EP concepts. Install: `npx skills add ScaleDockHQ/llm-skills --skill multi-node-inference`.90- `prefix-aware-routing`: KV-aware routing background. Install: `npx skills add ScaleDockHQ/llm-skills --skill prefix-aware-routing`.91- `nccl-rdma-networking`: RDMA, GPUDirect and fabric checks. Install: `npx skills add ScaleDockHQ/llm-skills --skill nccl-rdma-networking`.92- `nvidia-gpu-operator`: drivers and device plugin. Install: `npx skills add ScaleDockHQ/llm-skills --skill nvidia-gpu-operator`.93- `llm-evals`: quality gate after enabling the split. Install: `npx skills add ScaleDockHQ/llm-skills --skill llm-evals`.94- `choosing-hardware`: size GPUs and nodes. Install: `npx skills add ScaleDockHQ/llm-skills --skill choosing-hardware`.