Post

Replies

Boosts

Views

Activity

Reply to The new tensorflow-macos and tensorflow-metal incapacitate training
I have same problem. env: python 3.10.9 (also checked 3.8) tensorflow-macos 2.11.0 tensorflow-metal 0.7.0 Ive used tensorflow-macos==2.9 and tensorflow-metal ==0.5.0/0.5.1. Still same. First: If i use latest versions i receive on fit() method error: tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at xla_ops.cc:418 : NOT_FOUND: could not find registered platform with id: 0x16997a500 So i worked around with this: from tensorflow.keras.optimizers.legacy import Adam Now: fit() works, but somewhere in middle goes to deadlock CPU fitting works as intended.
Topic: Machine Learning & AI SubTopic: General Tags:
Jan ’23
Reply to Problem in fitting model with tensorflow.
Deppending on your tensorflow-macos and tensorflow-metal you can try import legacy optimizer from tensorflow.keras.optimizers.legacy import Adam and use it on model compile stage.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’23
Reply to Can't pip install tensorflow on macOS
You need not just tensorflow, but tensorflow-macos and also metal plugin. Checkout this resource click Also as i know last supported python version was 3.10
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23
Reply to The new tensorflow-macos and tensorflow-metal incapacitate training
I have same problem. env: python 3.10.9 (also checked 3.8) tensorflow-macos 2.11.0 tensorflow-metal 0.7.0 Ive used tensorflow-macos==2.9 and tensorflow-metal ==0.5.0/0.5.1. Still same. First: If i use latest versions i receive on fit() method error: tensorflow/core/framework/op_kernel.cc:1830] OP_REQUIRES failed at xla_ops.cc:418 : NOT_FOUND: could not find registered platform with id: 0x16997a500 So i worked around with this: from tensorflow.keras.optimizers.legacy import Adam Now: fit() works, but somewhere in middle goes to deadlock CPU fitting works as intended.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jan ’23