Skip to main content

NVIDIA Resiliency Extension

The NVIDIA Resiliency Extension (NVRx) integrates multiple resiliency-focused solutions for PyTorch-based workloads. Users can modularly integrate NVRx capabilities into their own infrastructure to maximize AI training productivity at scale. NVRx maximizes goodput by enabling system-wide health checks, quickly detecting faults at runtime and resuming training automatically. NVRx minimizes loss of work by enabling fast and frequent checkpointing.

For detailed documentation and usage information about each component, please refer to https://nvidia.github.io/nvidia-resiliency-ext/.

⚠️ NOTE: This project is still experimental and under active development. The code, features, and documentation are evolving rapidly. Please expect frequent updates and breaking changes. Contributions are welcome and we encourage you to watch for updates.

Figure highlighting core NVRx features including automatic restart, hierarchical checkpointing, fault detection and health checks

Core Components and Capabilities

  • Fault Tolerance

    • Detection of hung ranks.
    • Restarting training in-job, without the need to reallocate SLURM nodes.
  • In-Process Restarting

    • Detecting failures and enabling quick recovery.
  • Async Checkpointing

    • Providing an efficient framework for asynchronous checkpointing.
  • Local Checkpointing

    • Providing an efficient framework for local checkpointing.
  • Straggler Detection

    • Monitoring GPU and CPU performance of ranks.
    • Identifying slower ranks that may impede overall training efficiency.
  • Framework Integration

    • Facilitating seamless fault tolerance and straggler detection integration with PyTorch Lightning based workloads.
    • Providing integration with NVIDIA NeMo framework, a scalable and cloud-native generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (e.g. Automatic Speech Recognition and Text-to-Speech).

Installation

From sources

  • git clone https://github.com/NVIDIA/nvidia-resiliency-ext
  • cd nvidia-resiliency-ext
  • pip install .

From PyPI wheel

  • pip install nvidia-resiliency-ext

Platform Support

Category Supported Versions / Requirements
Architecture x86_64, arm64
Operating System Ubuntu 22.04, 24.04
Python Version Release wheels/CI: 3.12, 3.14
PyTorch Version >= 2.8.0
CUDA & CUDA Toolkit >= 12.8
NVML Driver >= 535 (570 required for GPU health check)
NCCL Version < 2.28.3 OR >= 2.28.9 (avoid NCCL 2.28.3–2.28.8 due to inprocess issue)
TE Version >= 2.5

Metadata

Release files for nvidia-resiliency-ext 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for nvidia-resiliency-ext 0.7.0
File
nvidia_resiliency_ext-0.7.0-cp314-cp314-manylinux_2_39_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.39+ x86-64 Details
nvidia_resiliency_ext-0.7.0-cp314-cp314-manylinux_2_39_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.39+ ARM64 Details
nvidia_resiliency_ext-0.7.0-cp312-cp312-manylinux_2_39_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ x86-64 Details
nvidia_resiliency_ext-0.7.0-cp312-cp312-manylinux_2_39_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.39+ ARM64 Details

Total release size: 4.0 MB

Release files / nvidia_resiliency_ext-0.7.0-cp314-cp314-manylinux_2_39_x86_64.whl

Download URL nvidia_resiliency_ext-0.7.0-cp314-cp314-manylinux_2_39_x86_64.whl
Size 1.0 MB
Tags CPython 3.14 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
4d5d8cd8f20bb25440eef150aedfbb227cba15aa8bf7950c9f0424e079c8b78f
BLAKE2b-256 checksum
How to use checksums
b97ab8c547dffac3b484e0d432df86f6be463ee0e843cef88807bdb4dc40e7f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / nvidia_resiliency_ext-0.7.0-cp314-cp314-manylinux_2_39_aarch64.whl

Download URL nvidia_resiliency_ext-0.7.0-cp314-cp314-manylinux_2_39_aarch64.whl
Size 1.0 MB
Tags CPython 3.14 Linux glibc 2.39+ ARM64
SHA-256 checksum
How to use checksums
be32379f4647ab3e28382d99386249049fed5b1ce9166d82bb9cfc6233ccb635
BLAKE2b-256 checksum
How to use checksums
b3e0f4e03a406a0af9d78d5cd284873d26a5c9a2dd3576a3a5014466292ee517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / nvidia_resiliency_ext-0.7.0-cp312-cp312-manylinux_2_39_x86_64.whl

Download URL nvidia_resiliency_ext-0.7.0-cp312-cp312-manylinux_2_39_x86_64.whl
Size 1.0 MB
Tags CPython 3.12 Linux glibc 2.39+ x86-64
SHA-256 checksum
How to use checksums
e0c646ccae211de81a4c2b5bb5cff96a5e12af1373fb0eb818a40716eef685ad
BLAKE2b-256 checksum
How to use checksums
04a8bca04e8e193e801e357202d012c08e9f39448ff4bc635f7373ea86ece579
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / nvidia_resiliency_ext-0.7.0-cp312-cp312-manylinux_2_39_aarch64.whl

Download URL nvidia_resiliency_ext-0.7.0-cp312-cp312-manylinux_2_39_aarch64.whl
Size 999.9 kB
Tags CPython 3.12 Linux glibc 2.39+ ARM64
SHA-256 checksum
How to use checksums
8cbce0ddb2742484fcc68c1959e69b137cab95a64592b04cf3fca64e2d8f9c21
BLAKE2b-256 checksum
How to use checksums
397539f7695a7a384b3879296d8b21ae691fa83c87f1cb30b0381517de14842d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release history Release notifications | RSS feed

This release

0.7.0 This release

4 release files

0.6.0

6 release files

0.5.0

6 release files

0.4.1

6 release files

0.4.0

6 release files

0.3.0

6 release files

0.2.1

3 release files

0.2.0

3 release files

0.1.3

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page