nvidia-resiliency-ext
NVIDIA Resiliency Package
What it is and what it does
NVIDIA Resiliency Extension (NVRx) is a modular toolkit for making large-scale PyTorch distributed training more resilient to hardware faults and performance degradation. It detects hung training ranks, identifies slower GPUs that slow down the entire job, and enables fast recovery without needing to reallocate compute nodes—critical for long-running training on shared infrastructure. The package provides asynchronous and local checkpointing frameworks to minimize work loss, health monitoring across GPU and CPU, and integration hooks for PyTorch Lightning and NeMo frameworks.
The package is actively maintained but explicitly experimental, with frequent breaking changes expected. It depends on a substantial stack including torch, grpcio, protobuf, numpy, and system-level NVIDIA monitoring tools. Installation requires specific Python, PyTorch, CUDA, and driver versions, making it suitable for managed training environments rather than casual experimentation.
Use it for:
- Detect and recover from hung ranks in multi-GPU training without manual job restart or SLURM reallocation.
- Identify straggler GPUs that slow down synchronous training and trigger corrective action.
- Implement frequent asynchronous checkpointing to minimize training loss when hardware fails mid-job.
- Monitor system-wide GPU and CPU health during long-running distributed training runs.
- Integrate fault tolerance into PyTorch Lightning training loops with minimal code changes.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds fault tolerance, checkpointing, and performance monitoring to PyTorch distributed training, detecting hung ranks, straggler GPUs, and enabling automatic recovery without reallocating compute resources.
Yes, if you run distributed PyTorch training at scale on shared infrastructure where hardware faults or performance variance are real concerns and you can meet the strict version requirements (Python >=3.10, <3.13; PyTorch >=2.5.1; CUDA >=12.8). The experimental status and frequent breaking changes mean you should pin versions carefully and monitor releases. Not recommended for single-GPU or development-only use cases.
Install
nvidia-resiliency-ext on PyPI
pip
pip install nvidia-resiliency-extuv
uv add nvidia-resiliency-extpoetry
poetry add nvidia-resiliency-extInstalling nvidia-resiliency-ext
Before you install
Medium friction: requires Python >=3.10, <3.13, PyTorch >=2.5.1, CUDA >=12.8, and NVML driver >=535. Wheels are available for x86_64 and arm64 on manylinux_2_39. Active maintenance with recent releases, though marked experimental and under active development with frequent breaking changes expected.
License in practice
Apache 2.0 permissive license allows commercial and private use with minimal restrictions, though the project is experimental and contributions are encouraged.
Quickstart
pip install nvidia-resiliency-ext
import nvidia_resiliency_ext
from nvidia_resiliency_ext.fault_tolerance import FaultTolerance
# Integrate into PyTorch training loop
ft = FaultTolerance()
Requires PyTorch >=2.5.1, CUDA >=12.8, NVML driver >=535, and Python >=3.10, <3.13. NCCL version must be <2.28.3 or >=2.28.9 to avoid inprocess issues.
Verify before relying
- Whether fault tolerance integration with PyTorch Lightning requires additional setup beyond importing the module.
- Whether straggler detection thresholds and GPU health check specifics are configurable for different workload types.
- Performance overhead of async and local checkpointing relative to standard PyTorch checkpointing.
- Compatibility with mixed-precision training and gradient accumulation patterns.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 11 — defusedxml, grpcio, grpcio-tools, httpx, numpy, nvidia-ml-py, packaging, protobuf, psutil, pyyaml, torch |
| Maintenance | actively maintained — 92 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 124,594/month — #11,862 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: nvidia_resiliency_ext-0.6.0-cp310-cp310-manylinux_2_39_aarch64.whl; nvidia_resiliency_ext-0.6.0-cp310-cp310-manylinux_2_39_x86_64.whl; nvidia_resiliency_ext-0.6.0-cp311-cp311-manylinux_2_39_aarch64.whl; nvidia_resiliency_ext-0.6.0-cp311-cp311-manylinux_2_39_x86_64.whl; nvidia_resiliency_ext-0.6.0-cp312-cp312-manylinux_2_39_aarch64.whl; nvidia_resiliency_ext-0.6.0-cp312-cp312-manylinux_2_39_x86_64.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
torchft-nightlyProvides per-step fault tolerance for PyTorch…
unclear · top 15,000 on PyPI
comfy-aimdoA PyTorch VRAM allocator that dynamically…
unclear · top 5,000 on PyPI
torchtitantorchtitan is a PyTorch-native platform for…
permissive · top 15,000 on PyPI
HolisticTraceAnalysisAnalyzes PyTorch Profiler traces to identify…
permissive · top 15,000 on PyPI
fairscaleFairScale extends PyTorch with distributed…
permissive · top 15,000 on PyPI
transformer-engine-cu12Accelerates Transformer model training and…
unclear · top 15,000 on PyPI
nvidia-cuda-nvrtcProvides NVIDIA CUDA NVRTC (NVIDIA Runtime…
unclear · top 1,000 on PyPI
torchPyTorch provides GPU-accelerated tensor…
permissive · top 1,000 on PyPI
transformer-engineTransformer Engine accelerates Transformer…
unclear · top 15,000 on PyPI
megatron-coreMegatron Core provides GPU-optimized building…
permissive · top 15,000 on PyPI