I'm having the same problem. MBP 2019 AMD Radeon Pro 5500M 8GB. I checked all of the following combinations, and none works:
tensorflow-macos==2.12.0
tensorflow-metal==0.8.0
tensorflow==2.12.0
tensorflow-metal==0.8.0
tensorflow-macos==2.12.0
tensorflow-metal==1.0.0
tensorflow==2.13.0
tensorflow-metal==1.0.0
as described here https://pypi.org/project/tensorflow-metal/