Skip to main content
QUICK REVIEW

[Paper Review] Massively Parallel Tensor Network State Algorithms on Hybrid CPU-GPU Based Architectures

Andor Menczer, Örs Legeza|arXiv (Cornell University)|May 9, 2023
Distributed and Parallel Computing SystemsComputer Science6 citations
TL;DR

This paper presents a massively parallel, hybrid CPU-GPU tensor network state algorithm optimized for high-performance computing, introducing novel techniques like Maze-Runner task scheduling, TTCache memory management, and SBMM4S batched matrix multiplication. It achieves up to 20x speedup over CPU-only execution and near-exaflop performance on 8 A100 GPUs, enabling efficient simulation of strongly correlated systems with Hilbert space dimensions up to 2.88×10^36.

ABSTRACT

The interplay of quantum and classical simulation and the delicate divide between them is in the focus of massively parallelized tensor network state (TNS) algorithms designed for high performance computing (HPC). In this contribution, we present novel algorithmic solutions together with implementation details to extend current limits of TNS algorithms on HPC infrastructure building on state-of-the-art hardware and software technologies. Benchmark results obtained via large-scale density matrix renormalization group (DMRG) simulations are presented for selected strongly correlated molecular systems addressing problems on Hilbert space dimensions up to $2.88 imes10^{36}$.

Motivation & Objective

  • To overcome the exponential scaling of quantum many-body simulations using classical computing by leveraging tensor network state (TNS) methods.
  • To extend the limits of density matrix renormalization group (DMRG) simulations on high-performance computing (HPC) architectures with massive parallelism.
  • To develop efficient, scalable, and portable algorithmic solutions for hybrid CPU-GPU systems to handle large-scale tensor operations in quantum chemistry and condensed matter physics.
  • To enable petascale simulations of strongly correlated systems with long-range interactions through optimized hardware utilization and low-overhead task scheduling.

Proposed method

  • Introduces Maze-Runner, a lightweight, role-free task parallelism model that simplifies scheduling by grouping tasks and enabling homogeneous thread usage, reducing overhead in volatile workloads.
  • Proposes TTCache, a hierarchical virtual memory addressing scheme that factors data into attributes and maps them to execution blocks, minimizing redundant I/O, memory fragmentation, and allocation costs.
  • Develops SBMM4S, a batched matrix multiplication kernel with zero-cost sum reduction, enabling efficient interleaved computation of multiple matrix-vector operations using strided memory access and offset-based batching.
  • Employs a multi-tiered parallelization strategy combining low-level SIMD execution on CPUs and GPUs with high-level HPC job scheduling, enabling independent execution across multiple hardware and software abstraction layers.
  • Optimizes the DMRG algorithm for general model Hamiltonians, including long-range interactions, by replacing large tensor operations with scalable, independent vector and matrix operations.
  • Migrates MPI protocols to a hybrid CPU-multiGPU framework to support distributed computing across multiple nodes, enabling petascale simulations.

Experimental results

Research questions

  • RQ1Can a hybrid CPU-GPU architecture achieve near-exaflop performance for tensor network state simulations of strongly correlated quantum systems?
  • RQ2How can task scheduling overhead be minimized in irregular, volatile workloads typical of quantum many-body simulations?
  • RQ3To what extent can memory access patterns be optimized to reduce I/O, fragmentation, and allocation costs in large-scale tensor network computations?
  • RQ4Can batched matrix multiplication with zero-cost sum reduction significantly accelerate the diagonalization step in DMRG simulations?
  • RQ5What is the scaling behavior of the proposed algorithm when increasing the number of GPU accelerators, and can it reach the theoretical performance limits of modern hardware?

Key findings

  • The hybrid CPU-multiGPU implementation achieves a 2–4x speedup over CPU-only execution even with a single GPU, with performance scaling linearly across multiple accelerators.
  • With eight NVIDIA A100-PCIE-40GB GPUs, the system reaches 77.6 TFLOPS, approaching the theoretical peak performance of 77.6 TFLOPS for the hardware configuration.
  • For large bond dimensions D, the total simulation time drops linearly on a doubly logarithmic scale, resulting in over 20x speedup when using eight GPUs compared to CPU-only execution.
  • The algorithm successfully diagonalizes the effective Hamiltonian for the F2 molecule in a CAS(18,18) space, handling Hilbert space dimensions up to 2.88×10^36.
  • The FeMoco cluster, a benchmark system in quantum chemistry, is efficiently simulated using the optimized GPU-accelerated DMRG method, demonstrating applicability to real-world strongly correlated systems.
  • The proposed techniques—Maze-Runner, TTCache, and SBMM4S—enable efficient, low-overhead, and highly scalable execution, paving the way for petascale simulations of quantum many-body systems with long-range interactions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.