Restoring a Vertex AI Training Cluster: Recovering a Stopped GPU Node from Expired Reservations
Restoring a Vertex AI Training Cluster: Recovering a Stopped GPU Node from Expired Reservations Cluster Architecture Google Cloud’s Vertex AI Training Cluster (VTC) is designed for large-scale AI/ML model training. The environment discussed here is a High-Performance Computing (HPC) cluster provisioned using VTC. For example, the following screenshots show a cluster named vtctest001. Click the…
Google Cloud's Vertex AI Training Cluster is a powerful environment for large-scale AI/ML model training. When a GPU node within this cluster experiences an expired reservation, the node enters a TERMINATED state, halting all training operations. In this scenario, the node vtctest001-a4-0, which was originally provisioned using a DWS Calendar Mode reservation, became inaccessible due to the expired reservation.
Attempts to restart the VM or unbind the reservation failed due to capacity restrictions and invalid reservation IDs.
To recover the node, the DWS Flex-Start provisioning model is employed. Phase 1 involves configuring environment variables to match the existing cluster setup. The project ID, zone, and specific GPU node name are defined, ensuring that all subsequent commands target the correct resources. Phase 2 focuses on safely deleting the VM instance while preserving its boot disk, which contains the operating system, Slurm configuration, and local data. The boot disk is then snapped for safekeeping.
With the boot disk snapshot secured, the VM instance can be deleted without concern for disk retention flags. The deletion command is executed, and the user is prompted to confirm the action. Despite an error indicating insufficient permissions, the node is successfully removed from the cluster.
Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.