Create m1_setup.sh

simple setup steps for M1 Apple GPU
This commit is contained in:
Smiril
2022-07-09 16:43:42 +02:00
committed by GitHub
parent 2043ee6e0b
commit ed033c24f6
+12
View File
@@ -0,0 +1,12 @@
!#/bin/bash
conda create -n torch-gpu python=3.9
conda activate torch-gpu
conda install pytorch torchvision torchaudio -c pytorch-nightly
conda install -c conda-forge jupyter jupyterlab
python3 -m pip install numpy
python3 -m pip install torch
python3 -m pip install image
python3 -m pip install timm
python3 -m pip install PlL
python3 m1_test.py