具有张量处理单元的大规模分布式线性代数
Large Scale Distributed Linear Algebra With Tensor Processing Units
摘要:
我们已经将Google Tensor Processing Units(TPU)(为机器学习开发的专用芯片)重新用于大规模密集线性代数超级计算机。TPU的快速核间互连(ICI)、物理上的二维网络拓扑和高带宽存储器(HBM)允许分布式矩阵乘法算法迅速成为计算约束。在这种情况下,矩阵乘法单元(MXU)在运行时占主导地位,产生了令人印象深刻的缩放、性能和原始大小:在浮点32精度下运行,一个完整的2048核第三代TPU pod可以在大约2分钟内将两个线性大小为$N= 220= 1 048 576$的矩阵相乘。通过强调大型单核矩阵乘法的策划算法,稠密线性代数中的其他任务也可以类似地扩展。作为例子,我们提出(i)QR分解;(ii)线性系统的分辨率;和(iii)多项式迭代矩阵函数的计算,证明了矩阵极分解。
英文摘要:
We have repurposed Google Tensor Processing Units (TPUs), application-specific chips developed for machine learning, into large-scale dense linear algebra supercomputers. The TPUs' fast inter-core interconnects (ICI)s, physically two-dimensional network topology, and high-bandwidth memory (HBM) permit distributed matrix multiplication algorithms to rapidly become computationally bound. In this regime, the matrix-multiply units (MXU)s dominate the runtime, yielding impressive scaling, performance, and raw size: operating in float32 precision, a full 2048-core pod of third generation TPUs can multiply two matrices with linear size $N= 220= 1 048 576$ in about 2 minutes. Via curated algorithms emphasizing large, single-core matrix multiplications, other tasks in dense linear algebra can similarly scale. As examples, we present (i) QR decomposition; (ii) resolution of linear systems; and (iii) the computation of matrix functions by polynomial iteration, demonstrated by the matrix polar factorization.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。