I had to reinstall all the TensorFlow libraries for MacOS in a new enviornment and now I am getting the following errors:
2023-09-28 10:33:11.488509: I metal_plugin/src/device/metal_device.cc:1154] Metal device set to: Apple M1 Pro
2023-09-28 10:33:11.489411: I metal_plugin/src/device/metal_device.cc:296] systemMemory: 16.00 GB
2023-09-28 10:33:11.489428: I metal_plugin/src/device/metal_device.cc:313] maxCacheSize: 5.33 GB
2023-09-28 10:33:11.489667: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:303] Could not identify NUMA node of platform GPU ID 0, defaulting to 0. Your kernel may not have been built with NUMA support.
2023-09-28 10:33:11.489697: I tensorflow/core/common_runtime/pluggable_device/pluggable_device_factory.cc:269] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 0 MB memory) → physical PluggableDevice (device: 0, name: METAL, pci bus id: )
Training a brand new model - [4, 47, 53, 60]-Long
2023-09-28 10:33:17.614372: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.
2023-09-28 10:33:17.622099: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.
Epoch 1/10
2023-09-28 10:33:18.796718: I tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.cc:114] Plugin optimizer for device_type GPU is enabled.
Also the training (fit) is extremely slow