Post

Replies

Boosts

Views

Activity

Reply to GPU much slower than CPU for LSTMs and bidirectional in TensorFlow 2.8
I tried running the notebook using tensorflow-macos 2.10.0,  tensorflow-metal 0.6.0 and python 3.9.13 and the problem with the GPU still persists even with the new tensorflow-metal version. Things are fine when using the CPU only. The code I am running https://www.tensorflow.org/text/tutorials/text_classification_rnn is from the official TensorFlow website. Can you confirm you face the same issue and please fix the bug in tensorflow-metal? Sequential networks using LSTMs are really basic and important.
Topic: Machine Learning & AI SubTopic: General Tags:
Sep ’22
Reply to GPU much slower than CPU for LSTMs and bidirectional in TensorFlow 2.8
I tried running the notebook using the new tensorflow-metal version 0.5.1 The problem when training using the GPU still persists. Things are fine when using the CPU only. I tried the following combinations: tensorflow-macos 2.8.0, tensorflow-metal 0.5.1, python 3.8.13 tensorflow-macos 2.9.0, tensorflow-metal 0.5.1, python 3.9.13 tensorflow-macos 2.9.2, tensorflow-metal 0.5.1, python 3.8.13 tensorflow-macos 2.9.2, tensorflow-metal 0.5.1, python 3.9.13 Can you confirm you face the same issue? Can you please fix the bug in tensorflow-metal, since sequential networks are really important and it is really beneficial to accelerate the training using the GPU?
Topic: Machine Learning & AI SubTopic: General Tags:
Aug ’22