Using GPU Devices#

g-learn can run on CUDA-capable GPU devices with the following installed:

  1. NVIDIA graphic driver,

  2. CUDA libraries.

CUDA Version

The version of CUDA libraries installed on the user’s machine should match the version of the CUDA libraries that g-learn package was compiled with. This includes matching both major and minor parts of the version numbers. However, the version’s patch numbers do not need to be matched.

Note

The g-learn package that is installed with either pip or conda already has built-in support for CUDA Toolkit. The latest version of g-learn is compatible with CUDA 12.2.x, which should match the CUDA version installed on the user’s machine.

The above methods are described in the following sections:

Once you have set up g-learn on GPU devices, you can refer to the following sections to learn how to execute g-learn functions on GPUs: