Tensorflow distributes training throws exception on mac m2 #62859
Labels
comp:dist-strat
Distribution Strategy related issues
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
TF 2.15
For issues related to 2.15.x
type:bug
Bug
Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.15
Custom code
Yes
OS platform and distribution
Mac OS 14.2.1
Mobile device
No response
Python version
3.11.6
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
I am trying to run distributed training using
tf.distribute.experimental.MultiWorkerMirroredStrategy()
on two Mac M2 machines. However, training does not start on the GPU, and the code throws the attached exception.The distributed training works fine if I use CPU only.
I have installed the latest
tensorflow-metal 1.1.0
.Is
MultiWorkerMirroredStrategy
supported on Mac M2?Standalone code to reproduce the issue
Relevant log output
The text was updated successfully, but these errors were encountered: