NVIDIA Deep Learning Examples
NVIDIA Deep Learning Examples
SE(3)-Transformers for PyTorch
Resource
NVIDIA Deep Learning Examples
NVIDIA Deep Learning Examples
SE(3)-Transformers for PyTorch

A Graph Neural Network using a variant of self-attention for 3D points and graphs processing.

The performance measurements in this document were conducted at the time of publication and may not reflect the performance achieved from NVIDIA's latest software release. For the most up-to-date performance measurements, go to NVIDIA Data Center Deep Learning Product Performance.

Benchmarking

The following section shows how to run benchmarks measuring the model performance in training and inference modes.

Training performance benchmark

To benchmark the training performance on a specific batch size, run bash scripts/benchmark_train.sh {BATCH_SIZE} for single GPU, and bash scripts/benchmark_train_multi_gpu.sh {BATCH_SIZE} for multi-GPU.

Inference performance benchmark

To benchmark the inference performance on a specific batch size, run bash scripts/benchmark_inference.sh {BATCH_SIZE}.

Results

The following sections provide details on how we achieved our performance and accuracy in training and inference.

Training accuracy results

Training accuracy: NVIDIA DGX A100 (8x A100 80GB)

Our results were obtained by running the scripts/train.sh and scripts/train_multi_gpu.sh training scripts in the PyTorch 23.01 NGC container on NVIDIA DGX A100 (8x A100 80GB) GPUs.

GPUsBatch size / GPUAbsolute error - TF32Absolute error - mixed precisionTime to train - TF32Time to train - mixed precisionTime to train speedup (mixed precision to TF32)
12400.030380.029871h02min50min1.24x
82400.034660.0343613min10min1.27x
Training accuracy: NVIDIA DGX-1 (8x V100 16GB)

Our results were obtained by running the scripts/train.sh and scripts/train_multi_gpu.sh training scripts in the PyTorch 23.01 NGC container on NVIDIA DGX-1 with (8x V100 16GB) GPUs.

GPUsBatch size / GPUAbsolute error - FP32Absolute error - mixed precisionTime to train - FP32Time to train - mixed precisionTime to train speedup (mixed precision to FP32)
12400.030440.030762h07min1h22min1.55x
82400.034350.0349527min19min1.42x

Training performance results

Training performance: NVIDIA DGX A100 (8x A100 80GB)

Our results were obtained by running the scripts/benchmark_train.sh and scripts/benchmark_train_multi_gpu.sh benchmarking scripts in the PyTorch 23.01 NGC container on NVIDIA DGX A100 with 8x A100 80GB GPUs. Performance numbers (in molecules per millisecond) were averaged over five entire training epochs after a warmup epoch.

GPUsBatch size / GPUThroughput - TF32 [mol/ms]Throughput - mixed precision [mol/ms]Throughput speedup (mixed precision - TF32)Weak scaling - TF32Weak scaling - mixed precision
12402.593.231.25x
11201.891.891.00x
824018.3821.421.17x7.096.63
812013.2313.231.00x7.007.00

To achieve these same results, follow the steps in the Quick Start Guide.

Training performance: NVIDIA DGX-1 (8x V100 16GB)

Our results were obtained by running the scripts/benchmark_train.sh and scripts/benchmark_train_multi_gpu.sh benchmarking scripts in the PyTorch 23.01 NGC container on NVIDIA DGX-1 with 8x V100 16GB GPUs. Performance numbers (in molecules per millisecond) were averaged over five entire training epochs after a warmup epoch.

GPUsBatch size / GPUThroughput - FP32 [mol/ms]Throughput - mixed precision [mol/ms]Throughput speedup (FP32 - mixed precision)Weak scaling - FP32Weak scaling - mixed precision
12401.231.911.55x
11201.011.231.22x
82408.4411.281.34x6.85.90
81206.067.361.21x6.005.98

To achieve these same results, follow the steps in the Quick Start Guide.

Inference performance results

Inference performance: NVIDIA DGX A100 (1x A100 80GB)

Our results were obtained by running the scripts/benchmark_inference.sh inferencing benchmarking script in the PyTorch 23.01 NGC container on NVIDIA DGX A100 with 1x A100 80GB GPU.

AMP

Batch sizeThroughput Avg [mol/ms]Latency Avg [ms]Latency 90% [ms]Latency 95% [ms]Latency 99% [ms]
16009.71175.2190.2191.8432.4
8007.90114.5134.3135.8140.2
4007.1875.49108.6109.6113.2

TF32

Batch sizeThroughput Avg [mol/ms]Latency Avg [ms]Latency 90% [ms]Latency 95% [ms]Latency 99% [ms]
16008.19198.2206.8208.5377.0
8007.56107.5119.6120.5125.7
4006.9759.875.175.781.3

To achieve these same results, follow the steps in the Quick Start Guide.

Inference performance: NVIDIA DGX-1 (1x V100 16GB)

Our results were obtained by running the scripts/benchmark_inference.sh inferencing benchmarking script in the PyTorch 23.01 NGC container on NVIDIA DGX-1 with 1x V100 16GB GPU.

AMP

Batch sizeThroughput Avg [mol/ms]Latency Avg [ms]Latency 90% [ms]Latency 95% [ms]Latency 99% [ms]
16005.39306.6321.2324.9819.1
8004.67179.8201.5203.8213.3
4004.25108.2142.0143.0149.0

FP32

Batch sizeThroughput Avg [mol/ms]Latency Avg [ms]Latency 90% [ms]Latency 95% [ms]Latency 99% [ms]
16003.14510.9518.83521.1808.0
8003.10258.7269.4271.1278.9
4002.93137.3147.5148.8151.7

To achieve these same results, follow the steps in the Quick Start Guide.