This repository provides State-of-the-Art Deep Learning examples that are easy to train and deploy, achieving the best reproducible accuracy and performance with NVIDIA CUDA-X software stack running on NVIDIA Volta, Turing and Ampere GPUs.
These examples, along with our NVIDIA deep learning software stack, are provided in a monthly updated Docker container on the NGC container registry (https://ngc.nvidia.com). These containers include:
- The latest NVIDIA examples from this repository
- The latest NVIDIA contributions shared upstream to the respective framework
- The latest NVIDIA Deep Learning software libraries, such as cuDNN, NCCL, cuBLAS, etc. which have all been through a rigorous monthly quality assurance process to ensure that they provide the best possible performance
- Monthly release notes for each of the NVIDIA optimized containers
Models | Framework | AMP | Multi-GPU | Multi-Node | ONNX | Triton | DLC | NB |
---|---|---|---|---|---|---|---|---|
EfficientNet-B0 | PyTorch | Yes | Yes | - | - | Supported | Yes | - |
EfficientNet-B4 | PyTorch | Yes | Yes | - | - | Supported | Yes | - |
EfficientNet-WideSE-B0 | PyTorch | Yes | Yes | - | - | Supported | Yes | - |
EfficientNet-WideSE-B4 | PyTorch | Yes | Yes | - | - | Supported | Yes | - |
EfficientNet v1-B0 | TensorFlow2 | Yes | Yes | Yes | - | Supported | Yes | - |
EfficientNet v1-B4 | TensorFlow2 | Yes | Yes | Yes | - | Supported | Yes | - |
EfficientNet v2-S | TensorFlow2 | Yes | Yes | Yes | - | Supported | Yes | - |
GPUNet | PyTorch | Yes | Yes | - | Yes | Example | Yes | - |
Mask R-CNN | PyTorch | Yes | Yes | - | - | Supported | - | Yes |
Mask R-CNN | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
Mask R-CNN | TensorFlow2 | Yes | Yes | - | - | Supported | Yes | - |
nnUNet | PyTorch | Yes | Yes | - | - | Supported | Yes | - |
ResNet-50 | MXNet | Yes | Yes | - | - | Supported | - | - |
ResNet-50 | PaddlePaddle | Yes | Yes | - | - | Supported | - | - |
ResNet-50 | PyTorch | Yes | Yes | - | - | Example | Yes | - |
ResNet-50 | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
ResNeXt-101 | PyTorch | Yes | Yes | - | - | Example | Yes | - |
ResNeXt-101 | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
SE-ResNeXt-101 | PyTorch | Yes | Yes | - | - | Example | Yes | - |
SE-ResNeXt-101 | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
SSD | PyTorch | Yes | Yes | - | - | Supported | - | Yes |
SSD | TensorFlow | Yes | Yes | - | - | Supported | Yes | Yes |
U-Net Ind | TensorFlow | Yes | Yes | - | - | Supported | Yes | Yes |
U-Net Med | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
U-Net 3D | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
U-Net Med | TensorFlow2 | Yes | Yes | - | - | Supported | Yes | - |
V-Net Med | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
Models | Framework | AMP | Multi-GPU | Multi-Node | ONNX | Triton | DLC | NB |
---|---|---|---|---|---|---|---|---|
BERT | PyTorch | Yes | Yes | Yes | - | Example | Yes | - |
TransformerXL | PyTorch | Yes | Yes | Yes | - | Supported | Yes | - |
GNMT | PyTorch | Yes | Yes | - | - | Supported | - | - |
Transformer | PyTorch | Yes | Yes | - | - | Supported | - | - |
ELECTRA | TensorFlow2 | Yes | Yes | Yes | - | Supported | Yes | - |
BERT | TensorFlow | Yes | Yes | Yes | - | Example | Yes | Yes |
BERT | TensorFlow2 | Yes | Yes | Yes | - | Supported | Yes | - |
BioBert | TensorFlow | Yes | Yes | - | - | Supported | Yes | Yes |
TransformerXL | TensorFlow | Yes | Yes | - | - | Supported | - | - |
GNMT | TensorFlow | Yes | Yes | - | - | Supported | - | - |
Faster Transformer | Tensorflow | - | - | - | - | Supported | - | - |
Models | Framework | AMP | Multi-GPU | Multi-Node | ONNX | Triton | DLC | NB |
---|---|---|---|---|---|---|---|---|
DLRM | PyTorch | Yes | Yes | - | Yes | Example | Yes | Yes |
DLRM | TensorFlow2 | Yes | Yes | Yes | - | Supported | Yes | - |
NCF | PyTorch | Yes | Yes | - | - | Supported | - | - |
Wide&Deep | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
Wide&Deep | TensorFlow2 | Yes | Yes | - | - | Supported | Yes | - |
NCF | TensorFlow | Yes | Yes | - | - | Supported | Yes | - |
VAE-CF | TensorFlow | Yes | Yes | - | - | Supported | - | - |
SIM | TensorFlow2 | Yes | Yes | - | - | Supported | Yes | - |
Models | Framework | AMP | Multi-GPU | Multi-Node | ONNX | Triton | DLC | NB |
---|---|---|---|---|---|---|---|---|
Jasper | PyTorch | Yes | Yes | - | Yes | Example | Yes | Yes |
QuartzNet | PyTorch | Yes | Yes | - | - | Supported | Yes | - |
wav2vec 2.0 | PyTorch | Yes | Yes | Yes | - | Supported | Yes | - |
Hidden Markov Model | Kaldi | - | Yes | - | - | Example | - | - |
Models | Framework | AMP | Multi-GPU | Multi-Node | ONNX | Triton | DLC | NB |
---|---|---|---|---|---|---|---|---|
FastPitch | PyTorch | Yes | Yes | - | - | Example | Yes | Yes |
FastSpeech | PyTorch | Yes | Yes | - | - | Supported | - | - |
Tacotron 2 and WaveGlow | PyTorch | Yes | Yes | - | Yes | Example | Yes | - |
HiFi-GAN | PyTorch | Yes | Yes | - | - | Supported | Yes | - |
Models | Framework | AMP | Multi-GPU | Multi-Node | ONNX | Triton | DLC | NB |
---|---|---|---|---|---|---|---|---|
SE(3)-Transformer | PyTorch | Yes | Yes | - | - | Supported | - | - |
MoFlow | PyTorch | Yes | Yes | - | - | Supported | - | - |
Models | Framework | AMP | Multi-GPU | Multi-Node | ONNX | Triton | DLC | NB |
---|---|---|---|---|---|---|---|---|
Temporal Fusion Transformer | PyTorch | Yes | Yes | - | Yes | Example | Yes | - |
In each of the network READMEs, we indicate the level of support that will be provided. The range is from ongoing updates and improvements to a point-in-time release for thought leadership.
Multinode Training
Supported on a pyxis/enroot Slurm cluster.
Deep Learning Compiler (DLC)
TensorFlow XLA and PyTorch JIT and/or TorchScript
Accelerated Linear Algebra (XLA)
XLA is a domain-specific compiler for linear algebra that can accelerate TensorFlow models with potentially no source code changes. The results are improvements in speed and memory usage.
PyTorch JIT and/or TorchScript
TorchScript is a way to create serializable and optimizable models from PyTorch code. TorchScript, an intermediate representation of a PyTorch model (subclass of nn.Module) that can then be run in a high-performance environment such as C++.
Automatic Mixed Precision (AMP)
Automatic Mixed Precision (AMP) enables mixed precision training on Volta, Turing, and NVIDIA Ampere GPU architectures automatically.
TensorFloat-32 (TF32)
TensorFloat-32 (TF32) is the new math mode in NVIDIA A100 GPUs for handling the matrix math also called tensor operations. TF32 running on Tensor Cores in A100 GPUs can provide up to 10x speedups compared to single-precision floating-point math (FP32) on Volta GPUs. TF32 is supported in the NVIDIA Ampere GPU architecture and is enabled by default.
Jupyter Notebooks (NB)
The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text.
We're posting these examples on GitHub to better support the community, facilitate feedback, as well as collect and implement contributions using GitHub Issues and pull requests. We welcome all contributions!
In each of the network READMEs, we indicate any known issues and encourage the community to provide feedback.