Has anyone been able to run Tensorflow > 2.15 with Tensorflow Metal 1.1.0 on M3? I tried several times but was not successful. Seems like development on TensorFlow Metal has paused?
Post
Replies
Boosts
Views
Activity
Hi,
I am running tensorflow-macos 2.11 and tensorflow-metal 0.7.0 on my Intel MacBook Pro. I noted that we needed to use tf.keras.optimizers.legacy.Adam because of the XLA changes in the TensorFlow code.
However, I get the following error:
2022-12-15 00:03:38.306 python[9202:427797] -[MPSGraph adamUpdateWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:gradientTensor:name:]: unrecognized selector sent to instance 0x60000f3adf80
When I change to tf.keras.optimizers.legacy.SGD it works.
Previously I was training on tensorflow-macos 2.10 and tensorflow-metal 0.6.0 and using tf.keras.optimizers.Adam works fine.
Looks like the Adam optimiser under tensorflow-metal 0.7.0 is not working?