Anaconda + Pytorch

+

https://betterprogramming.pub/how-to-install-pytorch-on-apple-m1-series-512b3ad9bc6

Install Anaconda

  1. download from official site
  2. install
  3. Restart your terminal

Setup conda environment and install

Use pip pytorch official

$ conda create --name pytorch_m1 python=3.9  
$ conda activate pytorch_m1

$ pip install torch torchvision torchaudio

$ conda install -c conda-forge jupyter jupyterlab

Test