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.
Core Components and Capabilities
-
- Section-based hang detection and coordinated worker restarts within a running job.
- Megatron GPT recovery walkthrough with fixed CLI timeouts and NVRx-backed async checkpoints.
- Small DDP example with section monitoring and synchronous PyTorch checkpoints.
-
- Providing an efficient framework for asynchronous checkpointing.
-
- Providing an efficient framework for local checkpointing.
-
- Monitoring GPU and CPU performance of ranks.
- Identifying slower ranks that may impede overall training efficiency.
Installation
From sources
git clone https://github.com/NVIDIA/nvidia-resiliency-extcd nvidia-resiliency-extpip 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 | >= 3.11 (release wheels and CI: 3.12, 3.14) |
| PyTorch Version | >= 2.9.0 |
| CUDA & CUDA Toolkit | >= 12.8 |
| NVML Driver | >= 535 (570 required for GPU health check) |
| TE Version | >= 2.5 |
Metadata
Release files for nvidia-resiliency-ext 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| nvidia_resiliency_ext-0.7.1-cp314-cp314-manylinux_2_39_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.39+ x86-64 | Details for nvidia_resiliency_ext-0.7.1-cp314-cp314-manylinux_2_39_x86_64.whl |
| nvidia_resiliency_ext-0.7.1-cp314-cp314-manylinux_2_39_aarch64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.39+ ARM64 | Details for nvidia_resiliency_ext-0.7.1-cp314-cp314-manylinux_2_39_aarch64.whl |
| nvidia_resiliency_ext-0.7.1-cp312-cp312-manylinux_2_39_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.39+ x86-64 | Details for nvidia_resiliency_ext-0.7.1-cp312-cp312-manylinux_2_39_x86_64.whl |
| nvidia_resiliency_ext-0.7.1-cp312-cp312-manylinux_2_39_aarch64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.39+ ARM64 | Details for nvidia_resiliency_ext-0.7.1-cp312-cp312-manylinux_2_39_aarch64.whl |
Total release size: 4.8 MB
Release files / nvidia_resiliency_ext-0.7.1-cp314-cp314-manylinux_2_39_x86_64.whl
| Download URL | nvidia_resiliency_ext-0.7.1-cp314-cp314-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
85a4b3b2a8b278bf6e2523fdd64940835082e8c1e0e524404af68bf55cf28766
|
|
BLAKE2b-256 checksum How to use checksums |
a0b0698a4324cba2445ca5b222af2b6865a4397bd3ed12a2d931f5f6580bdfc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / nvidia_resiliency_ext-0.7.1-cp314-cp314-manylinux_2_39_aarch64.whl
| Download URL | nvidia_resiliency_ext-0.7.1-cp314-cp314-manylinux_2_39_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.14 Linux glibc 2.39+ ARM64 |
|
SHA-256 checksum How to use checksums |
549293440dd9c407617b89b98b2c3119a49b6b62c14b41dd74d5896b017a8e11
|
|
BLAKE2b-256 checksum How to use checksums |
7b13566617ec0a738e4dc14edddf242327803745b31ca2cbfaed76bdae158636
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / nvidia_resiliency_ext-0.7.1-cp312-cp312-manylinux_2_39_x86_64.whl
| Download URL | nvidia_resiliency_ext-0.7.1-cp312-cp312-manylinux_2_39_x86_64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Linux glibc 2.39+ x86-64 |
|
SHA-256 checksum How to use checksums |
e9711f35d552f93878edf376a2971f4ce5f44068b0c4a53d02b3b77fe61151fe
|
|
BLAKE2b-256 checksum How to use checksums |
6f1cd3338230b30015a2c7b3fc7d41bb28b275877a2cde3844192a635c72d78f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Release files / nvidia_resiliency_ext-0.7.1-cp312-cp312-manylinux_2_39_aarch64.whl
| Download URL | nvidia_resiliency_ext-0.7.1-cp312-cp312-manylinux_2_39_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 Linux glibc 2.39+ ARM64 |
|
SHA-256 checksum How to use checksums |
e3947db503413fc02db7e5351b5e302ccd31a833f9da9be41d8b8575a7932bff
|
|
BLAKE2b-256 checksum How to use checksums |
822e8f716ac51e51c528b400c2abcc77a799d099644fa113e3c00f93b89c6ac0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.8
|
Security for nvidia-resiliency-ext 0.7.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.