Theano

From ScientificComputing
Jump to: navigation, search

Category

Python, library, machine learning

Description

Theano is a Python library that allows you to define, optimize, and evaluate mathematical expressions involving multi-dimensional arrays efficiently.

Available versions (Euler, old software stack)

Legacy versions Supported versions New versions
0.8.2, 0.9.0, 1.0.4

Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.

Environment modules (Euler, old software stack)

Version Module load command Additional modules loaded automatically
0.8.2 module load new gcc/4.8.2 python/2.7.12 openblas/0.2.13_seq
0.8.2 module load new gcc/4.8.2 python/3.4.3 openblas/0.2.13_seq
0.8.2 module load new gcc/4.8.2 python/3.6.0 openblas/0.2.13_seq sqlite/3.15.0
0.9.0 module load new gcc/4.8.2 python/2.7.6 openblas/0.2.13_seq
0.9.0 module load new gcc/4.8.2 python/2.7.13 openblas/0.2.13_seq sqlite/3.15.0
0.9.0 module load new gcc/4.8.2 python/2.7.14 openblas/0.2.13_seq
0.9.0 module load new gcc/4.8.2 python/3.6.1 openblas/0.2.13_seq
1.0.4 module load new gcc/4.8.2 python/3.7.1 openblas/0.2.13_seq

Please note that this page refers to installations from the old software stack. There are two software stacks on Euler. Newer versions of software are found in the new software stack.

Interactive session

You can start an interactive Theano session on the login nodes by loading the corresponding modules and starting the Python interpreter.
[sfux@eu-login-09 ~]$ module load new gcc/4.8.2 python/2.7.12
[sfux@eu-login-09 ~]$ python
Python 2.7.12 (default, Nov  2 2016, 13:46:00) 
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import theano
>>> theano.__version__
'0.8.2'
>>>
Please note that you should use interactive sessions only for very short test that do not use a lot of CPU capacity. You have to submit all other computations as a batch job.

How to submit a job

Theano is a Python package. Please check Python page for information about how to submit a Python batch job.

License information

Theano license

Links

http://deeplearning.net/software/theano

https://github.com/Theano/Theano
https://en.wikipedia.org/wiki/Theano_(software)
https://pypi.python.org/pypi/Theano
http://machinelearningmastery.com/introduction-python-deep-learning-library-theano