RTX 2080 Ti Deep Learning Benchmarks with TensorFlow

RTX 2080 Ti Deep Learning Benchmarks with TensorFlow

March 4, 2019• 6 min read

by Chuan Li, PhD

In this post, Lambda discusses the RTX 2080 Ti's Deep Learning performance compared with other GPUs. We use the RTX 2080 Ti to train ResNet-50, ResNet-152, Inception v3, Inception v4, VGG-16, AlexNet, and SSD300. We measure # of images processed per second while training each network.

A few notes:

RTX 2080 Ti - FP32 TensorFlow Performance (1 GPU)

For FP32 training of neural networks, the RTX 2080 Ti is...

as measured by the # images processed per second during training.

RTX 2080 Ti - FP16 TensorFlow Performance (1 GPU)

For FP16 training of neural networks, the RTX 2080 Ti is..

as measured by the # images processed per second during training.

FP32 Multi-GPU Scaling Performance (1, 2, 4, 8 GPUs)

For each GPU type (RTX 2080 Ti, RTX 2080, etc.) we measured performance while training with 1, 2, 4, and 8 GPUs on each neural network and then averaged the results. The chart below provides guidance as to how each GPU scales during multi-GPU training of neural networks in FP32. The RTX 2080 Ti scales as follows:

RTX 2080 Ti - FP16 vs. FP32

Using FP16 can reduce training times and enable larger batch sizes/models without significantly impacting the accuracy of the trained model. Compared with FP32, FP16 training on the RTX 2080 Ti is...

as measured by the # of images processed per second during training. This gives an average speed-up of +44.6%.

Caveat emptor: If you're new to machine learning or simply testing code, we recommend using FP32. Lowering precision to FP16 may interfere with convergence.

GPU Prices

Methods

Hardware

Software

Run Our Benchmarks On Your Own Machine

Our benchmarking code is on github. We'd love it if you shared the results with us by emailing s@lambdalabs.com or tweeting @LambdaAPI.

Step #1: Clone Benchmark Repository

git clone https://github.com/lambdal/lambda-tensorflow-benchmark.git --recursive

Step #2: Run Benchmark

cd lambda-tensorflow-benchmark
./benchmark.sh gpu_index num_iterations

Step #3: Report Results

./report.sh <cpu>-<gpu>.logs num_iterations

Raw Benchmark Data

FP32: # Images Processed Per Sec During TensorFlow Training (1 GPU)

Model / GPU RTX 2080 Ti RTX 2080 Titan RTX Titan V V100 Titan Xp 1080 Ti
ResNet-50 294 213 330 300 405 236 209
ResNet-152 110 83 129 107 155 90 81
Inception v3 194 142 221 208 259 151 136
Inception v4 79 56 96 77 112 63 58
VGG16 170 122 195 195 240 154 134
AlexNet 3627 2650 4046 3796 4782 3004 2762
SSD300 149 111 169 156 200 123 108

FP16: # Images Processed Per Sec During TensorFlow Training (1 GPU)

Model / GPU RTX 2080 Ti RTX 2080 Titan RTX Titan V V100 Titan Xp 1080 Ti
ResNet-50 466 329 612 539 811 289 263
ResNet-152 167 124 234 181 305 104 96
Inception v3 286 203 381 353 494 169 156
Inception v4 106 74 154 116 193 67 62
VGG16 255 178 383 383 511 166 149
AlexNet 4988 3458 6627 6746 8922 3104 2891
SSD300 195 153 292 245 350 136 123