LIPN A40 server documentation
Installation of Pytorch library on the lipn-a40 server
If you had an problems with th CUDA version :
You should follow these steps:
- You should remove the your environment using this command :
rm -r miniconda3
- Then downlaod the miniconda using this command :
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
- To install the miniconda , you willl have to change the permissions, since you are not a admin ( and you are not :) ) using this command you will add the the executable permission to your file using this command :
chmod +x Miniconda3-latest-Linux-x86_64.sh
- To launch your environement you have to use this command :
source ~/.bashrc
or simply
conda activate
- For accessing the LIPN A40 GPUs you will use this command :
ssh lipn-gpus-a40
- For installing the right tirhc version with the CUDA version you will use this command :
pip3 install torch torchvision torchaudio
- For testing if you get the right acess for the GPUs use this command :
srun python3 gpu_test.py
IT'S VERY IMPORTANT TO FOLLOW THESE STEPS IN THE RIGHT ORDER