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
deeplearning:singularity3 [2018/12/17 14:30] – [Using Singularity with Docker containers] admindeeplearning:singularity3 [2019/01/29 15:45] (Version actuelle) – supprimée admin
Ligne 1: Ligne 1:
-====== Using Singularity for Deep-learning  ====== 
- 
-===== Overview ===== 
-Singularity is a container solution that promotes reproducible science by giving researchers the ability to run their scientific applications and workflows in a variety of different Linux-based operating system (OS) environments. 
- 
-===== Using Singularity with Docker containers ===== 
-We can use Singularity's ''pull'' sub-command to import a container image directly from [[https://hub.docker.com|Docker Hub]]  without having root or superuser privileges (or Docker) on your host system. 
- 
-For example, to use Singularity to import the image of the latest Tensorflow (GPU version) into the present working directory.   
- 
-<code bash> 
-$ singularity pull tensorflow-gpu.simg docker://tensorflow/tensorflow:latest-gpu 
-</code> 
-<WRAP center round tip 60%> 
-Notice that we  prepend the original URL with <code>docker://</code> prefix. 
-</WRAP> 
- 
-This will download and build singularity image named ''tensorflow-gpu.simg'' 
- 
-We can spawn an interactive shell within a container with the ''shell'' sub-command. 
- 
-<code bash> 
-$ singularity shell --nv tensorflow-gpu.simg 
-</code> 
-<WRAP center round important 60%> 
-The parameter ''--nv'' is mandatory for GPU applications.   
-</WRAP> 
- 
-  
- 
- 
- 
- 
  
  • deeplearning/singularity3.1545057040.txt.gz
  • Dernière modification : 2018/12/17 14:30
  • de admin