zsh: illegal hardware instruction Run on MAC M2
Hi, @aim2002 

I'm not sure which instructions are you following but I'm able to install Tensorflow on `Apple M1 Pro` and it should work on `Mac M2` also so you can install Tensorlflow by using one of the `Conda`, `Miniconda` or `Miniforge` approach so I followed [Get started with tensorflow-metal](https://developer.apple.com/metal/tensorflow-plugin/) with `Miniconda3` instructions so could you please try with `arm64 : Apple silicon`

While following the instructions and after clicking on [Download Conda environment ](https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh) `Miniconda3-latest-MacOSX-arm64.sh` file will be downloaded and replace that `.sh` file with `miniconda.sh` in command `bash ~/miniconda.sh -b -p $HOME/miniconda `as shown below in first step 1. Set up and please follow all steps from `2. Install base TensorFlow` as it is :

```
bash ~/Miniconda3-latest-MacOSX-arm64.sh -b -p $HOME/miniconda
source ~/miniconda/bin/activate
conda install -c apple tensorflow-deps
```
You'll have to use this command `source ~/miniconda/bin/activate` whenever you want to use/activate `Miniconda` environment 

If you're looking to go with `Miniforge` approach then please refer this [Article](https://caffeinedev.medium.com/how-to-install-tensorflow-on-m1-mac-8e9b91d93706) and for [Miniconda-Article](https://medium.com/mlearning-ai/install-tensorflow-on-mac-m1-m2-with-gpu-support-c404c6cfb580) and also please refer [Releases-Table](https://developer.apple.com/metal/tensorflow-plugin/#:~:text=Releases-,tensorflow%2Dmacos,Distributed%20training,-Troubleshooting)

I have added screenshot for your reference below, 

![image](https://user-images.githubusercontent.com/115997457/218498891-4990a9fb-c2a0-4a8d-a46c-3f2bdf84cbd5.png)

If issue still persists, please let us know? or Could you please confirm if this issue is resolved for you ? Please feel free to close the issue if it is resolved ? Thank you!
 This issue has been automatically marked as stale because it has no recent activity. It will be closed if no further activity occurs. Thank you.
 Closing as stale. Please reopen if you'd like to work on this further.
 Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59663">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/59663">No</a>
 Mac mini M2. Used pip install tensorflow. 
As soon as I import tensorflow in my python script I am getting:
`zsh: illegal hardware instruction`

<details><summary>Click to expand!</summary> 
 
 ### Issue Type

Bug

### Have you reproduced the bug with TF nightly?

Yes

### Source

source

### Tensorflow Version

2.11.0

### Custom Code

Yes

### OS Platform and Distribution

13.1 (22C65)

### Mobile device

_No response_

### Python version

Python 3.9.12

### Bazel version

_No response_

### GCC/Compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current Behaviour?

```shell
A bug happened! Help me pleaseee
tensorboard                  2.11.2
tensorboard-data-server      0.6.1
tensorboard-plugin-wit       1.8.1
tensorflow                   2.11.0
tensorflow-estimator         2.11.0
tensorflow-io-gcs-filesystem 0.29.0
```


### Standalone code to reproduce the issue

```shell
zsh: illegal hardware instruction
```


### Relevant log output

_No response_</details>