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 | ||
| tensorflow [2018/06/15 11:33] – [GPU version] admin | tensorflow [2019/01/29 14:34] (Version actuelle) – admin | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== TensorFlow ====== | ====== TensorFlow ====== | ||
| + | <note warning> | ||
| TensorFlow™ is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. | TensorFlow™ is an open source software library for numerical computation using data flow graphs. Nodes in the graph represent mathematical operations, while the graph edges represent the multidimensional data arrays (tensors) communicated between them. | ||
| Ligne 9: | Ligne 9: | ||
| TensorFlow **1.x** is available within [[singularity| Singularity container]] | TensorFlow **1.x** is available within [[singularity| Singularity container]] | ||
| + | |||
| + | ====== How to install custom python package | ||
| + | Singularity images are read only. But on can install custom python package outside the container. The packages will be installed in the HOME directory. | ||
| + | |||
| + | Say we want to install '' | ||
| + | |||
| + | We use '' | ||
| + | |||
| + | Load singularity | ||
| + | <code bash> | ||
| + | $ export LC_ALL=C | ||
| + | $ module load tools/ | ||
| + | </ | ||
| + | Install | ||
| + | <code bash> | ||
| + | $ singularity exec / | ||
| + | </ | ||
| + | Check installation | ||
| + | <code bash> | ||
| + | $ singularity exec / | ||
| + | Python 2.7.12 (default, Dec 4 2017, 14: | ||
| + | [GCC 5.4.0 20160609] on linux2 | ||
| + | Type " | ||
| + | >>> | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| ===== GPU version ===== | ===== GPU version ===== | ||
| Ligne 26: | Ligne 54: | ||
| #$ -q tesla.q | #$ -q tesla.q | ||
| - | #$ -l h_vmem=48G | + | #$ -l h_vmem=48G |
| Ligne 40: | Ligne 68: | ||
| </ | </ | ||
| + | <note warning> | ||