Différences
Ci-dessous, les différences entre deux révisions de la page.
| 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] admin | deeplearning: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' | ||
| - | |||
| - | 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:// | ||
| - | </ | ||
| - | <WRAP center round tip 60%> | ||
| - | Notice that we prepend the original URL with < | ||
| - | </ | ||
| - | |||
| - | This will download and build singularity image named '' | ||
| - | |||
| - | We can spawn an interactive shell within a container with the '' | ||
| - | |||
| - | <code bash> | ||
| - | $ singularity shell --nv tensorflow-gpu.simg | ||
| - | </ | ||
| - | <WRAP center round important 60%> | ||
| - | The parameter '' | ||
| - | </ | ||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||
| - | |||