public:support:labex-efl-gpu:lipn-a40

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
public:support:labex-efl-gpu:lipn-a40 [2023/07/11 14:23]
abedelkader
public:support:labex-efl-gpu:lipn-a40 [2023/07/11 14:44] (Version actuelle)
abedelkader [Installation of Pytorch library on the lipn-a40 server]
Ligne 2: Ligne 2:
 ===== Installation of Pytorch library on the lipn-a40 server ===== ===== Installation of Pytorch library on the lipn-a40 server =====
  
-**If you had an problems with th CUDA version : you should follow these steps:**+''** If you had an problems with th CUDA version : **''
  
-  - you should remove the your environment using this command : **rm -r miniconda3** +''** You should follow these steps:**''
  
-  - Then donwlaod the miniconda using this command : **wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh**+  - You should remove the your environment using this command : <blockquote>rm -r miniconda3</blockquote> 
  
 +  - Then downlaod the miniconda using this command : <blockquote>wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh</blockquote>
  
-  - 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 using this command : **chmod +x 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 : <blockquote>chmod +x Miniconda3-latest-Linux-x86_64.sh</blockquote>
  
-  - to launch your environement you have to use this command : **source .bashrc** or simply  **conda activate**  
  
 +  - To launch your environement you have to use this command : <blockquote>source ~/.bashrc</blockquote> or simply  <blockquote>conda activate</blockquote>
  
-  - For accessing the LIPN A40 GPUs you will use this command : **ssh lipn-gpus-a40** 
  
 +  - For accessing the LIPN A40 GPUs you will use this command : <blockquote>ssh lipn-gpus-a40</blockquote>
  
-  - FOr installing the right tirhc version with the CUDA version you will use this command : **pip3 install torch torchvision torchaudio** 
  
 +  - For installing the right tirhc version with the CUDA version you will use this command : <blockquote>pip3 install torch torchvision torchaudio</blockquote>
  
-  - For testing if you get the right acess for the GPUs use this command : **srun python3 gpu_test.py** + 
 +  - For testing if you get the right acess for the GPUs use this command : <blockquote>srun python3 gpu_test.py</blockquote> 
  
  
 **IT'S VERY IMPORTANT TO FOLLOW THESE STEPS IN THE RIGHT ORDER** **IT'S VERY IMPORTANT TO FOLLOW THESE STEPS IN THE RIGHT ORDER**
  • Dernière modification: il y a 2 ans