This script is intended to be used with GPUs but you have not compiled Kaldi with CUDA If you want to use GPUs (and have them), go to src/, and configure and make on a machine where "nvcc" is installed.
I am still new at kaldi so my advice maybe downright wrong , I apologize for that in advance. But can