Skip to content

Instantly share code, notes, and snippets.

@nanguoyu
Created February 17, 2023 11:56
Show Gist options
  • Save nanguoyu/846e071d1bae4f70bdd4d32f439ae85e to your computer and use it in GitHub Desktop.
Save nanguoyu/846e071d1bae4f70bdd4d32f439ae85e to your computer and use it in GitHub Desktop.
# Go to https://docs.conda.io/en/latest/miniconda.html and choose the suitable file link
wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.12.0-Linux-x86_64.sh
# install Miniconda
bash Miniconda3-py37_4.12.0-Linux-x86_64.sh
conda create -n env_name python=3.7
conda activate env_name
conda install pytorch==1.12.1 torchvision==0.13.1 torchaudio==0.12.1 cudatoolkit=11.3 -c pytorch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment