Post

Replies

Boosts

Views

Activity

MPSGraph adamUpdateWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:gradientTensor:name:]: unrecognized selector sent to instance 0x60000f3adf80
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?
4
0
928
Jan ’23
MPSGraph adamUpdateWithLearningRateTensor:beta1Tensor:beta2Tensor:epsilonTensor:beta1PowerTensor:beta2PowerTensor:valuesTensor:momentumTensor:velocityTensor:gradientTensor:name:]: unrecognized selector sent to instance 0x60000f3adf80
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?
Replies
4
Boosts
0
Views
928
Activity
Jan ’23
TensorFlow Metal 1.1.0 and TensorFlow > 2.15
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?
Replies
5
Boosts
0
Views
1.2k
Activity
Feb ’25