250x250
Notice
Recent Posts
«   2024/07   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
관리 메뉴

일상 코딩

[M1 mac / M1 맥] pytorch conda 가상환경 설정 본문

PyTorch/환경설정

[M1 mac / M1 맥] pytorch conda 가상환경 설정

polarcompass 2022. 1. 31. 20:26
728x90

M1 MacOS에서 python 3.6, 3.7 버전 가상환경 설정 방법은 아래 링크로 확인!

https://polarcompass.tistory.com/136?category=520069 

 

Miniconda3 Conda 가상환경 설치 및 설정

Mini Conda 설치 1. 파이썬 버전별 설치 파일 다운로드 링크 ● Linux https://docs.conda.io/en/latest/miniconda.html#linux-installers Miniconda — Conda documentation Miniconda is a free minimal install..

polarcompass.tistory.com

기준 도서 - 만들면서 배우는 파이토치 딥러닝 / 한빛미디어

python version : 3.6.13

PyTorch version : 1.0.0

TorchVision version : 0.2.1

OSX 기준

$ conda install pytorch==1.0.0 torchvision==0.2.1 -c pytorch

https://pytorch.kr/get-started/previous-versions/

 

파이토치 한국 사용자 모임 (PyTorch Korea User Group)

(Unofficial) Korean user community for PyTorch which is an open source machine learning framework that accelerates the path from research prototyping to production deployment.

pytorch.kr

 

Linux and Windows 기준

# CUDA 10.0
$ conda install pytorch==1.0.0 torchvision==0.2.1 cuda100 -c pytorch

# CUDA 9.0
$ conda install pytorch==1.0.0 torchvision==0.2.1 cuda90 -c pytorch

# CUDA 8.0
$ conda install pytorch==1.0.0 torchvision==0.2.1 cuda80 -c pytorch

# CPU Only
$ conda install pytorch-cpu==1.0.0 torchvision-cpu==0.2.1 cpuonly -c pytorch
728x90