使用高性能晶圆级引擎实现二维伊辛模型的创纪录加速
Record Acceleration of the Two-Dimensional Ising Model Using High-Performance Wafer Scale Engine
AI总结:
本文在Cerebras晶圆级引擎上通过压缩位表示和高效分布式棋盘格算法实现了二维伊辛模型的大规模并行模拟,每秒翻转尝试超61.8万亿次,较NVIDIA V100和H100分别最高加速148倍和88倍,展示了WSE在材料建模中的巨大潜力。
摘要:
伊辛模型最初是为了研究磁性材料中的相变而引入的,其多功能性和广泛的适用性使其成为统计物理学的基石,也是评估新兴计算机硬件性能的重要工具。在此,我们提出了一种在Cerebras晶圆级引擎(WSE)上实现二维伊辛模型的新方法,WSE是一种革命性的处理器,正在开辟计算的新前沿。在我们部署棋盘格算法的过程中,我们对伊辛模型进行了优化,以利用WSE独特的架构。具体来说,我们采用了一种压缩位表示,在每个int16字上存储16个自旋,并将自旋高效地分布在处理单元上,从而实现无缝的弱扩展,并将通信限制在仅相邻的单元之间。我们的实现可以并行处理多达754个模拟,对于最多包含2亿个自旋的伊辛模型,每秒实现超过61.8万亿次翻转尝试的总吞吐量。这比之前报道的在NVIDIA V100上经过高度优化的单设备实现最高提升了148倍,与NVIDIA H100相比,生产力最高提升了88倍。我们的研究结果凸显了WSE在科学计算,特别是材料建模领域的巨大潜力。
英文摘要:
The versatility and wide-ranging applicability of the Ising model, originally introduced to study phase transitions in magnetic materials, have made it a cornerstone in statistical physics and a valuable tool for evaluating the performance of emerging computer hardware. Here, we present a novel implementation of the two-dimensional Ising model on a Cerebras Wafer-Scale Engine (WSE), a revolutionary processor that is opening new frontiers in computing. In our deployment of the checkerboard algorithm, we optimized the Ising model to take advantage of the unique WSE architecture. Specifically, we employed a compressed bit representation storing 16 spins on each int16 word, and efficiently distributed the spins over the processing units enabling seamless weak scaling and limiting communications to only immediate neighboring units. Our implementation can handle up to 754 simulations in parallel, achieving an aggregate of over 61.8 trillion flip attempts per second for Ising models with up to 200 million spins. This represents a gain of up to 148 times over previously reported single-device with a highly optimized implementation on NVIDIA V100 and up to 88 times in productivity compared to NVIDIA H100. Our findings highlight the significant potential of the WSE in scientific computing, particularly in the field of materials modeling.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。