Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
doku:deep_learning [2020/04/23 08:11] – created ir | doku:deep_learning [2020/04/24 10:37] (current) – [Deep Learning (DL)] ir | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Deep Learning ====== | + | ====== Deep Learning |
+ | |||
+ | |||
+ | ===== DL and DataLAB community ===== | ||
+ | |||
+ | The [[https:// | ||
+ | moderated special interest groups in the field of DL. | ||
+ | |||
+ | ===== DL modules on VSC-3 ===== | ||
+ | |||
+ | ==== Tensorflow ==== | ||
+ | Typically on some GPU node, | ||
+ | < | ||
+ | [someone@n372-003 ~]$ module purge | ||
+ | [someone@n372-003 ~]$ module load gcc/5.3 mpioff/1.0 bazel/ | ||
+ | </ | ||
+ | |||
+ | ==== Keras ==== | ||
+ | Typically on some GPU node, | ||
+ | < | ||
+ | [someone@n372-003 ~]$ module purge | ||
+ | [someone@n372-003 ~]$ module load gcc/5.3 mpioff/1.0 bazel/ | ||
+ | </ | ||
+ | |||
+ | ==== Pytorch ==== | ||
+ | Typically on some GPU node, | ||
+ | < | ||
+ | [someone@n372-003 ~]$ module purge | ||
+ | [someone@n372-003 ~]$ module load gcc/5.3 cuda/9.1.85 intel-mkl/ | ||
+ | </ | ||
+ | |||
+ | ==== Theano ==== | ||
+ | Typically on some GPU node, | ||
+ | < | ||
+ | [someone@n372-003 ~]$ module purge | ||
+ | [someone@n372-003 ~]$ module load gcc/5.3 cuda/9.1.85 intel-mkl/ | ||
+ | [someone@n372-003 ~]$ export MKL_THREADING_LAYER=GNU | ||
+ | [someone@n372-003 ~]$ THEANO_FLAGS=device=cuda, | ||
+ | </ | ||
+ | |||
+ | Many users nowadays prefer conda-based installs of DL software. For example on some GPU node, | ||
+ | < | ||
+ | [someone@n372-003 ~]$ module purge | ||
+ | [someone@n372-003 ~]$ module load anaconda3/ | ||
+ | [someone@n372-003 ~]$ module show anaconda3/ | ||
+ | [someone@n372-003 ~]$ source / | ||
+ | [someone@n372-003 ~]$ conda activate base | ||
+ | (base) [someone@n372-003 ~]$ conda list ( just to see what packages are currently around ) | ||
+ | (base) [someone@n372-003 ~]$ conda search tensorflow | ||
+ | (base) [someone@n372-003 ~]$ conda create -n mytf " | ||
+ | | ||
+ | (base) [someone@n372-003 ~]$ conda deactivate | ||
+ | [someone@n372-003 ~]$ conda info --envs | ||
+ | --> mytf / | ||
+ | [someone@n372-003 ~]$ conda activate mytf | ||
+ | (mytf) [someone@n372-003 ~]$ python | ||
+ | Python 3.7.blablabla | ||
+ | >>> | ||
+ | >>> | ||
+ | >>> | ||
+ | >>> | ||
+ | >>> | ||
+ | (mytf) [someone@n372-003 ~]$ conda deactivate | ||
+ | </ | ||
+ | |||
+ | |||
- | under construction |