Reply to Training LSTM: 100x Slower on M1 GPU vs. CPU remove line 22 . tf.compat.v1.disable_eager_execution() and miracle happens Machine Learning & AI General Dec ’21