Introducing GPU-acceleration into the Python-based Simulations of Chemistry Framework
About
We introduce the first version of GPU4PySCF, a module that provides GPU acceleration of methods in PySCF. As a core functionality, this provides a GPU implementation of two-electron repulsion integrals (ERIs) for contracted basis sets comprising up to g functions using Rys quadrature. As an illustration of how this can accelerate a quantum chemistry workflow, we describe how to use the ERIs efficiently in the integral-direct Hartree-Fock Fock build and nuclear gradient construction. Benchmark calculations show a significant speedup of two orders of magnitude with respect to the multi-threaded CPU Hartree-Fock code of PySCF, and performance comparable to other GPU-accelerated quantum chemical packages including GAMESS and QUICK on a single NVIDIA A100 GPU.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Energy and force prediction | QM7 (val) | Energy (E)57.32 | 6 | |
| Energy and force prediction | Amino acids (size extrapolation) | Energy (E)60.49 | 6 | |
| Energy and force prediction | PubChem size extrapolation | Energy (E)82.55 | 6 | |
| Energy and force prediction | Diels-Alder (out-of-equilibrium) | Energy69.33 | 6 | |
| Energy and force prediction | Dihedral scan (out-of-equilibrium) | Energy60.99 | 6 | |
| Energy and force prediction | Chair-to-boat (out-of-equilibrium) | Energy (E)75.03 | 6 |