面向深度学习应用的分层Roofline性能分析
Hierarchical Roofline Performance Analysis for Deep Learning Applications
摘要:
本文介绍了一种实用的方法,用于收集在NVIDIA GPU上进行分层Roofline分析所需的性能数据。它讨论了Empirical Roofline Toolkit的扩展,以更广泛地支持一系列数据精度和Tensor Core支持,并介绍了一种基于Nsight Compute的方法来准确收集应用程序性能信息。这种方法允许在NVIDIA GPU上的整个存储层次结构中进行Roofline分析的自动机器表征和应用程序表征,并通过用于气候图像分割的复杂深度学习应用程序进行验证。我们使用两个版本的代码,分别在TensorFlow和PyTorch中,来展示这种方法的使用和有效性。我们重点介绍了应用程序如何利用GPU上的计算和内存功能,以及两种深度学习框架中的实现和性能差异。
英文摘要:
This paper presents a practical methodology for collecting performance data necessary to conduct hierarchical Roofline analysis on NVIDIA GPUs. It discusses the extension of the Empirical Roofline Toolkit for broader support of a range of data precisions and Tensor Core support and introduces a Nsight Compute based method to accurately collect application performance information. This methodology allows for automated machine characterization and application characterization for Roofline analysis across the entire memory hierarchy on NVIDIA GPUs, and it is validated by a complex deep learning application used for climate image segmentation. We use two versions of the code, in TensorFlow and PyTorch respectively, to demonstrate the use and effectiveness of this methodology. We highlight how the application utilizes the compute and memory capabilities on the GPU and how the implementation and performance differ in two deep learning frameworks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。