The University of Texas at Austin
Deep learning training at scale : experiments with MLPerf on multi-GPU and multi-TPU hardware
Abstract
dc:description.abstractTraining deep learning (DL) models is a highly compute-intensive task since it involves operating on massive datasets and tuning weights until the model meets the desired accuracy. Compute clusters paired with deep learning accelerators are typically employed in training complex DL models to reduce the training time and achieve the desired accuracy. MLPerf, an emerging machine learning benchmark suite, strives to cover a broad range of machine learning applications. Utilizing the training workloads from the MLPerf benchmark suite, this thesis studies their behavior on industry-grade multi-GPU (on-premise) and multi-TPU (cloud) hardware. The training suite of MLPerf contains a diverse set of models that allows unveiling various bottlenecks in training hardware. Based on the findings, dedicated low latency interconnect between GPUs in multi-GPU systems is crucial for optimal distributed deep learning training. Significant variation in scaling efficiency between various MLPerf training benchmarks (ranging from 2.3× to 7.8× on an 8-GPU cluster and 1.1× to 9.2× on an 8-TPU cluster) is also observed. The variation exhibited by the different models highlight the importance of smart scheduling strategies for distributed training. A speedup of up to 1.7× is seen on using TPU v3 over TPU v2. Furthermore, host CPU utilization increases with an increase in the number of GPUs or TPUs used for training, suggesting the need for powerful CPUs. Corroborating prior work, improvements possible by compiler optimizations and mixed-precision training using Tensor Cores on the GPUs are also quantified. Similarly, the performance gain on using the bfloat16 data type on multi-TPU runs is also highlighted in this work. In addition, a study on the characteristics of MLPerf training benchmarks and how they differ from previous deep learning benchmarks such as DAWNBench and DeepBench is also presented. MLPerf benchmarks are seen to exhibit moderately high memory transactions per second and moderately high compute rates, while DAWNBench creates a high-compute benchmark with low memory transaction rate, and DeepBench provides low compute rate benchmarks.
Degree
thesis:*- Name thesis:degree_name
- Master of Science in Engineering
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Electrical and Computer Engineering
- Department thesis:degree_department
- Electrical and Computer Engineering
- Grantor
- The University of Texas at Austin
- Year dc:date.issued
- 2020
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Verma, Snehil
- Advisor dc:contributor.advisor
-
- John, Lizy Kurian
- ORCID person:identifier.orcid
Subjects
dc:subject × 7Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/82731