You should check if the CUDA Toolkit and cuDNN are installed and if the environment variables are configured to enable GPU acceleration.