DOE OSTI · 1888020
Throughput-Oriented and Accuracy-Aware DNN Training with BFloat16 on GPU
Abstract
Deep Neural Networks (DNNs) have transformed the field of artificial intelligence and achieved extraordinary success in many areas. The training of DNNs is commonly compute and memory-intensive, which has resulted in several optimizations in the training phase. Among them, reduced precision is a typical and widely used technique to accelerate DNN training and reduce memory requirements. However, applying a widely adopted reduced precision format such as Float16 to all involved operations in DNN training is not optimal as the use of Float16 in some operations can hurt model accuracy. Meanwhile, additional optimizations including loss scaling and autocast techniques can mitigate the accuracy loss but lead to inherent overhead and inadequate use of reduced precision. In this work, we leverage another reduced precision format, BFloat16, and introduce a throughput-oriented and accuracy-aware approach to maximize the performance potential of DNN training. Since the high throughput provided by BFloat16 format is accompanied by low precision of the floating-point representation, this approach achieves high throughput by using BFloat16 on all DNN operations and avoids the accuracy loss through a customized accuracy-aware normalization. Results show that our approach outperforms the state-of-the-art mixed-precision training by 1.21x on an NVIDIA A100 GPU.
Keep this discovery
Explore connections, maps & timelines
Xie, Zhen, Raskar, Siddhisanket, Emani, Murali. 2022-01-01. Throughput-Oriented and Accuracy-Aware DNN Training with BFloat16 on GPU. https://doi.org/10.1109/ipdpsw55747.2022.00176
Cite the original work for its findings. Save a collection to share your selection of sources.