Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Dobrowolska, Antonina, Świerczyński, Julian, Tecmer, Paweł, Sujkowski, Emil, Ahmadkhani, Somayeh, Mazur, Grzegorz, Noga, Klemens, Hammond, Jeff, Boguslawski, Katharina
Format: Preprint
Veröffentlicht: 2026
Schlagworte:
Online-Zugang:https://arxiv.org/abs/2603.20912
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917356435931136
author Dobrowolska, Antonina
Świerczyński, Julian
Tecmer, Paweł
Sujkowski, Emil
Ahmadkhani, Somayeh
Mazur, Grzegorz
Noga, Klemens
Hammond, Jeff
Boguslawski, Katharina
author_facet Dobrowolska, Antonina
Świerczyński, Julian
Tecmer, Paweł
Sujkowski, Emil
Ahmadkhani, Somayeh
Mazur, Grzegorz
Noga, Klemens
Hammond, Jeff
Boguslawski, Katharina
contents In this work, we introduce new batching algorithms to effectively handle large contractions encountered in coupled-cluster singles and doubles (CCSD) implementations in Python on the Video Random Access Memory (VRAM) of graphical processing units (GPUs), thereby improving performance. Specifically, we benchmark the performance of the CuPy and PyTorch libraries on a single NVIDIA Hopper (H100) and the Grace Hopper (GH200) architectures. We begin by optimizing the particle-particle ladder bottleneck contraction in CCSD using an asymmetric and dynamic splitting recipe, and then move toward a generic tensor contraction protocol that enables tensor contractions to be performed almost exclusively on GPUs. We benchmark our new, fully generic GPU-accelerated coupled-cluster implementations for various molecular systems and basis-set sizes, using both the CuPy and PyTorch libraries. While PyTorch outperforms CuPy on H100 by approximately 20\%, both perform similarly on the GH200 architecture. Compared to our initial GPU implementation [J. Chem. Theory Comput. 2024, 20, 3, 1130--1142], we achieve a 10-fold speedup. In molecular CCSD calculations, we report additional speedups between 3 and 16 for a single CCSD iteration using Cholesky-decomposed electron repulsion integrals compared to our original GPU-CPU hybrid implementation.
format Preprint
id arxiv_https___arxiv_org_abs_2603_20912
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Efficient Coupled-Cluster Python Frameworks for Next-Generation GPUs: A Comparative Study of CuPy and PyTorch on the Hopper and Grace Hopper Architecture
Dobrowolska, Antonina
Świerczyński, Julian
Tecmer, Paweł
Sujkowski, Emil
Ahmadkhani, Somayeh
Mazur, Grzegorz
Noga, Klemens
Hammond, Jeff
Boguslawski, Katharina
Chemical Physics
In this work, we introduce new batching algorithms to effectively handle large contractions encountered in coupled-cluster singles and doubles (CCSD) implementations in Python on the Video Random Access Memory (VRAM) of graphical processing units (GPUs), thereby improving performance. Specifically, we benchmark the performance of the CuPy and PyTorch libraries on a single NVIDIA Hopper (H100) and the Grace Hopper (GH200) architectures. We begin by optimizing the particle-particle ladder bottleneck contraction in CCSD using an asymmetric and dynamic splitting recipe, and then move toward a generic tensor contraction protocol that enables tensor contractions to be performed almost exclusively on GPUs. We benchmark our new, fully generic GPU-accelerated coupled-cluster implementations for various molecular systems and basis-set sizes, using both the CuPy and PyTorch libraries. While PyTorch outperforms CuPy on H100 by approximately 20\%, both perform similarly on the GH200 architecture. Compared to our initial GPU implementation [J. Chem. Theory Comput. 2024, 20, 3, 1130--1142], we achieve a 10-fold speedup. In molecular CCSD calculations, we report additional speedups between 3 and 16 for a single CCSD iteration using Cholesky-decomposed electron repulsion integrals compared to our original GPU-CPU hybrid implementation.
title Efficient Coupled-Cluster Python Frameworks for Next-Generation GPUs: A Comparative Study of CuPy and PyTorch on the Hopper and Grace Hopper Architecture
topic Chemical Physics
url https://arxiv.org/abs/2603.20912