Why is Keras LSTM on CPU three times faster than GPU?
问题 I use this notebook from Kaggle to run LSTM neural network. I had started training of neural network and I saw that it is too slow. It is almost three times slower than CPU training. CPU perfomance: 8 min per epoch; GPU perfomance: 26 min per epoch. After this I decided to find answer in this question on Stackoverflow and I applied a CuDNNLSTM (which runs only on GPU) instead of LSTM . Hence, GPU perfomance became only 1 min per epoch and accuracy of model decreased on 3%. Questions: 1) Does