If using NVIDIA GPUs, just head to the NVIDIA Developer site to check the suitable CUDA version for your GPU (https://developer.nvidia.com/cuda-gpus), install the right CUDA version. After that, just follow the installation instructions and you'll be good for training models using GPU.