The latest version of TensorFlow-macos and TensorFlow-metal cannot work at all

Dear All,

There were years waiting for GPU acceleration for Mac users, and the frameworks were finally released this year. After some testing, I found out that the NLP task isn’t supported in the previous versions and made a report in 'FB9220496'. Then I was informed that this issue would be fixed in the next versions.

So, I updated my frameworks immediately when the latest versions were released. However, I am very disappointed and frustrated because the latest frameworks cannot work at all. IDE Kernel always crashes when I am trying to train any model. Nevertheless, I attached the copy of my env in the .yaml file, so you should be able to reproduce this issue very easily.

Here is the link of the .yaml file
https://www.icloud.com/iclouddrive/0Yhr444NAqu6oD8qxOfKriY-A#env%5Fmac%5Ftf

Besides that, please also note that I only update TesnorFlow-macos and TensorFlow-metal. And this env was fine except for NLP tasks before I update the frameworks. Could you please kindly look into this issue and solve it, thank you very much.

BTW, the IDE which I use is spyder 5.1.5. Though IDE should not be the reason for crashes.

I appreciate your time and looking forward to your prompt reply.

Sincerely,

Gavin

Dear All,

It is my bad that have uploaded the wrong .yaml file, so you have to update TensorFlow-macos and TensorFlow-metal to reproduce this issue. And for team members from Apple, the feedback ID is FB9691835.

Sincerely,

Gavin

Hi Gavin @hawkiyc,

Thank you for reporting an issue and proving the .yaml file, we appreciate that!

  1. Can you give it a try with the latest tensorflow-macos/tensorflow-metal packages as well as the latest macOS, please? Your issue can be due to version mismatches and highly likely can be resolved with the update.

  2. Will you be able to provide a sample code that crashes for you?

All the best!

The latest version of TensorFlow-macos and TensorFlow-metal cannot work at all
 
 
Q