Customize your sidekit via environment variables

SIDEKIT might use LIBSVM, Theno or MPI depending on how and what you intend to do. Here is how to enable/disable the import of the dedicated module to allow running SIDEKIT without thoes libraries.

The SIDEKIT environment variable

When importing SIDEKIT, it will check the value of an enironment variable called SIDEKIT. By default, this variable is set to:

SIDEKIT=”theano=true,theano_config=gpu,libsvm=true,mpi=false”
Thus:
  • Theano will be imported and set to use GPU card if available
  • LIBSVM will be imported to if the proper library has been compiled for this specific machine
  • MPI parallel computation will be disable

How to cut the dependency to Theano?

Set your environment variable to SIDEKIT="theano=false" Thus when importing, SIDEKIT will not import Theano.

How to switch Theano to CPU mode?

Set your environment variable to SIDEKIT="theano=true,theano_config=cpu"

How to disable LIBSVM?

Set your environment variable to SIDEKIT="libsvm=false"

How to enable MPI parallel computing?

Set your environment variable to SIDEKIT="mpi=true"