Skip to content
IJK

NVIDIA Snapshot: How the Post Drives and Times a Restore

By IJK ·

The Kubernetes objects and annotation NVIDIA's post names for checkpointing and restoring GPU workloads, what the workload must do, and where its timings start and stop.

The objects and the annotation

To checkpoint a Pod that is already running, create a PodSnapshot that names it. [1]

To start a Pod from a template and checkpoint it as soon as it is ready, create a SnapshotJob instead. [2]

To restore, add the annotation nvidia.com/restore-from to a new Pod, naming the PodSnapshot to restore from. [3]

named bynamed byPodSnapshotcheckpoints a running PodSnapshotJobstarts a Pod, then checkpoints itrestore-from annotationon a new Pod
Which object checkpoints a pod, and what names the snapshot a new pod restores from?

What the workload must do

The workload only needs a small handshake to pause before the checkpoint and resume after the restore. [4]

The repository has ready-made examples for vLLM, SGLang, and NVIDIA TensorRT LLM. [5]

Where the timing starts and stops

The clock runs from process launch until engine initialization returns, before inference. [6]

The clock runs from the moment Snapshot is asked to restore until the workload is serving again. [7]

Both measurements exclude pulling the container image and setting up the container runtime. [8]

Snapshot skips repeated workload initialization; infrastructure provisioning and container image loading remain outside the measured restore path. [9]

Sources

  1. The NVIDIA source says: To checkpoint a Pod that is already running, create a PodSnapshot that names it. NVIDIA Snapshot: checkpoint and restore for GPU workloads
  2. The NVIDIA source says: To start a Pod from a template and checkpoint it as soon as it is ready, create a SnapshotJob instead. NVIDIA Snapshot: checkpoint and restore for GPU workloads
  3. The NVIDIA source says: To restore, add the annotation nvidia.com/restore-from to a new Pod, naming the PodSnapshot to restore from. NVIDIA Snapshot: checkpoint and restore for GPU workloads
  4. The NVIDIA source says: The workload only needs a small handshake to pause before the checkpoint and resume after the restore. NVIDIA Snapshot: checkpoint and restore for GPU workloads
  5. The NVIDIA source says: The repository has ready-made examples for vLLM, SGLang, and NVIDIA TensorRT LLM. NVIDIA Snapshot: checkpoint and restore for GPU workloads
  6. The NVIDIA source says: The clock runs from process launch until engine initialization returns, before inference. NVIDIA Snapshot: checkpoint and restore for GPU workloads
  7. The NVIDIA source says: The clock runs from the moment Snapshot is asked to restore until the workload is serving again. NVIDIA Snapshot: checkpoint and restore for GPU workloads
  8. The NVIDIA source says: Both measurements exclude pulling the container image and setting up the container runtime. NVIDIA Snapshot: checkpoint and restore for GPU workloads
  9. The NVIDIA source says: Snapshot skips repeated workload initialization; infrastructure provisioning and container image loading remain outside the measured restore path. NVIDIA Snapshot: checkpoint and restore for GPU workloads

Editorial (AI-assisted; automatically checked, not human-reviewed). Each statement is linked to its source; check the source before relying on a detail.

  • kubernetes
  • gpu
  • inference
  • nvidia