跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 数学软件

arXiv:2202.09888 (cs)
[提交于 2022年2月20日]

标题:Benchmarking the Linear Algebra Awareness of TensorFlow and PyTorch

作者:Aravind Sankaran, Navid Akbari Alashti, Christos Psarras, Paolo Bientinesi
查看论文《Benchmarking the Linear Algebra Awareness of TensorFlow and PyTorch》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Linear algebra operations, which are ubiquitous in machine learning, form major performance bottlenecks. The High-Performance Computing community invests significant effort in the development of architecture-specific optimized kernels, such as those provided by the BLAS and LAPACK libraries, to speed up linear algebra operations. However, end users are progressively less likely to go through the error prone and time-consuming process of directly using said kernels; instead, frameworks such as TensorFlow (TF) and PyTorch (PyT), which facilitate the development of machine learning applications, are becoming more and more popular. Although such frameworks link to BLAS and LAPACK, it is not clear whether or not they make use of linear algebra knowledge to speed up computations. For this reason, in this paper we develop benchmarks to investigate the linear algebra optimization capabilities of TF and PyT. Our analyses reveal that a number of linear algebra optimizations are still missing; for instance, reducing the number of scalar operations by applying the distributive law, and automatically identifying the optimal parenthesization of a matrix chain. In this work, we focus on linear algebra computations in TF and PyT; we both expose opportunities for performance enhancement to the benefit of the developers of the frameworks and provide end users with guidelines on how to achieve performance gains.
主题: 数学软件 (cs.MS); 机器学习 (cs.LG); 性能 (cs.PF)
引用方式: arXiv:2202.09888 [cs.MS]
  (或者 arXiv:2202.09888v1 [cs.MS] 对于此版本)
  https://doi.org/10.48550/arXiv.2202.09888
期刊参考: 2022 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW) Pages: 924 - 933
相关 DOI: https://doi.org/10.1109/IPDPSW55747.2022.00150

提交历史

来自:Aravind Sankaran
[v1] 2022年2月20日 星期日 18:51:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.MS
< 上一篇   |   下一篇 >
最新 | 近期 | 2022-02
切换浏览方式为:
cs
cs.LG
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站