본문 바로가기
기타

[ANACONDA] [PyTorch] [m1 mac]M1 mac에 PyTorch native 환경 구축하기

by Chandler.j 2022. 5. 18.
반응형

fig1. title

1. install homebrew

2. install miniforge

3. create pytorch environment


 

1. install homebrew

% /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2. install miniforge

% brew install cask
% brew install --cask miniforge
% conda init zsh

3. create pytorch environment

% conda create -n NAME_ENV python=3.8
% conda install -c pytorch torchvision

TOP

Designed by 티스토리