-
Notifications
You must be signed in to change notification settings - Fork 0
Install Pytorch on server
elhava edited this page Jun 16, 2023
·
2 revisions
- Connect to "Robin" which is the Sunnybrook server
ssh <username>@142.76.1.189
- Connect to lab server "lin1" or "lin2"
ssh lin2
- download anaconda in your home directory: home/username (if you installed anaconda before ignore next three steps):
wget https://repo.continuum.io/archive/Anaconda3-2018.12-Linux-x86_64.sh
- check list of folders to ensure it is downloaded:
ls
- install anaconda:
bash Anaconda3-2018.12-Linux-x86_64.sh
it will ask if you want to install VScode. answer NO
- check if anaconda installed properly:
conda
- make your own virtual environment using a yml file: before running this command, you should first put the .yml file in your home/ directory using WinSCP software. If you use the .yml file that I provide teh name of the env will be 'pytorch'
conda env create -f pytorch.yml
- activate your env:
conda activate pytorch
Most of the libraries that you may need for machine learning analysis are already installed. However, you are always able install any other libraries.