I'm encountering the similar issue on Macbook M1 Pro 14“. Appreicate if anyone can guide to resolve or walk around it.
[Description]
I just ran the official Tensorflow single RNN example (feel free to get source code from https://www.tensorflow.org/text/tutorials/text_classification_rnn) on my Macbook M1 Pro 14“, the model fails to coverage.
However, I copied the totally same code to Google Colaboratory Cloud to run. The model could coverage well. It proves the RNN example code has no problem.
[Hardware]
Model Identifier: MacBookPro18,3
Chip: Apple M1 Pro
Total Number of Cores: 8 (6 performance and 2 efficiency)
Memory: 16 GB
System Firmware Version: 8419.60.44
OS Loader Version: 8419.60.44
[Software]
System Version: macOS 13.1 (22C65)
Kernel Version: Darwin 22.2.0
[Runtime Environment]
Anaconda: 23.3.1
Python: 3.9.17
tensorflow-metal: 1.0.1