Restore Workers with Dynamo Snapshot
Capture an initialized TensorRT-LLM worker and verify that a restored worker serves requests
NVIDIA Dynamo Snapshot restores initialized workers so new replicas can skip model initialization. This walkthrough captures a TensorRT-LLM worker, restores it, and sends a request through the Dynamo frontend using a single-GPU Qwen3 example.
Experimental. Dynamo 1.5 uses Snapshot 0.1.0, which supports single-GPU workers only. Consult the backend compatibility matrix before using another backend or topology.
Prerequisites
- A Kubernetes cluster with NVIDIA GPU support and one full GPU on an x86_64 node, with MIG disabled. Review Snapshot’s driver, runtime, and privilege requirements.
- A storage class that supports
ReadWriteMany(RWX) for Snapshot artifacts, and a writablemodel-cachePersistentVolumeClaim (PVC) in the workload namespace. These are separate volumes.model-cachealso needsReadWriteManyunless the capture and serving Pods run on the same node. See Model Storage. helm,kubectl,curl, andjq, plus access to the runtime image registry and Hugging Face. The capture Pod downloads the model if it is not cached.
The example selects runtimeClassName: nvidia. Use your cluster’s RuntimeClass
name, or omit the field if the default runtime provides GPU support.
Example
The Qwen3-0.6B example needs one GPU, a 10 GiB model cache, and 1 TiB of Snapshot artifact storage.
Use the same Dynamo release for the platform chart and runtime image. Replace the storage class with your cluster’s RWX storage class:
Provision model-cache in NAMESPACE before deploying. The storage sizes above
are starting allocations; check free space before capturing, especially if you
retain multiple artifacts.
Install the platform with Snapshot
For a test installation, enable the bundled Snapshot chart and the Dynamo integration together. The platform chart selects the matching Snapshot version; no separate Snapshot version is needed.
For an existing platform release, use its name, namespace, and version.
--reuse-values preserves its settings. The Snapshot chart creates an RWX
artifact PVC; use snapshot.storage.pvc values to customize its size or reuse an
existing claim. See Snapshot storage configuration.
If Snapshot is already managed separately, keep global.snapshot.install=false
and omit the snapshot.storage.pvc settings. Verify that its APIs and agents are
ready before enabling dynamo-operator.checkpoint.enabled. Do not install a
second cluster-wide Snapshot operator. Separate installation is recommended for
production; see Snapshot installation.
Deploy the capture and serving configuration
Download the example and set the runtime image:
The example sets experimental.checkpoint.enabled: true and
startupPolicy: WaitForCheckpoint. Dynamo creates a SnapshotJob to initialize
and capture the worker. Serving replicas stay at zero until capture completes,
then start from the resulting PodSnapshot.
The default policy, Immediate, starts serving workers cold while capture runs.
Only Pods created after capture completes restore; existing workers are not
restarted when the snapshot becomes ready.
Verify capture and restore
Wait for the DGD to report a usable artifact, then verify the worker itself:
The selector excludes the capture Pod. Success requires both
nvidia.com/Restored=True and the expected nvidia.com/restore-from annotation;
artifact readiness alone does not prove a successful restore.
If a step fails
Inspect the capture conditions and workload events:
- Capture is pending: check GPU scheduling, image pulls, the model-cache PVC, and Snapshot agent readiness.
- Capture fails: inspect the
SnapshotJobfailure reason and capture Pod logs. Keep the recipe’sOMPI_MCA_pml=ob1andOMPI_MCA_btl=tcp,selfsettings. - Restore fails: inspect the worker’s
nvidia.com/Restoredcondition and Snapshot troubleshooting.
Clean Up
Stop port forwarding, then delete the example:
The default deletionPolicy: Delete removes the DGD-managed capture and artifact.
The model-cache PVC and the Snapshot installation remain available for other
workloads. See the checkpoint configuration reference
for reuse and retention rules.