Convergence-aware operator-wise mixed-precision training

Abstract With the support of more precision formats in emerging hardware architectures, mixed-precision has become a popular approach to accelerate deep learning (DL) training. Applying low-precision formats such as FP16 and BF16 to neural operators can save GPU memory while improving bandwidth. However, DL frameworks use black and white lists as default mixed-precision selections and cannot flexibly adapt to a variety of neural networks. In addition, existing work on automatic precision adjustment does not consider model convergence, and the decision cost of precision selection is high. To address the above problems, this paper proposes CoMP , a non-intrusive framework for Convergence-aware operator-wise Mixed-precision training. CoMP uses two-stage precision adjustment based on epochs and batches to ensure convergence and performance respectively. After that, CoMP performs subsequent training according to the searched optimal operator-wise mixed-precision plan. The experimental results on A100 GPU show that CoMP achieves a maximum performance speedup of 1.15 $$\times$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mo>×</mml:mo> </mml:math> compared with PyTorch AMP implementation, while also saving up to 29.81% of GPU memory.

Authors

Institutions

Publication Details

Journal
CCF Transactions on High Performance Computing
Published
2024-12-31
DOI
https://doi.org/10.1007/s42514-024-00208-9
Citations
5
Primary Topic
Robotics and Sensor-Based Localization
Type
article
Field-Weighted Citation Impact
6.49

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Convergence-aware operator-wise mixed-precision training

Qingxiao Sun, Wenhao Dai, Yanqin Bai, Ziyi Jia
5 citations
CCF Transactions on High Performance Computing
Robotics and Sensor-Based Localization
6.49
article

Convergence-aware operator-wise mixed-precision training

Qingxiao Sun, Wenhao Dai, Yanqin Bai, Ziyi Jia
article en
5 citations

Abstract

Abstract With the support of more precision formats in emerging hardware architectures, mixed-precision has become a popular approach to accelerate deep learning (DL) training. Applying low-precision formats such as FP16 and BF16 to neural operators can save GPU memory while improving bandwidth. However, DL frameworks use black and white lists as default mixed-precision selections and cannot flexibly adapt to a variety of neural networks. In addition, existing work on automatic precision adjustment does not consider model convergence, and the decision cost of precision selection is high. To address the above problems, this paper proposes CoMP , a non-intrusive framework for Convergence-aware operator-wise Mixed-precision training. CoMP uses two-stage precision adjustment based on epochs and batches to ensure convergence and performance respectively. After that, CoMP performs subsequent training according to the searched optimal operator-wise mixed-precision plan. The experimental results on A100 GPU show that CoMP achieves a maximum performance speedup of 1.15 $$\times$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mo>×</mml:mo> </mml:math> compared with PyTorch AMP implementation, while also saving up to 29.81% of GPU memory.

CCF Transactions on High Performance ComputingVol. 7(1)
China University of Petroleum, Beijing (CN)
National Natural Science Foundation of China, Fundamental Research Funds for the Central Universities
Openalex Percentile: Top 4%
Robotics and Sensor-Based Localization
6.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Convergence-aware operator-wise mixed-precision training — Qingxiao Sun, Wenhao Dai, et al. · CCF Transactions on High Performance Computing (2024) | TGRS Research Map | TGRS