arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1908.06869cs.LGcs.ARcs.PFstat.ML
收藏

XSP:GPU上机器学习模型的跨栈分析

XSP: Across-Stack Profiling and Analysis of Machine Learning Models on GPUs

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);IBM T. J. Watson Research Center(IBM托马斯·J·沃森研究中心);Alibaba(阿里巴巴);Biren Research(壁仞研究院)

Cheng Li, Abdul Dakkak, Jinjun Xiong, Wei Wei, Lingjie Xu, Wen-mei Hwu

摘要:

机器学习/深度学习(ML)模型已经迅速扩散,并且在许多应用领域中广泛采用它们。这使得机器学习模型性能的分析和表征成为硬件设计人员和系统提供商日益紧迫的任务,因为他们希望提供最佳的系统,以满足目标延迟,吞吐量,成本和能源要求,同时最大限度地提高资源利用率。这样的努力是具有挑战性的,因为ML模型的特征取决于模型、框架、系统库和硬件(或硬件/软件堆栈)之间的相互作用。然而,现有的剖析工具是不相交的,并且仅关注于堆栈的特定级别内的剖析,这限制了剖析结果的彻底性和有用性。本文提出了XSP -一种跨栈分析设计,提供了ML模型执行的整体和层次视图。XSP利用分布式跟踪来聚合和关联来自不同来源的概要文件数据。XSP引入了一种分级和迭代的测量方法,可以准确地捕获硬件/软件堆栈所有级别的延迟,而不考虑性能分析开销。我们将分析设计与自动分析管道相结合,系统地分析了65个最先进的ML模型。我们证明,XSP提供的见解,这将是难以辨别,否则。

英文摘要:

There has been a rapid proliferation of machine learning/deep learning (ML) models and wide adoption of them in many application domains. This has made profiling and characterization of ML model performance an increasingly pressing task for both hardware designers and system providers, as they would like to offer the best possible system to serve ML models with the target latency, throughput, cost, and energy requirements while maximizing resource utilization. Such an endeavor is challenging as the characteristics of an ML model depend on the interplay between the model, framework, system libraries, and the hardware (or the HW/SW stack). Existing profiling tools are disjoint, however, and only focus on profiling within a particular level of the stack, which limits the thoroughness and usefulness of the profiling results. This paper proposes XSP - an across-stack profiling design that gives a holistic and hierarchical view of ML model execution. XSP leverages distributed tracing to aggregate and correlates profile data from different sources. XSP introduces a leveled and iterative measurement approach that accurately captures the latencies at all levels of the HW/SW stack in spite of the profiling overhead. We couple the profiling design with an automated analysis pipeline to systematically analyze 65 state-of-the-art ML models. We demonstrate that XSP provides insights which would be difficult to discern otherwise.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑