Large-scale distributed training jobs, which can run for days across many nodes, are prone to interruptions from network issues, memory errors, software exceptions, or infrastructure events. These disruptions can lead to significant idle time and wasted GPU resources, as a single GPU fault can cause a cascade of failures and out-of-sync restarts. Synchronous checkpointing further contributes to idle time by blocking all ranks on I/O operations.
NVIDIA Resiliency Extension (NVRx) has been integrated with PyTorch Fully Sharded Data Parallel (FSDP) training on Amazon Elastic Kubernetes Service (Amazon EKS) to mitigate these issues. This integration provides solutions for both interruption recovery and idle time reduction. The EKS cluster provides the underlying infrastructure for GPU scheduling, high-bandwidth networking, and shared storage for checkpoint persistence, while NVRx handles application-level resilience.
NVRx is a pip-installable Python layer that adds fault-tolerance primitives to PyTorch without requiring custom kernels, PyTorch forks, or recompilation. It integrates into existing FSDP scripts as ordinary imports, leaving model and training code untouched. The three main features exercised are async checkpointing, in-process restart, and in-job restart using ft_launcher.
Async checkpointing, exposed through TorchAsyncCheckpoint, replaces torch.save with an async_save() call that offloads state dict saving to a background process, returning immediately. A subsequent finalize_async_save() commits the prior write, allowing I/O to overlap with training.
This integration allows for recovery from faults in seconds through in-process restart, avoiding container lifecycle disruptions. In-job restart, facilitated by ft_launcher, provides automatic worker respawn for hard crashes. These capabilities reduce the impact of inevitable interruptions in large-scale distributed training, improving overall efficiency and resource utilization.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
NVIDIA Resiliency Extension (NVRx) has been integrated into PyTorch Fully Sharded Data Parallel (FSDP) training on Amazon EKS to address interruptions and idle time in large-scale distributed training jobs. This integration provides async checkpointing, in-process restart, and in-job restart capabilities, improving the efficiency and reliability of long-running GPU workloads.