It seems to be solved with re-install for me :
pip uninstall tensorflow-macos
pip uninstall tensorflow-metal
python -m pip install tensorflow-macos
* Name: tensorflow-macos
* Version: 2.12.0
python -m pip install tensorflow-metal
* Name: tensorflow-metal
* Version: 0.8.0