Does anyone know how to install Horovod, tensorflow with MPI on Mac M1?

Does anyone know how to install Horovod, tensorflow with MPI on Mac?

I got as far as

brew install cmake
brew install open-mpi
brew install python@3.8
brew install libuv # for horovod
pip install mpi4py
/opt/homebrew/Cellar/python@3.8/3.8.16/bin/python3.8  -m venv ~/TF
source ~/TF/bin/activate
pip install --upgrade pip
pip install tensorflow-macos
HOROVOD_WITHOUT_MPI=1 HOROVOD_WITH_TENSORFLOW=1 pip install --no-cache-dir horovod

however, I get the error that he cpython mpi library can not be found when running horovod

i used in the previous script i used HOROVOD_WITH_TENSORFLOW=1 pip install --no-cache-dir horovod and still get the error at runtime

I have similar problem when I try to install it. mostly the problem comes with c++17. I don't know how to fix it.

Does anyone know how to install Horovod, tensorflow with MPI on Mac M1?
 
 
Q