How to install pytorch on an apple silicon m1 macbook.
Miniforge:
[ Ссылка ]
Make sure Python version = 3.8 in your conda environment
Pytorch 1.7.0 (Conda)
[ Ссылка ]
conda install pytorch==1.7.0 torchvision==0.8.0 torchaudio==0.7.0 -c pytorch
Kernel inside jupyter notebook:
python -m ipykernel install --user --name=pytorch_kernel_name
![](https://s2.save4k.ru/pic/pD_mKNeHwFs/maxresdefault.jpg)