arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2309.16724physics.comp-phcond-mat.str-elphysics.chem-phquant-ph
收藏

通过非阿贝尔对称性提升大规模并行张量网络态算法在混合 CPU-GPU 架构上的有效性能

Boosting the effective performance of massively parallel tensor network state algorithms on hybrid CPU-GPU based architectures via non-Abelian symmetries

Andor Menczer, Örs Legeza

AI总结:

该研究利用非阿贝尔对称性、混合 CPU-多 GPU 调度、内存与 IO 优化加速张量网络态算法,在强关联分子 DMRG 模拟中显著提升有效性能。

摘要:

我们提出了利用非阿贝尔对称性的新型算法解决方案及实现细节,以提升张量网络态算法在高性能计算基础设施上的当前极限。在我们内部开发的混合 CPU-多 GPU 解决方案中,调度是去中心化的,线程具有自主性,线程间通信仅限于与全局可见的无锁结构进行交互。我们定制的虚拟内存管理确保数据以高空间局部性生成,这与特定的分块批量矩阵操作序列相结合,显著提高了整体吞吐量。为降低 IO 开销,采用自适应缓冲技术动态匹配构建和重用缓存仓库的数据抽象层级与系统资源。基于 Wigner-Eckhart 定理的非阿贝尔对称性相关张量代数与传统张量网络层完全分离,因此可无额外开销地执行大规模并行矩阵和张量操作。总体而言,相对于 arXiv:2305.05581 报告的结果,我们在计算复杂度方面实现了一个数量级的性能提升,同时以 TFLOPS 衡量的实际性能提高了三到六倍。基准测试结果展示了在选定强关联分子系统上通过大规模 SU(2) 自旋适配密度矩阵重整化群模拟获得的高达 2.88×10^36 的希尔伯特空间维度。这些结果展示了 NVIDIA 高度专用张量核心的利用,在配备八块 NVIDIA A100 设备的单节点上实现约 110 TFLOPS 的性能。与精度匹配的 U(1) 实现相比,我们的解决方案估计具有 250-500 TFLOPS 的有效性能。

英文摘要:

We present novel algorithmic solutions together with implementation details utilizing non-Abelian symmetries in order to boost the current limits of tensor network state algorithms on high performance computing infrastructure. In our in-house developed hybrid CPU-multiGPU solution scheduling is decentralized, threads are autonomous and inter-thread communications are solely limited to interactions with globally visible lock-free constructs. Our custom tailored virtual memory management ensures data is produced with high spatial locality, which together with the use of specific sequences of strided batched matrix operations translates to significantly higher overall throughput. In order to lower IO overhead, an adaptive buffering technique is used to dynamically match the level of data abstraction, at which cache repositories are built and reused, to system resources. The non-Abelian symmetry related tensor algebra based on Wigner-Eckhart theorem is fully detached from the conventional tensor network layer, thus massively parallel matrix and tensor operations can be performed without additional overheads. Altogether, we have achieved an order of magnitude increase in performance with respect to results reported in arXiv:2305.05581 in terms of computational complexity and at the same time a factor of three to six in the actual performance measured in TFLOPS. Benchmark results are presented on Hilbert space dimensions up to $2.88\times10^{36}$ obtained via large-scale SU(2) spin adapted density matrix renormalization group simulations on selected strongly correlated molecular systems. These demonstrate the utilization of NVIDIA's highly specialized tensor cores, leading to performance around 110 TFLOPS on a single node supplied with eight NVIDIA A100 devices. In comparison to U(1) implementations with matching accuracy, our solution has an estimated effective performance of 250-500 TFLOPS.

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

↑