News ·
Tackling GPU Bottlenecks in Plane-Wave DFT with K-Point Batching and Mixed Precision
NVIDIA's Daviator library batches k-point processing in VASP plane-wave DFT to fix small-system GPU bottlenecks, adding a mixed-precision layer; benchmarks show up to 22x speedup and 75% lower cost vs CPU.

NVIDIA introduced Daviator, a library of GPU kernels that replaces sequential per-k-point processing in VASP's plane-wave DFT inner loops with batched GPU operations. Benchmarks on a projected OMat24 dataset workload show up to 22x faster time-to-solution and up to 75% lower cost compared to CPU execution, depending on hardware and configuration.
The core change is a batched Davidson eigensolver that uses batched FFTs, GEMMs, and custom kernels, drastically reducing kernel launches and letting streaming multiprocessor occupancy go from a fraction of capacity to near saturation. Data stays resident in GPU memory, while VASP keeps ownership of the SCF loop, mixing, symmetry, and I/O; Daviator integrates at call boundaries over on-device data. Previously, small systems with dense k-point grids suffered from launch overhead — a single-atom iron system with 752 k-points ran 8x slower on costly GPUs than on CPUs. Separately, a mixed precision layer runs selected Davidson solver components in FP32 while keeping sensitive steps in FP64 via configurable floating-point types, delivering roughly 2x end-to-end acceleration on GPUs with high FP32:FP64 ratios like the RTX PRO 6000.
Daviator and the mixed precision option are available through the NVIDIA ALCHEMI VASP microservice by setting LDAVIATOR=True and LDAVIATOR_MIXED_PRECISION=1 in the INCAR file, with existing VASP inputs working without modification. For anyone generating DFT training data for machine learning interatomic potentials — which requires tens to hundreds of millions of calculations of energies, forces, and stresses — this addresses the small-unit-cell GPU bottleneck and exploits modern GPUs' growing FP32 advantage, cutting the time and cost of building MLIP ground-truth datasets.

References
- NVIDIA · developer.nvidia.com
Read the full story at NVIDIA ↗Like, save or discuss on Buzz


